[lug] USB drive fix
Hugh Brown
hugh at math.byu.edu
Sat Nov 22 08:34:47 MST 2008
David L. Anselmi wrote:
> Landon Cox wrote:
>> but every morning when I'd look at my cron notifications, I would
>> discovery that the backup failed because the file system was
>> read-only.
>
> By any chance did your mount say that on errors it should be remounted
> read-only?
>
>> Nov 19 07:29:54 hurricane kernel: [724306.332797] lost page write due
>> to I/O error on sdb1
> [...]
>> echo 1 > /sys/block/$1/device/scsi_disk:*/allow_restart
>
> Interesting. I have a USB drive that spins down and takes a second to
> spin back up when needed. But it already allows restarts. So I wonder
> whether this is just an Ubuntu problem?
>
I had a user with this problem under RHEL 4 and enabling allow_restart
via /sys wasn't an option until we upgraded to RHEL 5. I think it might
be a function of the drive manufacturer as well.
Hugh
More information about the LUG
mailing list