Dewet Diener wrote:> > Hi all > > After umounting a removable ext3 partition from my work PC, and > trying to remount it at home, I've run into the following error > trying to mount it as both ext2 and ext3: > > EXT2-fs: ide1(22,65): couldn't mount because of unsupported optional features (10000). > EXT3-fs: ide1(22,65): couldn't mount because of unsupported optional features (10000). >Could you please run od -A x -t x1 /dev/hdd1 and send the output? For the superblock I get: 000400 c0 74 07 00 e2 e8 0e 00 d8 be 00 00 e1 8c 0e 00 000410 b5 74 07 00 00 00 00 00 02 00 00 00 02 00 00 00 000420 00 80 00 00 00 80 00 00 a0 3f 00 00 2f e9 7e 3b 000430 2f e9 7e 3b 01 00 16 00 53 ef 01 00 01 00 00 00 000440 1f e9 7e 3b 00 4e ed 00 00 00 00 00 01 00 00 00 000450 00 00 00 00 0b 00 00 00 80 00 00 00 04 00 00 00 000460 06 00 00 00 01 00 00 00 b9 d3 6c 59 2d cc 42 13 000470 91 84 d4 7b 60 d2 d9 50 00 00 00 00 00 00 00 00 000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 The incompat features are at superblock offset 0x60. So here it's 0x00000006 - EXT3_FEATURE_INCOMPAT_FILETYPE and EXT3_FEATURE_INCOMPAT_RECOVER. Somehow you seem to have set bit 16, which isn't defined. Not sure how to fix this without simply running a binary editor against /dev/hdd1 and clearing the byte at offset 0x462. -
On Sat, Aug 18, 2001 at 03:29:32PM -0700, Andrew Morton wrote:> Could you please run > > od -A x -t x1 /dev/hdd1 > > and send the output?Here's mine: 000400 c0 5b 0e 81 de ab 1c 00 fe 6e 01 00 2c fa 13 00 000410 1d 36 0e 00 00 00 02 00 02 00 02 00 02 00 00 80 000420 00 80 00 80 00 80 00 20 60 3f 00 00 a3 56 7f 7f 000430 b6 56 7d 3b 0c 00 15 80 53 ef 00 00 01 00 01 81 000440 53 99 48 7b 00 4e ed 00 00 00 01 00 01 00 00 00 000450 00 00 08 00 0b 00 00 00 80 00 00 00 00 00 02 00 000460 02 00 01 00 01 00 e8 00 e8 00 3c 8f 15 e9 42 00 000470 a9 5c fe bf ec a6 84 ef 00 00 00 00 00 00 00 00 000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> For the superblock I get: > > 000400 c0 74 07 00 e2 e8 0e 00 d8 be 00 00 e1 8c 0e 00 > 000410 b5 74 07 00 00 00 00 00 02 00 00 00 02 00 00 00 > 000420 00 80 00 00 00 80 00 00 a0 3f 00 00 2f e9 7e 3b > 000430 2f e9 7e 3b 01 00 16 00 53 ef 01 00 01 00 00 00 > 000440 1f e9 7e 3b 00 4e ed 00 00 00 00 00 01 00 00 00 > 000450 00 00 00 00 0b 00 00 00 80 00 00 00 04 00 00 00 > 000460 06 00 00 00 01 00 00 00 b9 d3 6c 59 2d cc 42 13 > 000470 91 84 d4 7b 60 d2 d9 50 00 00 00 00 00 00 00 00 > 000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > The incompat features are at superblock offset 0x60. > So here it's 0x00000006 - EXT3_FEATURE_INCOMPAT_FILETYPE > and EXT3_FEATURE_INCOMPAT_RECOVER.So, mine's 0x00010002 - EXT3_FEATURE_INCOMPAT_FILETYPE, as well as the undefined bit?> Somehow you seem to have set bit 16, which isn't defined. Not sure how > to fix this without simply running a binary editor against /dev/hdd1 and > clearing the byte at offset 0x462.I will certainly give that a try... Dewet
On Sat, Aug 18, 2001 at 03:29:32PM -0700, Andrew Morton wrote:> Somehow you seem to have set bit 16, which isn't defined. Not sure how > to fix this without simply running a binary editor against /dev/hdd1 and > clearing the byte at offset 0x462.Hi Andrew I managed to fix it by running e2fsck off one of the backup superblocks - that seems to have repaired the broken bits: 000400 cc 5b 0e 00 de ab 1c 00 ff 6e 01 00 35 da 13 00 000410 1f 36 0e 00 00 00 00 00 02 00 00 00 02 00 00 00 000420 00 80 00 00 00 80 00 00 60 3f 00 00 df 05 7f 3b 000430 df 05 7f 3b 16 00 14 00 53 ef 01 00 01 00 00 00 000440 60 05 7f 3b ed 4e ed 00 00 00 00 00 01 00 00 00 000450 00 00 00 00 0b 00 00 00 80 00 00 00 04 00 00 00 000460 06 00 00 00 01 00 00 00 e8 08 28 0e 57 e9 42 00 000470 ff 7d fe 3d ec af 84 ef 00 00 00 00 00 00 00 00 000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Then I just reran "tune2fs -j", and mounted it as ext3. I hope that was the correct approach, but its working in any case :) Don't quite know why/how the superblock got corrupted like that in the first place :-/ Regards, Dewet