External USB hard drive "loosing" connection [Maxtor onetouch]
hok.krat at gmail.com
Wed Mar 12 11:38:45 UTC 2008
On Wed, Mar 12, 2008 at 5:47 AM, Hemant Bist <hemantbist at gmail.com> wrote:
> I recently bought a Maxtor onetouch extenal USB drive 500GB for backup for
> my ubuntu dapper system.
> Every morning the backup script fails because it has problem in accessing
> the drive. Once I manually remount(sudo umount /dev/sda1; sudo mount
> /dev/sda1) the drive and restart backup it works fine.
> Has anyone seen this problem before? Any workarounds for this?
I'd simply start the script with "sudo umount /dev/sda1; sudo mount
/dev/sda1" That is, if it is a bash script. Other types of scripts
would need other commands, or a new script with that and the command
to execute the original script.
If you run the script as root (in the root crontab) it shouldn't even
be necessary to use sudo.
It might even be useful for the harddrive to shut down with the power
just my 2 cents
There are two kinds of people:
1. People who start their arrays with 1.
1. People who start their arrays with 0.
More information about the ubuntu-users