Determine the disk offset for Solaris hosts, if you have Solaris hosts.
Steps
-
On the host, enter the following command: prtvtoc /dev/rdsk/device_name
Example
The following output example shows the partition map for disk c3t9d1s2:
prtvtoc /dev/rdsk/c3t9d1s2
* /dev/rdsk/c3t9d1s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 384 sectors/track
* 16 tracks/cylinder
* 6144 sectors/cylinder
* 5462 cylinders
* 5460 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 0 00 0 6144 6143
2 5 01 0 33546240 33546239
6 0 00 6144 33540096 33546239
The host console displays a partition map for the disk.
- Obtain the offset value by multiplying the value of the first sector of the partition you are using by the bytes/sector value listed under Dimensions.
In the example shown in Step 1, which is using slice 6, the disk offset is 6144 * 512 = 3145728.