filesystems are never fsck'ed if they live on removable USB disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-volume-manager (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
I don't know which package to assign this bug to, and sorry if it has been reported before - I couldn't find a report.
ext2/3 filesystems are regulary fsck'ed after a given number of boots if those filesystems are part of the fixed disks. However removable USB disks (I can only check for those, but I guess firewire at al. also share this) are never fsck'ed automatically. This might me dangerous because they are much more likely to be removed incorrectly (w/o unmounting) and are attached/reattached frequently. I just realized that my external disk was mounted hundreds of times without ever being checked (and am sure that despite trying to be responsible, I sometimes yanked the cable w/o unmounting)
NOTE:
i've removed the ext3 case because this also applies to some other filesystem types as described in duplicated bugs.
description: | updated |
Changed in gnome-volume-manager: | |
importance: | Undecided → Wishlist |
Changed in gnome-volume-manager: | |
assignee: | andres-mujica → nobody |
status: | Incomplete → Confirmed |
tags: | added: quantal |
tags: | added: precise |
I'd like to add a further comment to this bug. I have a computer running Kubuntu Feisty with an external hard drive which is formatted with JFS. At some point it was apparently removed from the computer without being properly unmounted (I'm not sure if this was due to a system crash or someone being careless as I'm not the only user of the computer, and it happened when someone else was using it). The next time the external drive was connected, as usual the KDE automount popup appeared, but when a user attempted to access the disk it failed to mount. I'm afraid I don't remember the exact error message it gave, but it wasn't too helpful. I tried mounting the drive by hand, and that didn't work either. I checked 'dmesg | tail' to see if any information appeared there, and there was a message about JFS. I'm pretty sure that it didn't mention anything about the drive being improperly unmounted, but I guessed that this was the cause of the problem and ran fsck. Sure enough, once fsck had run the drive mounted just fine.
The point I'm trying to make here is that while I've been using Linux for a few years and didn't have too much trouble figuring out what the problem was, the other users of the computer were stumped. The fact that external drives are never fsck'ed is definitely a bad thing from the point of view of data integrity, but if the automounter doesn't detect when an external drive hasn't been properly unmounted and offer the option of checking the system most users are going to be much more confused when the drive won't mount, which I think is a more serious problem.
I realise this isn't strictly an Ubuntu bug but exists upstream too.