Re: Automount external hard drive?

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

 



Instead of having this in your fstab, you might want to try using the
automount daemon handle this drive.  That way, it's only mounted when you
actually need it, and unmounts after a period of inactivity.

Works for me...I use external drives for my Mondo backups, so that I can
take the drives offsite.

> 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
>


-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe@xxxxxxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux