|
4. Çϵåµð½ºÅ© Ãß°¡Çϱâ
Çϵåµð½ºÅ©ÀÇ ºÎÁ·À¸·Î »õ·Î¿î Çϵåµð½ºÅ©¸¦ Ãß°¡ÇÏ°íÀÚ ÇÒ °æ¿ì ´ÙÀ½°ú °°Àº ¼ø¼¿¡ µû¶ó Ãß°¡ÇÑ´Ù.
1) ½Ã½ºÅÛÀ» Á¤Áö½ÃÅ°°í SCSI ÄÉÀÌºí µî ¹°¸®Àû ¿¬°æÀ» ÇÑ ÈÄ PROM ¸ðµåÀÇ ok ÇÁ·ÒÇÁÆ®¿¡¼ ½Ã½ºÅÛ¿¡¼ »õ·Î Ãß°¡ÇÑ µð½ºÅ© µð¹ÙÀ̽º¸¦ ÀνÄÇÏ°í ÀÖ´ÂÁö probe-scsi ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© È®ÀÎÇÑ´Ù.
Ok probe-scsi
Target 1
Unit 0 Disk SEAGATE ST1480 SUN04246266 Copyright © 1991 Seagate
All rights reserved
Target 0
Unit 0 Disk SEAGATE ST1480 SUN04245826 Copyright © 1991 Seagate
All rights reserved
ok
2) µð½ºÅ© µð¹ÙÀ̽º¸¦ ½Ã½ºÅÛ¿¡¼ ÀνÄÇß´Ù¸é boot-r ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© ½Ã½ºÅÛÀ» ºÎÆÃÇÑ´Ù
ok> boot -r
* ÁÖÀÇ: µð½ºÆ® µð¹ÙÀ̽º¸¦ ½Ã½ºÅÛ¿¡¼ ÀνÄÇÏÁö ¸øÇß´Ù¸é physicalÇÑ ¿¬°á ºÎºÐÀ̳ª SCSI ID, ±×¸®°í ¿ÜÀå ¹Ú½º¸¦ »ç¿ëÇÏ°í ÀÖ´Ù¸é ¿ÜÀå ¹Ú½ºÀÇ Àü¿ø µîÀ» È®ÀÎ ÇÑ´Ù.
3) super-user(root)·Î ·Î±×ÀÎÇÑ ÈÄ Æ÷¸Ë À¯Æ¿¸®Æ¼¸¦ ÀÌ¿ëÇÏ¿© µð½ºÅ© ÆÄƼ¼ÇÀ» ³ª´«´Ù.
4) newfs ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© »õ·Î¿î ÆÄÀÏ ½Ã½ºÅÛÀ» »ý¼ºÇÑ´Ù
# newfs /dev/dsk/c0t1d0s6
newfs: construct a new file system /dev/rdsk/c0t1d0s6: (y/n)? Y
/dev/rdsk/c0t1d0s6: 725760 sectors in 720 cylinders of 14 tracks. 72
sectors
354.4MB in 45 cyl groups (16 c/g, 7.88MB/g, 3776 i/g)
super-block backups (for fsck –F ufs –o b=#) at:
32, 16240, 32448, 48656, 64864, 81072, 97280, 113488, 129696, 145904,
162112,
178320, 194528, 210736, 226944, 243152, 258080, 274288, 290496, 306704,
322912, 339120, 355328, 371536, 387744, 403952, 420160, 436368, 452576,
468784, 484992, 501200, 516128, 532336, 548544, 564752, 580960, 597168,
613376, 629584, 645792, 662000, 678208, 694416, 710624,
#
5) ¾î´À µð·ºÅ丮·Î »õ·Î¿î µð½ºÅ©ÀÇ ÆÄƼ¼ÇÀ» ¸¶¿îÆ®ÇÒ °ÍÀÎÁö °áÁ¤ÇÏ°í mkdir¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© mount point¸¦ »ý¼ºÇÑ´Ù
# mkdir /dataA
6) mount ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© mount point·Î »õ·Ó°Ô ÆÄƼ¼ÇÇÑ µð½ºÅ©¸¦ ¸¶¿îÆ®ÇÑ´Ù.
# mount –F ufs /dev/dsk/c0t1d0s6 /dataA
7) df ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© »õ·Î¿î ÆÄÀÏ ½Ã½ºÅÛÀÌ Ãß°¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÑ´Ù
8) ½Ã½ºÅÛÀÌ ºÎÆÃÇÒ ¶§¸¶´Ù »õ·Î¿î µð½ºÅ©¸¦ ¸¶¿îÆ®Çϵµ·Ï Çϱâ À§ÇØ /etc/vfstab ÆÄÀÏÀ» Ãß°¡ÇÑ´Ù
#device device mount FS fsck mount mount
#to mount to fsck .point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes –
fd - /dev/fd fd – no -
/proc - /proc proc – no –
/dev/dsk/c0t0d0s1 - - swap – no –
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no –
/dev/dsk/c0t0d0s7 /dev/fdsk/c0t0d0s7 /export/home ufs 2 yes –
swap - /tmp tmpfs – yes –
/dev/dsk/c0t1d0s6 /dev/rdsk/c0t1d0s6 /dataA ufs 2 yes-
|