Become superuser.
Enter the format utility.
# format |
Identify the disk for which you want to display slice information by selecting a disk listed under AVAILABLE DISK SELECTIONS.
Specify disk (enter its number):1 |
Enter the partition menu by typing partition at the format> prompt.
format> partition |
Display the slice information for the current disk drive by typing print at the partition> prompt.
partition> print |
Exit the format utility by typing q at the partition> prompt and typing q at the format> prompt.
partition> q format> q # |
Verify displayed slice information by identifying specific slice tags and slices.
If the screen output shows that no slice sizes are assigned, the disk probably does not have slices.
The following example displays slice information for disk /dev/rdsk/c0t3d0.
# format Searching for disks...done Specify disk (enter its number):1 Selecting c0t3d0 format> partition partition> print Current partition table (original): Total disk cylinders available: 1866 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 292 80.12MB (293/0/0) 164080 1 swap wu 293 - 410 32.27MB (118/0/0) 66080 2 backup wm 0 - 1865 510.23MB (1866/0/0) 1044960 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 home wm 411 - 1311 246.37MB (901/0/0) 504560 6 usr wm 1312 - 1718 111.29MB (407/0/0) 227920 7 unassigned wm 1719 - 1865 40.20MB (147/0/0) 82320 partition> q format> q # |
See Chapter 21, Disk Management (Overview) for a detailed description of the slice information displayed in these examples.
The following example displays the slice information on disk /dev/rdsk/c0t0d0.
# format Searching for disks...done Specify disk (enter its number): 0 selecting c0t0d0 [disk formatted] format> partition partition> print Current partition table (original): Total disk cylinders available: 1479 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 1 - 400 108.01MB (400/0/0) 221200 1 swap wu 401 - 556 42.12MB (156/0/0) 86268 2 backup wu 0 - 1479 399.63MB (1480/0/0) 818440 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 557 - 734 48.06MB (178/0/0) 98434 6 usr wm 735 - 1401 180.10MB (667/0/0) 368851 7 home wm 1402 - 1476 20.25MB (75/0/0) 41475 8 boot wu 0 - 0 0.27MB (1/0/0) 553 9 unassigned wm 0 0 (0/0/0) 0 partition> q format> q |