Linux sucks – Data Recovery / Dirty Filesystems

Most of my “linux sucks” complaints have stemmed from issues I ran into over a period of a year. However, I discovered this issue today when trying to recover data from an older hard drive that was dying (during bootup, the BIOS warned me that SMART indicated “imminent” failure and said that I should immediately back up my data; before this, Windows had stopped responding). The drive still largely worked, but would produce numerous read failures; any accesses were extremely slow.

I put the drive into a USB enclosure (they make this stuff so much easier!) and connected it to my Ubuntu box:"Cannot mount volume" error message

I clicked details to see what was going on:"Cannot mount volume" error dialog, with details

This is pretty awful. The text looks like something a command-line tool spewed, shoved into a GUI that didn’t respect the line breaks. Getting to the actual content, neither choice is very good. Choice 1 would require a Windows box. Choice 2 involves forcing something “for your own responsibility”. What does that mean? Ignoring the Engrish, I’m assuming it means “at your own risk” and that I may lose data, but I have no idea how likely data loss is. Is it the usual risk associated with an unclean shutdown (which most people I know are willing to accept), or is it significantly higher? From a more technical perspective, is there more risk than there would be if I used Windows? (Is the Linux NTFS driver less robust?) Of course, neither option actually works:

Attempting to force-mount my drive

Attempting to mount my drive using

I happen to know I need to be root (and how to become root), but a hypothetical family member / significant other using my PC would not.

Things that need to change:

  1. The “Cannot mount volume” dialog needs to be intelligent enough to do more than to just show the raw output from /bin/mount. If it’s going to suggest editing fstab (a horrible solution, with long-term consequences), it needs to be clear about how to edit it as root.
  2. Forcing a mount needs to be something that can be done from within the GUI.
  3. If there is a fsck.ntfs, it should automatically run; I should be notified that this is happening and be notified again when it has completed. If there is no fsck.ntfs, someone needs to write one. I can’t find one.

I know NTFS under Linux has been flaky in the past, so for now I’m going to use a Windows box to fix the situation (fortunately, I have one available). If people are trying to make Linux more accessible to “normal users”, then it’s important to handle this kind of situation better. As it is right now, Linux is not a good way to back up files from a dying NTFS drive (if the drive is working, it’s likely to be clean anyway).

Comments are closed.