Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown code er3k 127 - After transforming reiserfs to ext3 - Fix included #52

Open
dmigowski opened this issue Jul 30, 2023 · 0 comments

Comments

@dmigowski
Copy link

dmigowski commented Jul 30, 2023

fstransform version 0.9.3 - I did a conversion of reiserfs to ext4 on a Debian 10 system. After the conversion it tried to do fsck:

12:43:24 fstransform: running again '/sbin/fsck' (disk check) on device '/dev/sda3'
12:43:24 fsck: fsck from util-linux 2.33.1
12:43:24 fsck: Failed to open the device '/dev/sda3': Unknown code er3k 127
12:43:24 fsck:
12:43:24 fsck:

12:43:24 ERROR! fstransform: command '/sbin/fsck -p -f /dev/sda3' failed (exit status 8)
                this is potentially a problem.
                you can either quit now by pressing ENTER or CTRL+C,

                or, if you know what went wrong, you can fix it yourself,
                then manually run the command '/sbin/fsck -p -f /dev/sda3'
                (or something equivalent)
                and finally resume this script by typing CONTINUE and pressing ENTER:

The problem was that the filesystem was still contained in /etc/fstab and listed as reiserfs there, so fsck used the reiser specific filesystem checking tool for checking.

It would be better if the conversion tool also adjusted the fstab and changed reiserfs to ext3 (because the previous value is now obviously wrong) and didn't fail here.

Or use the filesystem specific way to check for the filesystem like e2fsck in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant