[Voyage-linux] How can we usb driver mount at startup (on wrap): Solved

Beat Meier (spam-protected)
Fri Sep 18 22:33:49 HKT 2009


Hello all

FYI: The problem that usb filesystems are not mounted automaticlly at 
startup is a timing problem.
The problem is that if the usb driver is loaded the harddrive needs some 
time to come up.
The mounting of the fs comes very quickly after that and the dirve is 
not yet ready.
With usb pendrives I imagine that this will be now problem ...
Here my solution:

Insert a sleep at the end of the file
  /etc/rcS.d/S20module-init-tools
In my case a sleep of 10s is ok (5s is to short) but you have to try 
with your drive ...
i.e. the end of this file in my case is the following:

echo "Waiting 10 seconds to give usb disk time to startup"
sleep 10

exit 0

I have now a wrap with an usb disk and on this disk I have the files for 
a apache2, nagios, cacti and mysql.
And it's running nice and stable :-)

Greetings to all and good luck

Beat




More information about the Voyage-linux mailing list