Unable to automatically fix md1, mounting Read Only: fsck 1.41.14 (22-Dec-2010) /dev/md1: The filesystem size (according to the superblock) is 487855872 blocks The physical size of the device is 487855856 blocks Either the superblock or the partition table is likely to be corrupt! /dev/md1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)
Checking md1 finished with status code 8: fsck 1.41.14 (22-Dec-2010) e2fsck 1.41.14 (22-Dec-2010) The filesystem size (according to the superblock) is 487855872 blocks The physical size of the device is 487855856 blocks Either the superblock or the partition table is likely to be corrupt! Abort? yes
Hi all,I just updated to ALT-F and I am really overwhelmed with how capable this looks, and how smooth the upgrade went in principle...However, the auto-check detected a file system error (must have been there before, but the D-Link firmware and myself apparently succesfully ignored that for years) that now prevents the main data volume from mounting.
Unable to automatically fix md1, mounting Read Only: fsck 1.41.14 (22-Dec-2010) /dev/md1: The filesystem size (according to the superblock) is 487855872 blocks The physical size of the device is 487855856 blocks Either the superblock or the partition table is likely to be corrupt! /dev/md1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)As advised in the interface, I then initiated a ForceFix, giving this (but don't know if I should have waited for the word 'fixing' in red to disappear before switching to the status screen?)Anyway, for now I get this:
Checking md1 finished with status code 8: fsck 1.41.14 (22-Dec-2010) e2fsck 1.41.14 (22-Dec-2010) The filesystem size (according to the superblock) is 487855872 blocks The physical size of the device is 487855856 blocks Either the superblock or the partition table is likely to be corrupt! Abort? yes
This is where my wisdom ends. I have little idea about file systems, partitions, etc, especially not under Linux.I did wonder whether a SHRINK and subsequent ENLARGE operation on the FS would not constitute an automatic correction here, but don't dare starting this at this stage.
Hi, thanks for the quick response!The "ForceFix" was initated as an action from ALT-Fs File Systems page, and it auto-answers 'yes' to the abort question...Unfortunately, the device was and is not being mounted, not even in ro mode.
But I have accessed the box via SSH in the meantime and am running a manual e2fsck -fy on the device right now. For the second time actually, the first one did not fix the size mismatch. Following advice found per various Linux forums, I have also tried 'resize2fs -f', but that again aborts, with an error about 'short read' (logically, in fact), and sends me back to fsck.I guess I'll have to re-partition. That's of course a pain,
but I'll be able to reconstruct most of the data from other media, and nothing on the disk was vital anyway.Let's see what is left after the new fsck. It's now trying to 'fix' lots of new errors...
One more question - under the DISK/Wizard page, choosing the RAID1 and ext4 options (presently, I have ext3!), it tells me it would re-format, and I would loose all data. Not encouraging, if you mention that this might avoid restoring files?!
Good news:I finally tried this, found in yet another Linux forum:mke2fs -S /dev/md1 && fsck /dev/md1
This DID rewrite superblocks and FS information, then again forced a check. That check cleared the excess blocks in the affected inode, and after that started yet another check. After a third or maybe even fourth check, each of which fixed inode, block counts, and whatever, I was indeed able to mount the volume again!!!One thing this did was, however, to convert the file system to EXT2. (Don't know whether this is an effect of mke2fs itself or the subsequent 'repairs'. One of those was to delete the journal inode.)I guess that a few files on the drive are actually damaged or lost, but that is comparably easy to fix. I am now backing up (again) all user data from the drive, and then will try a conversion to EXT4.Or would EXT4 not be the advisable route?