Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP !!!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How does one fix a bad superblock or unreadable superblock?
I ran an fsck on a filesystem and it is unable to read the superblock - any fix to this problem?
When I looked at the errpt I see an LVM_IO_FAIL.
Thanks in advance.
 


The backup superblock can be copied over the primary superblock via one
of these commands:

All versions:

dd count=1 bs=4k skip=31 seek=1 if=/dev/lv00 of=/dev/lv00

For AIX 4.x and AIX 5.x only:
fsck -p /dev/lv00

Once the copying over is completed, check the integrity of the file
system by issuing:

fsck /dev/lv00

In many cases, copying the backup superblock to the primary
superblock will recover the file system. If this does
not work, you will have to recreate the file system and restore the
data from a backup.

----------------
checking the error in the errpt would be important also....is it Hardware,
permanent? Software? Temporary?

If the above document doesn't help you, you are looking at recreating and
restore from backup.
Check for level of aix though, there were patches for fsck in 4.3.3........
 
As you dig deeper, often times an LVM_IO_FAIL can indicate a disk drive that has crashed. Obviously, you'll need to replace the disk if that is the case.

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top