Operating System - HP-UX
1833192 Members
2840 Online
110051 Solutions
New Discussion

how to bypass super block failure

 
SOLVED
Go to solution
zenari
Contributor

how to bypass super block failure

Hi,

I want to retrieve data on an old mirrored disk but fsck returns a failure on super-block for one of the logical volume(/dev/vg03/lvol3).
Can I bypass this superblock failure without erasing all data on this disk ?
Thanks,
Olivier
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: how to bypass super block failure

fsck -F -o full dev/vg03/lvol3

If that does not work there really is little hope of recovering the data.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Franky_1
Respected Contributor

Re: how to bypass super block failure

Hi,

if it's a hfs FS you could specify an alternate super-block using "-b" option (normally 16)
You can look for alternate super-blocks in /var/adm/sbtab

See fsck_hfs for more details

Regards

Franky
Don't worry be happy
Sundar_7
Honored Contributor
Solution

Re: how to bypass super block failure

If it is a HFS filesystem you can mention the alternate superblock number using the -b option. But I seriously doubt if you stil use HFS filesystem :-)

With JFS, you will have to fun a FULL check on the FS and hope it fixes the problem

# fsck -F vxfs -o full -y /dev/vg03/rlvol3

If this doesnt help, only fsdb experts can help ! :-)

Learn What to do ,How to do and more importantly When to do ?