[Cialug] USB mounted drives

Don Ellis don.ellis at gmail.com
Fri Aug 6 18:40:51 CDT 2010


One of our client systems has a backup script installed that does something
like this. When I went to their shop Monday I noticed that when the backup
script runs, it starts with mounting the USB external drive, runs the
backup, then unmounts the drive. Running under Linux, backing up a directory
that was shared with a Windows VM. I think this discussion tells me why it's
done this way; I had not tried things like this myself over a period of
time. External drive cases are usually attached/detached manually, so it's
not an issue. Leaving one attached, I'll watch for this next time I get a
chance.

--Don Ellis

On Fri, Aug 6, 2010 at 5:53 PM, L. V. Lammert <lvl at omnitec.net> wrote:

> On Fri, 6 Aug 2010, Tom Pohl wrote:
>
> > I have a USB backup drive that gets rsync'd to it every night and
> unmounts when the backup completes.
> >
> > At the start of my backup script, I throw in an "fdisk -l /dev/sda"
> > (the drive is /dev/sda in this case) to get things moving and allow it
> > to spin up nicely before trying to mount it.
> >
> Hi Tom,
>
> I"ve never heard of that, but, then, I don't typically try to use USB
> drives 'permanently' <G>!
>
> I guess the only solution is to try and disable via hdparms, ..
>
>        Thanks!
>
>        Lee
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100806/8d4bfaba/attachment.htm 


More information about the Cialug mailing list