# format |
3. Enter the number of the disk that you want to label from the list displayed on your screen.
Specify disk (enter its number):1 |
4. Use the table below to determine how to label the disk.
If the Disk Was Labelled and You Want to Change the Type, or Format Was Not Able to Automatically Configure the Disk ... | |
Format will ask if you want to label the disk. Go to step 5 to label the disk. | You must specify the disk type. Go to steps 6-7 to set the disk type and label the disk. |
5. Label the disk by typing y at the Label it now? prompt.
Disk not labeled. Label it now? y |
6. The disk is now labeled. Go to step 11 to exit the format utility.
format> type |
7. Format displays the Available Drive Types menu.
Specify disk type (enter its number)[12]: 12 |
8. Label the disk. If the disk is not labeled, the following message is displayed.
Disk not labeled. Label it now? y |
9. Otherwise you are prompted with this message:
Ready to label disk, continue? y |
format> verify |
11. Exit the format utility by typing q at the format> prompt.
partition> q format> q # |
Example--Labeling a Disk
# format c1t0d0: configured with capacity of 1002.09MB AVAILABLE DISK SELECTIONS: 0. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72> /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0 1. c1t0d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72> /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0 Specify disk (enter its number): 1 Disk not labeled. Label it now? yes format> verify # |
How to Examine a Disk Label
Examine disk label information by using the prtvtoc(1M) command. See Chapter 28, Disk Management (Overview) for a detailed description of the disk label and the information displayed by the prtvtoc command.
# prtvtoc /dev/rdsk/device-name |
device-name | Raw disk device you want to examine. |
Example--Examining a Disk Label
The following example shows the disk label information for disk /dev/rdsk/c0t1d0s0.
# prtvtoc /dev/rdsk/c0t1d0s0 * /dev/rdsk/c0t1d0s0 partition map * * Dimensions: * 512 bytes/sector * 72 sectors/track * 14 tracks/cylinder * 1008 sectors/cylinder * 2038 cylinders * 2036 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 0 303408 303407 / 1 3 01 303408 225792 529199 2 5 00 0 2052288 2052287 6 4 00 529200 1523088 2052287 /usr # |
No comments:
Post a Comment