[CentOS] Mount USB disk at startup?
lists at spuddy.org
Thu Feb 4 13:54:33 UTC 2010
On Thu, Feb 04, 2010 at 02:37:06PM +0100, Mogens Kjaer wrote:
> It turns out to be some sort of race condition:
The problem with USB disks is that they aren't always "ready" as quickly
as the rest of the OS, so the kernel hasn't been able to detect them yet.
What you might be able to do is use autofs to mount the disk for you
when you try to access the mount point. As long as that's not part
of the boot sequence (ie it's something someone does when they login)
then there's a good chance the disk will be detected.
Alternatively, don't set it to mount in fstab and then create an rc script
which does a poll-wait for the disk to appear and runs the mount command
More information about the CentOS