6.7. Troubleshooting file system problems

This section will discuss some of the problems encountered while managing LVM and how to resolve them.

6.7.1. Recovering from super block errors

If you receive one of the following errors from the fsck or mount commands, the problem may be a corrupted (or dirty) superblock.

fsck: Not an AIX3 file system
fsck: Not an AIXV3 file system
fsck: Not an AIX4 file system
fsck: Not an AIXV4 file system
fsck: Not a recognized file system type
mount: invalid argument

The problem can be resolved by restoring the backup of the superblock over the primary superblock using one of the following commands:

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

The following command works only for AIX Version 4: ...

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.