Automount external hard drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.  I'm still tweaking my setup with my external USB hard drive.
It's generally working, but it still has this annoying habit of
getting lost, with messages like these:

Mar  3 10:33:33 pigpen kernel: usb 3-1: USB disconnect, address 4

It "only" happens every few days on average now.  When it does happen,
though, I manually umount, e2fsck, and mount it.  I did create an
fstab entry so can refer to it as "/mnt/disk2", but it's still a bit
tedious, and the filesystem is unavailable until I notice that it's
missing.  So I'm wondering if there's a good way to automate this.  I
know about autofs, which should work, but that implies a lot of
mounting and unmounting (depending on timeouts and access frequency),
when logically this is a permanently attached drive.  The ideal thing
is if there was a way to perform my umount/e2fsck/remount whenever it
gets lost.  Shortly after getting lost, the kernel finds it again, so
it seems analogous to unplugging and replugging the USB cable.  Is
there a proper fedora way of handling this?  I run KDE, not GNOME, but
it seems like any solution should be independent of desktop
environment; i.e. at a lower level and not dependent on a user being
logged in.  If autofs is the best way to go, that's fine.

(For the record, it was disconnecting much more frequently when I had
my wireless router right next to it.  I moved the router a few feet
which seems to have helped some. It may be completely unrelated, who
knows....)

Thanks,
Reid

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux