TruCluster
Showing results for 
Search instead for 
Do you mean 

volreconfig fails with "disk write failure" as privoffset is ignored in volencap

Occasional Visitor

volreconfig fails with "disk write failure" as privoffset is ignored in volencap

Hello,

The script /etc/vol/reconfig.d/disk.d//encap.sh produced by volencap is used by
volreconfig to perform the actual encapsulation.
In the encap.sh scripts 'voldisk' command is used to create simple disks. In case the simple
disk is to be created on a partition which starts from zero offset, the privoffset is not passed
as an argument to voldisk, and voldisk command takes the default privoffset to 0. This causes
volreconfig command to fail with "disk write failure".


Please give me any suggestions on how to overcome it..

Thanks,
Anand.
//Add this to "OnDomLoad" event