Bad Superblock At Block : Magic Number Wrong
Hi there,
My VxVM diskgroup was in disable state, so I deported it and imported back again, after that when I try to mount any volume from that group, it says needs checking, tried fsck but no luck... any help ?
<snip>
bash-3.00# fsck -y /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
** /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
BAD SUPERBLOCK AT BLOCK 16: NUMBER OF DIRECTORIES OUT OF RANGE
LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS? yes
LOOK FOR ALTERNATE SUPERBLOCKS WITH NEWFS? yes
SEARCH FOR ALTERNATE SUPERBLOCKS FAILED.
USE GENERIC SUPERBLOCK FROM MKFS? yes
CALCULATED GENERIC SUPERBLOCK WITH MKFS
If filesystem was created with manually-specified geometry, using
auto-discovered superblock may result in irrecoverable damage to
filesystem and user data.
CANCEL FILESYSTEM CHECK? yes
Please verify that the indicated block contains a proper
superblock for the filesystem (see fsdb(1M)).
FSCK was running in YES mode. If you wish to run in that mode using
the alternate superblock, run `fsck -y -o b=4146080 /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01'.
bash-3.00# fsck -y -o b=4146080 /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
Alternate super block location: 4146080.
** /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
BAD SUPERBLOCK AT BLOCK 4146080: MAGIC NUMBER WRONG
bash-3.00# newfs -N /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
/dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01: 4194304 sectors in 2048 cylinders of 32 tracks, 64 sectors
2048.0MB in 47 cyl groups (44 c/g, 44.00MB/g, 11008 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 90208, 180384, 270560, 360736, 450912, 541088, 631264, 721440, 811616,
3334496, 3424672, 3514848, 3605024, 3695200, 3785376, 3875552, 3965728,
4055904, 4146080
</snip>
BTW, I have tried all the backup superblocks but no luck.
|