System Administration Guide: Basic Administration

How to Examine a Disk Label

Examine disk label information by using the prtvtoc command. For a detailed description of the disk label and the information that is displayed by the prtvtoc command, see Chapter 31, Managing Disks (Overview).

  1. Become superuser or assume an equivalent role.

  2. Display the disk label information.


    # prtvtoc /dev/rdsk/device-name
    

    device-name is the 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
#