seagate drive and i/o errors

Peter Teoh htmldeveloper at gmail.com
Mon Oct 31 20:39:40 EDT 2011


care to describe the error?   i suspect it may be hardware error.
just post your dmesg after u plug in the hardware device.   perhaps do
a lsusb -vv and show us the details of the drive?

For automatically mounting filesystem, if u are on ubuntu:

https://help.ubuntu.com/community/Fstab

(just update the fstab file) is one option.

Alternatively is automount (and using autofs kernel module) is another
option.   If u are on linux kernel 3.1.0 (mine) the kernel module is
called autofs4, not sure what is the difference, but nevertheless just
do a "modprobe autofs" (not default loaded for me):

https://help.ubuntu.com/community/Autofs

On Sat, Oct 22, 2011 at 1:47 AM, Littlefield, Tyler <tyler at tysdomain.com> wrote:
> Hello all,
> I have a quick question. When I do a ls on this drive and it's spun
> down, i get an i/o error. I'm curious if there's a way to write a module
> or do something to make the drive wake up when I do a r/w request on it?
> I've had an external and it never had this problem. I also know i could
> modify the scsi params to make it not sleep, but that doesn't work and
> that is not the best of ideas anyway. I like it sleeping, I don't even
> mind waiting for an LS. It's just hard to manage when i have to umount
> -l the directory, then figure out what sd* dev it's on.
>
> --
>
> Take care,
> Ty
> Web: http://tds-solutions.net
> The Aspen project: a light-weight barebones mud engine
> http://code.google.com/p/aspenmud
>
> Sent from my toaster.
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Regards,
Peter Teoh



More information about the Kernelnewbies mailing list