You might need to display disk slice information if the disk is intended to be used for the ZFS root pool. It must also include a SMI label.
- Become an administrator.
- Invoke the format utility.
# format
A numbered list of disks is displayed.
- Type the number of the disk for which you want to display slice information.
Specify disk (enter its number):1
- Select the partition menu.
format> partition
- Display the slice information for the selected disk.
partition> print
- Exit the format utility.
partition> q
format> q
- Verify the 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.
Example 11-3 Displaying Disk Slice Information
The following example displays slice information for a disk with a VTOC label.
# format
Searching for disks...done
Specify disk (enter its number):3
Selecting c2t3d0
format> partition
partition> print
Current partition table (c2t3d0):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 14086 136.71GB (14087/0/0) 286698624
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 14086 136.71GB (14087/0/0) 286698624
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 usr wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
partition> q
format> q
The following example shows the slice information for a disk with an EFI label.
# format
Searching for disks...done
Specify disk (enter its number): 3
selecting c2t3d0
[disk formatted]
format> partition
partition> print
Current partition table (default):
Total disk sectors available: 286722878 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 136.72GB 286722911
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
7 unassigned wm 0 0 0
8 reserved wm 286722912 8.00MB 286739295
partition> q
format> q
No comments:
Post a Comment