Hardware Admin to redefine the number of cylinders for the lun assigned to system
Re-run vxdisksetup
Note: VxVM requires at lease one cylinder.
Applies To
Using vxvm debug can assist with determining the root cause.
First set vxvm debug mode to log level 9
vxdctl debug 9
The output of shows the problem is the mode sense page 3 and 4 on the array drives.
The first cds_get_geometry(1) shows the sun disk label
09/28 15:17:21: VxVM vxconfigd DEBUG V-5-1-16172 cds_get_geometry: sector_size1 512 track_size1 16 num_heads1 50 num_cyl1 128 disk_size1 102400
Note: When we initialize a device we dump the label as shown above and compare it to the raw geometry the mode sense on the storage page 3 and 4.
If there is a difference greater than 1% we use the mode sense values on the array to build our dmp records..
The second cds_get_geometry(2) shows the raw geometry mode page 3 &4
09/28 15:17:21: VxVM vxconfigd DEBUG V-5-1-16173 cds_get_geometry: sector_size2 512 track_size2 768 num_heads2 50 num_cyl2 2 disk_size2 76800
* Dimensions: ===Sun Label Values ==== Raw Geometry mode sense page 3& values
* 512 bytes/sector === sector_size1 512 ===== sector_size1 512
* 16 sectors/track === track_size1 16 ===== track_size2 768
* 50 tracks/cylinder = num_heads1 50 ===== num_heads1 50
* 800 sectors/cylinder
* 128 cylinders == num_cyl1 128 ==== num_cyl2 2
* 126 accessible cylinders ___________ _______________ <<<< note "accessible cylinders" is minus 2 total "cylinders"
* ==disk_size1 102400 ==disk_size2 76800
The next line shows that we are going to pick the raw geometry mode sense page 3 and 4
09/28 15:17:21: VxVM vxconfigd DEBUG V-5-1-0 cds_get_geometry: geomp->sector_size 512 geomp->num_heads 50 geomp->num_sectors_per_track 768 geomp->num_cylinders 2