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

Conversion to ext4 hangs on fsremap #34

Open
sivapvarma opened this issue Dec 25, 2020 · 1 comment
Open

Conversion to ext4 hangs on fsremap #34

sivapvarma opened this issue Dec 25, 2020 · 1 comment

Comments

@sivapvarma
Copy link

System is a custom PC with Manjaro, Ubuntu and Windows 10. I'm trying to fix my corrupted ubuntu home partition of 1.8TB with 1.1TB of data.

I ran

$ sudo fsck.ext4 -vy /dev/sdc2

This fixed most of the issues, all of my data was still there. I was able to mount it in my manjaro and read it. But the file system was not recognizing it as a ext4 partition so I ran,

$ sudo fstransform /dev/sdc2 ext4

fstransform hangs on job.3. I see a huge fstransform.loop.4143 file which I assume is where my data is at.

This screenshot below is from my Manjaro where I ran fstransform from.

IMG_0638

I tried resuming multiple times and each time my system hangs with no keyboard or mouse response exactly at this point.

@cosmos72
Copy link
Owner

cosmos72 commented Dec 28, 2020

Hi @sivapvarma,

fstransform mounts the partition as one of the first steps to convert it.
Attempting to convert a filesystem with errors is destined to cause a lot of problems, including kernel hangs (many filesystem drivers are not resistant to damaged filesystems) and further damage to the filesystem itself.

In this case, a better alternative would be dd_rescue (if the disk itself has bad sectors) or a simple copy or backup.

I see a huge fstransform.loop.4143 file which I assume is where my data is at.

Correct. It's a loop file i.e. it contains a whole filesystem that you can check for errors and mount

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

2 participants