Re: e2fsck doesn't finish

Andreas Dilger
2017-04-19T21:07:54Z

[-- Attachment #1: Type: text/plain, Size: 2063 bytes --]

On Apr 19, 2017, at 2:57 PM, Julius Schwartzenberg <julius.schwartzenberg@gmail.com> wrote:
>
> Theodore Ts'o wrote:
>> It looks like the problem is fixed with the latest version of
>> e2fsprogs, though. I just tried running using a build of e2fsprogs
>> from the next branch, and this seems to allow e2fsck to fully fix the
>> file system and avoid the "aborted" message.
>
> I just tried the latest e2fsck from git and it indeed fully got through.
> I'm really glad here and I hope there will be a new release of e2fsprogs
> soon!
>
> I still have a (dd) copy of the original full image on my external hard
> drive in case it would be useful.
>
> I don't know if this is relevant, but maybe it could also be related to
> a conversion? Till recently the filesystem was still ext3 and I was only
> using it from Ubuntu 16.04. After installing Fedora 25 on another
> partition, Ubuntu couldn't mount this partition anymore and I had to
> change its entry in /etc/fstab from ext3 to ext4. Then it could mount
> it, but Ubuntu's e2fsck complained there were features in use that it
> didn't support. I reported this Fedora bug then:
> https://bugzilla.redhat.com/show_bug.cgi?id=1440429

It would be useful to know which feature(s) that Fedora 25 enabled that
Ubuntu 16.04 didn't understand. You could use something like:

dumpe2fs -h /dev/XXX | grep -i feature

under Ubuntu. Typically, the code shouldn't be enabling any feature on
the filesystem without an explicit request from the admin.

Also, the "failed to mount" case should print something to the console
logs about an unsupported feature, which would help isolate the problem.

Cheers, Andreas

> After I reported bug, I ran into the issues with e2fsck failing to complete.
>
> In any case, thanks a lot Theodore and Eric for looking into this! My
> issue is solved now, but if there's anything that would still be useful
> to figure out I'll be glad to provide any information that could help.
>
> Thanks!
> Julius

Cheers, Andreas

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]