|
µð½ºÅ©...½½¶óÀ̽º....Æ÷¸ä...
¸ÕÀú µð½ºÅ© ¶óº§°ú ÆÄƼ¼Ç¿¡ ´ëÇؼ ¾ß±×ÇÏ°Ú½À´Ï´Ù..
¼Ö¶ó¸®½ºÀÇ ¸ðµç µð½ºÅ©´Â µð½ºÅ©ÀÇ ÄÁÆ®·Ñ·¯, ¼½ÅÍ, Æ®·¢, ½Ç¸°´õ, ½½¶óÀ̽º¿¡ °üÇÑ Á¤º¸¸¦
ÀúÀåÇϱâ À§ÇÑ Æ¯º°ÇÑ ¿µ¿ªÀ» °¡Áö°í ÀÖ½À´Ï´Ù.
ÀÌ·¯ÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Â °ÍÀ» Disk Label ¶Ç´Â VTOC(Volume Table Of Conterts)¶ó°í ÇÕ´Ï´Ù..
ÀÌ Á¤º¸´Â µð½ºÅ©ÀÇ Ã¹¹ø° ¼½ÅÍ¿¡ ÀúÀåµË´Ï´Ù..
ÀÏ´Ü ¶óº§À» ±â·ÏÇÑ´Ù´Â Àǹ̴ ½½¶óÀ̽ºÀÇ Á¤º¸¸¦ µð½ºÅ©¿¡ ±â·ÏÇÑ´Ù´Â °ÍÀÔ´Ï´Ù..
À©µµ¿ì »ç¿ëÀÚ³ª..¸®´ª½º »ç¿ëÀÚ°¡ Á¶±Ý È¥µ¿ÇÏ´Â Àǹ̸¦ °¡Áø °ÍÀº ½½¶óÀ̽ºÀÔ´Ï´Ù...
ÀÌ°ÍÀº ³ª´©¾îÁø ÆÄƼ¼Ç³»ÀÇ ÇÑ ºÎºÐÀ» ÀǹÌÇÕ´Ï´Ù...¸Ó..¾îÄɺ¸¸é ÆÄƼ¼ÇÀ̳ª ±×°Ô ±×°Å±ä ÇÏÁö¸¸¿ä..ÇæÇæ~
Áï, ÇϳªÀÇ ÆÄƼ¼Ç¿¡ ¶Ç ´Ù¸¥ °æ°è¼±À» ±ß´Â´Ù´Â ÀǹÌÀÔ´Ï´Ù...
º¸Åë ¼Ö¶ó¸®½º ¼³Ä¡½Ã¿¡ ±âº»ÀûÀ¸·Î 5°³·Î ³ª´µ´Â °ÍÀ» º¼ ¼ö ÀÖ½À´Ï´Ù...
/(root) : rootÆÄÀÏ ½Ã½ºÅÛ
swap : °¡»ó ¸Þ¸ð¸® °ø°£
/opt : Ãß°¡ÀûÀÎ ¼ÒÇÁÆ®¿þ¾î ¼³Ä¡½Ã »ç¿ë
/usr : osÀÇ ¸í·É¾îµé°ú ÇÁ·Î±×·¥
/export/home : »ç¿ëÀÚÀÇ ÆÄÀÏ°ú µð·ºÅ丮
ÆÄƼ¼Ç Å×À̺íÀ» »ìÆ캸´Â °ÍÀº format À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇÕ´Ï´Ù..
======================================================================
====================================================
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
Specify disk (enter its number): 0 -- 0À» ÀÔ·Â
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
! - execute , then return
quit
format> partition -- partition ÀÔ·Â
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
! - execute , then return
quit
partition> p -- p ÀÔ·Â
Current partition table (original):
Total disk cylinders available: 11609 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1044 - 4099 1.47GB (3056/0/0) 3080448
1 swap wu 3 - 1043 512.37MB (1041/0/0) 1049328
2 backup wm 0 - 11609 5.58GB (11610/0/0) 11702880
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 4100 - 11608 3.61GB (7509/0/0) 7569072
8 boot wu 0 - 0 0.49MB (1/0/0) 1008
9 alternates wu 1 - 2 0.98MB (2/0/0) 2016
partition> quit
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
! - execute , then return
quit
format> quit
#
======================================================================
====================================================
ÆÄƼ¼Ç Å×ÀÌºí¿¡ ´ëÇÑ °¢ ÇʵåÀÇ Àǹ̴ ´ÙÀ½°ú °°½À´Ï´Ù..
Part : ½½¶óÀ̽º ¹øÈ£ (0~7)
Tag : ½½¶óÀ̽º°¡ »ç¿ëµÇ°í ÀÖ´Â ¹æ¹ýÀ» °¡¸£Å°±â À§ÇØ »ç¿ëµÇ´Â °ª
Flag : wm : ¾²±â/¸¶¿îÆ® ÇÒ ¼ö ÀÖ´Ù.
: wu : ¾²±â°¡´É ¸¶¿îÆ®´Â ÇÒ¼ö ¾ø´Ù.(½º¿Ò¿µ¿ªÀÇ ±âº»»óÅÂ)
: rm : read_only/¸¶¿îÆ®
Cylinders : µð½ºÅ© ½½¶óÀ̽º´Ì óÀ½°ú ³¡ÀÇ ¹øÈ£
Size : ½½¶óÀ̽º Å©±â
Blocks : ½Ç¸°´õÀÇ Total number ¿Í ½½¶óÀ̽º´ç ¼½ÅÍÀÇ total nubmer
ÀÏ´Ü Æ÷¸ä À¯Æ¿¸®Æ¼¸¦ ¼öÇàÇÏ¿´´Ù¸é ¼Ö¶ó¸®½º´Â /etc/format.dat ÆÄÀÏ¿¡¼ Á¤º¸¸¦ ÀÐ¾î¼ ¼öÇàÇÕ´Ï´Ù..
======================================================================
====================================================
# more /etc/format.dat
#
#pragma ident "@(#)format.dat 1.23 00/06/03 SMI"
#
# Copyright (c) 1991-2000 by Sun Microsystems, Inc.
# All rights reserved.
#
# Data file for the 'format' program. This file defines the known
# disks, disk types, and partition maps.
#
#
# This is the list of supported disks for the Emulex MD21 controller.
#
disk_type = "Micropolis 1355" \
: ctlr = MD21 \
: ncyl = 1018 : acyl = 2 : pcyl = 1024 : nhead = 8 : nsect = 34 \
: rpm = 3600 : bpt = 20832
disk_type = "Toshiba MK 156F" \
: ctlr = MD21 \
: ncyl = 815 : acyl = 2 : pcyl = 830 : nhead = 10 : nsect = 34 \
: rpm = 3600 : bpt = 20832
disk_type = "Micropolis 1558" \
: ctlr = MD21 \
: ncyl = 1218 : acyl = 2 : pcyl = 1224 : nhead = 15 : nsect = 35 \
: rpm = 3600 : bpt = 20833
#
# Following is a list of sample embedded SCSI disk configurations.
#
disk_type = "Quantum ProDrive 80S" \
: ctlr = SCSI : fmt_time = 1 \
: cache = 0x07 : trks_zone = 6 : atrks = 0 : asect = 1 \
: ncyl = 832 : acyl = 2 : pcyl = 834 : nhead = 6 : nsect = 34 \
: rpm = 3662 : bpt = 16896
#disk_type = "CDC Wren VII 94601-12G" \
# : ctlr = SCSI : fmt_time = 4 \
# : cache = 0x11 : trks_zone = 15 : asect = 5 : atrks = 30 \
# : ncyl = 1703 : acyl = 2 : pcyl = 1931 : nhead = 15 : nsect = 80 \
# : rpm = 3597 : bpt = 41301
#
# An early CDC Wren IV, shipped with the 386i
#
#disk_type = "CDC Wren IV 94171-327" \
# : ctlr = SCSI : fmt_time = 4 \
# : cache = 0x11 : trks_zone = 9 : asect = 3 \
# : ncyl = 1520 : acyl = 2 : pcyl = 1549 : nhead = 9 : nsect = 46 \
# : rpm = 3600 : bpt = 20833
< Áß°£ »ý·« >
======================================================================
====================================================
ÀÌÁ¦ Æ÷¸ä À¯Æ¿¸®Æ¼¸¦ ÀÌ¿ëÇÏ´Â ¹æ¹ýÀ» »ìÆ캸°Ú½À´Ï´Ù...
ÀÏ´Ü Æ÷¸ä À¯Æ¿¸®Æ¼´Â rootÀ¯Àú¸¸ ¼öÇà °¡´ÉÇϱ¸¿©...
ÂÁ...Àú´Â ´õÀÌ»ó ³ª´ ÆÄƼ¼ÇÀÌ ¾ø¾î¼¸®.....
======================================================================
====================================================
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
Specify disk (enter its number): 0
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
! - execute , then return
quit
format> partition
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
! - execute , then return
quit
partition> print
Current partition table (original):
Total disk cylinders available: 11609 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1044 - 4099 1.47GB (3056/0/0) 3080448
1 swap wu 3 - 1043 512.37MB (1041/0/0) 1049328
2 backup wm 0 - 11609 5.58GB (11610/0/0) 11702880
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 4100 - 11608 3.61GB (7509/0/0) 7569072
8 boot wu 0 - 0 0.49MB (1/0/0) 1008
9 alternates wu 1 - 2 0.98MB (2/0/0) 2016
partition> 5
Part Tag Flag Cylinders Size Blocks
5 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]: ?
Expecting one of the following: (abbreviations ok):
unassigned boot root swap
usr backup stand var
home alternates
Enter partition id tag[unassigned]: var
Enter partition permission flags[wm]: ?
Expecting one of the following: (abbreviations ok): -- ±âº»°ªÀº wmÀÔ´Ï´Ù..
wm - read-write, mountable
wu - read-write, unmountable
rm - read-only, mountable
ru - read-only, unmountable -- Àú´Â ¿©±â±îÁö¸¸ Çß½¿´Ù..ÇæÇæ~
Enter new starting cyl[0]: -- ¿©±â¿¡ ½Ç¸°´õÀÇ ½ÃÀÛÀ» ÀÔ·ÂÇÕ´Ï´Ù...[] ¾È¿¡ ÀÖ´Â °ÍÀº ±âº»°ª
Enter partition size[0b, 0c, 0mb, 0gb]: -- »õ·Î¿î ÆÄƼ¼ÇÀÇ Å©±â¸¦ ÀÔ·ÂÇÕ´Ï´Ù..¸¸¾à $À» ÀÔ·ÂÇÏ¸é ³ª¸ÓÁö ³²Àº ÆÄƼ¼ÇÀÇ ¸ðµç Å©±â°¡ ÀâÈü´Ï´Ù..
partition> ¤Ó -- ÆÄƼ¼Ç Å×À̺íÀ» print¸¦ ÅëÇؼ Á¡°ËÈÄ ¿¡·¯°¡ ¾øÀ¸¸é ¶óº§À» ±â·ÏÇÕ´Ï´Ù..
Ready to label disk, continue? y
======================================================================
====================================================
ÆÄƼ¼Ç Å×À̺íÀ» /etc/format.dat ÆÄÀÏ¿¡ ÀúÀåÇØ µÎ´Â °Íµµ È¿À²ÀûÀÔ´Ï´Ù..
³ªÁß¿¡ ´Ù¸¥ µð½ºÅ©ÀÇ ½½¶óÀ̽º¸¦ ÇöÀç ±¸¼ºÇÑ ³»¿ëÀ¸·Î ´Ù½Ã »ç¿ëÇÒ ¼ö Àֱ⠶§¹®ÀÔ´Ï´Ù..
´ÙÀ½Àº ±× °úÁ¤ÀÔ´Ï´Ù..
======================================================================
====================================================
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
Specify disk (enter its number): 0
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
! - execute , then return
quit
format> partition
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
! - execute , then return
quit
partition> name
Enter table name (remember quotes): yasicom_2001_11_29
partition> quit
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
! - execute , then return
quit
format> save
Saving new disk and partition definitions
Enter file name["./format.dat"]: /etc/format.dat
======================================================================
====================================================
´ÙÀ½Àº ÆÄƼ¼Ç »çÀÌÁîÀÇ º¯°æÀ» Çغ¸°Ú½À´Ï´Ù..¿ª½Ã Æ÷¸ä À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇÕ´Ï´Ù..
======================================================================
====================================================
partition> modify -- ¾ÏÆ°...modify¸¦ »ç¿ëÇؼ ÆÄƼ¼Ç Å©±â¸¦ º¯°æÇÔ´Ï´Ù..
Cannot modify disk partitions while it has mounted partitions. -- ¶· ......¤Ñ¤Ñ; Çغ¼ µµ¸®°¡ ¾ø½¿´Ù...µð½ºÅ©¸¦ Çϳª ´õ ´Þ±¸ ½Í¾îµµ µ·ÀÌ...
--¸¶Áö¸·¿¡ ÁøÇàÇÏ´Ù º¸¸é Free Hog PartitionÀ̶õ°Ô ³ª¿À´Âµ¥...ÀÌ°ÍÀº ´Ù¸¥ ÆÄƼ¼ÇÀÇ »çÀÌÁî°¡ º¯°æµÊ¿¡ µû¶ó µð½ºÅ© ¿µ¿ªÀÌ
--ÀÚµ¿ È®Àå/Ãà¼ÒµÇ´Â ÆÄƼ¼ÇÀ» ÀǹÌÇÕ´Ï´Ù..
-- ¸¶Áö¸· Àü´Ü°è¿¡¼´Â »õ·Î¿î ÆÄƼ¼Ç Å×À̺íÀÇ À̸§À» ÀÔ·ÂÇϱ¸¿©...±×´ã¿¡ ¶óº§±â·ÏÈÄ Æ÷¸ä ¸Þ´º¸¦ ºüÁ®³ª¿À¸é µË´Ï´Ù..
format> verify -- µð½ºÅ©ÀÇ VTOCÀÇ Á¤º¸º¸±â...
Primary label contents:
Volume name = < >
ascii name =
pcyl = 11611
ncyl = 11609
acyl = 2
bcyl = 0
nhead = 16
nsect = 63
Part Tag Flag Cylinders Size Blocks
0 root wm 1044 - 4099 1.47GB (3056/0/0) 3080448
1 swap wu 3 - 1043 512.37MB (1041/0/0) 1049328
2 backup wm 0 - 11609 5.58GB (11610/0/0) 11702880
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 4100 - 11608 3.61GB (7509/0/0) 7569072
8 boot wu 0 - 0 0.49MB (1/0/0) 1008
9 alternates wu 1 - 2 0.98MB (2/0/0) 2016
format> prtvtoc /dev/rdsk/c0t0d0s0 -- µð½ºÅ©ÀÇ VTOCÀÇ Á¤º¸º¸±â2...
`prtvtoc' is not expected.
======================================================================
====================================================
µð½ºÅ© Æ÷¸äÀº ´ÙÀ½°ú °°ÀÌÇÏ¸é µË´Ï´Ù..
format> format
°£´ÜÇÏÁÒ?
¸¶Áö¸·À¸·Î Çϵåµð½ºÅ© Ãß°¡ÇÏ´Â ¹æ¹ýÀ» »ìÆ캸°Ú½À´Ï´Ù..
¸ÕÀú ½Ã½ºÅÛÀ» Á¤Áö½ÃŲÈÄ µð½ºÅ©¸¦ ¿¬°áÇÕ´Ï´Ù...¿ÜÀåÇüÀÎ °æ¿ì´Â ¿ÜÀå¹Ú½ºÀÇ Àü¿øµîÀ» ÄÕ´Ï´Ù...
±×´ã¿¡ newfs ¸í·ÉÀ» ÀÌ¿ëÇؼ /dev/dsk/c0t1d0s6ÀÇ ½ÄÀ¸·Î »õ·Î¿î ÆÄÀϽýºÅÛÀ» »ý¼ºÇÕ´Ï´Ù..
(¿¹: newfs /dev/dsk/c0t1d0s6)
¾î´À µð·ºÅ丮·Î »õ·Î¿î µð½ºÅ©ÀÇ ÆÄƼ¼ÇÀ» ¸¶¿îÆ® ÇÒ°ÍÀÎÁö °áÁ¤ÇÏ°í mkdir ¸í·ÉÀ¸·Î mount point¸¦ »ý¼ºÇÕ´Ï´Ù..
(¿¹: # mkdir /dataA)
mount¸í·ÉÀ¸·Î »õ·Î¿î µð½ºÅ©¸¦ ¸¶¿îÆ®ÇÕ´Ï´Ù...
(¿¹: # mount -F ufs /dev/dsk/c0t1d0s6 /dataA)
df-k ¸í·ÉÀ¸·Î È®ÀÎÇÕ´Ï´Ù...
½Ã½ºÅÛÀÌ ºÎÆýø¶´Ù »õ·Î¿î µð½ºÅ©¸¦ ¸¶¿îÆ®Çϵµ·Ï Çϱâ À§Çؼ /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/c0d0s1 - - swap - no -
/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 / ufs 1 no -
/dev/dsk/c0d0p0:boot - /boot pcfs - no -
/dev/dsk/c0d0s7 /dev/rdsk/c0d0s7 /export/home ufs 2 yes -
swap - /tmp tmpfs - yes -
/dev/dsk/c0t1d0s6 /dev/rdsk/c0t1d0s6 /dataA ufs 2 yes- -- Ãß°¡½ÃŲ´Ù...
======================================================================
====================================================
|