PDA

View Full Version : [ubuntu] USB mounts quit working



wwarren
December 28th, 2012, 11:45 PM
This is a new problem that's shown up in the last month or so that I never have had for the last couple of years. I have two USB hard drives mounted as /mnt/mybook and /mnt/mybook2. After a few days of uptime, those mount points are still there, but show no contents. When that happens, if I reboot, or unmount and remount them, their contents becomes available again.

Ideas as to why? I'm on Ubuntu 10.04LTS. The drives are formatted as EXT3.

Bashing-om
December 29th, 2012, 01:04 AM
wwarren; Hi !

As your mount point is in /mnt I assume you are using /etc/fstab to mount the devices.

What pops to mind is in the fstab file the reference is not by UUID and thus the reference may change.
These tutorials may shed some light:
http://ubuntuforums.org/showthread.php?t=283131
https://help.ubuntu.com/community/Fstab
http://myubuntublog.wordpress.com/2009/05/25/auto-mount-usb-hard-drive-at-boot/




HTH <== BDQ

wwarren
January 29th, 2013, 08:34 PM
Being only a beginner with Linux, I had used Webmin to mount those drives. They were mounted based on the drive label. I've changed them to mount based on the ID. I'll run like that for a few weeks and see if the problem keeps happening.

Bashing-om
January 30th, 2013, 12:41 AM
wwarren; Sounds like a plan.

Have you considered a means to monitor the drives conduct?
Like maybe a script to read a file on the drives with a cron job, email you upon failure ?



just a thought