Hi,
This is a bit lengthy process
NOTE : This is just a concept :
Take the O/P of
#strings/etc/lvmtab
#ioscan -kfnC disk
At the time of failure identify which of the following Volume groups are not activated on the server.
VG01
VG02 OR
VG03
identify that volume group belongs to which
Physical disk by the combine use of the above 2 commands.
Take the backup either using sam or cpio
I will advise you to add the disk when all the disks are detected and create a new volume group and new filesystems on that with different names and mount those lvols at the same time and do cpio file-systemwise.
Then slowly remove the disk and check whether everything is working fine.
Identify the path of the disk from ioscan and then replace the disk.
Example :
if your old filesystem is /dev/vg01/lvol1 mounted on /test
mount the new filesystem say /dev/vg05/lvol on /test1
run this for backup
#cd /test
#find . -depth -print |cpio -pdlmvua /test1
This will copy entire contents to test1
Do same for all the lvols on Vg01
Ensure no applications are running while backup.
After this just change the mount point in fstab for all the lvols on vg01 to vg05
Still a lot to Go
This was just a concept.
Regards
I'll sleep when i am dead.