Ubuntu – Auto-mount USB drives in Ubunto 10.04

automountUbuntuusb

I have a cron-scheduled backup task, that writes to a USB drive. (It's a SATA drive stuck in an external dock that is connected to my machine via USB.)

This usually auto-mounts at /media/backups (since "backups" is the partition label for the single partition on the drive.)

My problem is that it isn't always mounted. It's always physically connected, but on a fairly regular basis, the mount point isn't there. When I'm logged in, it's always mounted and visible, but when the background process is running, it sometimes isn't.

Any ideas as to why this might be?

Best Answer

If you're not in the mood to hand-edit your /etc/fstab file, I'd suggest trying out PySDM to define the rules for mounting your external drive on a regular basis. It can be installed by installing the "pysdm" package in Synaptic, or by searching the Ubuntu Software Center for "pysdm". Once installed, it is available under the System --> Administration --> Storage Device Manager..

PySDM in action

Related Topic