Mirroring of Volume in CDS diskgroup fails with disk alignment error.
book
Article ID: 100015680
calendar_today
Updated On:
Description
Error Message
# vxassist -g testdg -b mirror testvol
VxVM vxassist ERROR V-5-1-10127 creating subdisk testdg02-01:
Subdisk length violates disk group alignment
Cause
The new subdisk for mirror is being created to match disk alignment instead of diskgroup alignment is the cause.
This issue surfaces when the disk being used have cylinder size not divisible by DG alignment size resulting in above error.
for example:
# vxdg list testdg
Group: testdg
.
flags: cds <<<<
version: 170
alignment: 8192 (bytes) <<<
prtvtoc_c0t5000CCA025A2B550d0s2:* 12500 sectors/cylinder
# bc -l
12500*512
6400000
6400000/8192
781.25000000000000000000 <<< not divisible by 8192
Resolution
The workaround to this issue is to use layout=nodiskalign during mirroring. For example,
# vxassist -g $DG mirror $VOL layout=nodiskalign
This issue has been addressed in VxVM 6.2 release, where code has been modified to use the DG alignment instead of disk alignment when mirror a volume.
This fix will be included in next Maintenance release for 6.1 as well.
Issue/Introduction
Mirroring of Volume in CDS diskgroup fails with below disk alignment error.
The volume itself is created without issue.
Additional Information
ETrack: 3554608
Was this article helpful?
thumb_up
Yes
thumb_down
No