Good morning!
I met a problem on a FS with AIX 5.3
It's not possible to mount the FS because of a dirty superblock.
I tried few things without success. I need your help to solve my problem guys. Do you have any idea please?
Thanks a lot
drp01,/home/root # mount /GSPRES/data
Replaying log for /dev/lvdt1.
Fatal: I/O error
mount: 0506-324 Cannot mount /dev/lvdt1 on /GSPRES/data: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/lvdt1 is dirty. Run a full fsck to fix.
drp01,/home/root # fsck -y -p /GSPRES/data
The current volume is: /dev/lvdt1
Primary superblock is valid.
J2_LOGREDO:log redo processing for /dev/lvdt1
Fatal: I/O error
exec module "/sbin/helpers/jfs2/logredo64" failed.
logredo failed (rc=5). fsck continuing.
Primary superblock is valid.
*** Phase 1 - Initial inode scan
*** Phase 2 - Process remaining directories
*** Phase 3 - Process remaining files
*** Phase 4 - Check and repair inode allocation map
*** Phase 5 - Check and repair block allocation map
Block allocation map is corrupt (FIXED)
Superblock marked dirty because repairs are about to be written.
Fatal: I/O error
drp01,/home/root # dd count=1 bs=4k skip=31 seek=1 if=/dev/lvdt1 of=/dev/lvdt1
1+0 records in.
1+0 records out.
drp01,/home/root # mount /GSPRES/data
Replaying log for /dev/lvdt1.
Fatal: I/O error
mount: 0506-324 Cannot mount /dev/lvdt1 on /GSPRES/data: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/lvdt1 is dirty. Run a full fsck to fix.
drp01,/home/root # lsfs /GSPRES/data
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/lvdt1 -- /GSPRES/data jfs2 874512384 rw,cio yes no
drp01,/home/root # oslevel
5.3.0.0
To run an extensive filesystem check there'll be another switch to add to your fsck command which will then cause it to check everything (which a normal fsck doesn't do). Look at your fsck man pages to see what that switch is. It will probably take a while to execute.
(It's been a while since I was involved with AIX so can't tell you straight out but it's the same with most flagship O/S's)