Operating System - HP-UX
1834915 Members
2685 Online
110071 Solutions
New Discussion

Re: How to recover data from a partial crashed logical volume

 
SOLVED
Go to solution
Stig Eriksson
Occasional Advisor

How to recover data from a partial crashed logical volume

Hi gurus
I have a data logical volume (/dev/vg01/lvol1)
that spans over two different physical disks.
Last night one of the disks went down, and
now my data volume /dev/vg01/lvol1 is
unavailable. The two disks used were c0t5d0
and c0t0d0. The disk c0t0d0 has crashed...

Is there any way to recover files (or part of
files) from the healthy disk c0t5d0?

Best Regards
Stig Eriksson
Cactus Automation AB
Sweden
se@cactus.se
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: How to recover data from a partial crashed logical volume

Not usually, but it really depends upon you set up the logical volume. Did you use extent based striping? Did you use HP striping?

What is the output from a lvdisplay -v /dev/vg01/lvol1 ??


live free or die
harry
Live Free or Die
Frank Slootweg
Honored Contributor
Solution

Re: How to recover data from a partial crashed logical volume

If vxfs/JFS, *try*:

mount -r -F vxfs

If HFS, *try*:

mount -f -F hfs

If you are lucky, this will mount the LV and you will be able to access part of your data and back it up as soon as possible.
David Navarro
Respected Contributor

Re: How to recover data from a partial crashed logical volume

Hi.
You can replace crashed disk, then vgcfgrestore to that disk. Then probably you will need a fsck and results will be unpredictable.

I think that is the only think you can do. Except recover from a backup.

Consider to install a disk mirror....

Best luck..