System Administration Guide: Devices and File Systems

Displaying Partition Table Information

The following format utility output shows an example of a partition table from a 74-Gbyte disk with a VTOC label displayed:


Total disk cylinders available: 38756 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       3 -  2083        4.00GB    (2081/0/0)    8390592
  1       swap    wu    2084 -  3124        2.00GB    (1041/0/0)    4197312
  2     backup    wm       0 - 38755       74.51GB    (38756/0/0) 156264192
  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    3125 - 38755       68.50GB    (35631/0/0) 143664192
  8       boot    wu       0 -     0        1.97MB    (1/0/0)          4032
  9 alternates    wu       1 -     2        3.94MB    (2/0/0)          8064

partition> 

The partition table displayed by the format utility contains the following information.

Column Name 

Description 

Part

Partition or slice number. See Table 10–6 for a description of this column.

Tag

Partition tag. See Table 10–6 for a description of this column.

Flag

Partition flag. See Table 10–6 for a description of this column.

Cylinders

The starting and ending cylinder number for the slice. Not displayed on EFI-labeled disks. 

Size

The slice size in Mbytes. 

Blocks

The total number of cylinders and the total number of sectors per slice. Not displayed on EFI-labeled disks. 

First Sector

EFI – The starting block number. Not displayed on VTOC-labeled disks.

Last Sector

EFI – The ending block number. Not displayed on VTOC-labeled disks.

The following is an example of an EFI disk label displayed by using the prtvtoc command.


# prtvtoc /dev/rdsk/c4t1d0s0
* /dev/rdsk/c4t1d0s0 partition map
*
* Dimensions:
*     512 bytes/sector
* 2576941056 sectors
* 2576940989 accessible sectors
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                           First     Sector    Last
* Partition  Tag  Flags     Sector     Count    Sector   Mount Directory
       0      2    00          34   629145600  629145633
       1      4    00   629145634   629145600 1258291233
       6      4    00  1258291234  1318633404 2576924637
       8     11    00  2576924638       16384 2576941021

The output of the prtvtoc command provides information in the following three sections:

prtvtoc Column Name

Description  

Partition

Partition or slice number. For a description of this column, see Table 10–6.

Tag

Partition tag. For a description of this column, see Table 10–6.

Flags

Partition flag. For a description of this column, see Table 10–6.

First Sector

The first sector of the slice. 

Sector Count

The total number of sectors in the slice. 

Last Sector

The last sector of the slice. 

Mount Directory

The last mount point directory for the file system.