kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* seagate drive and i/o errors
@ 2011-10-21 17:47 Littlefield, Tyler
  2011-11-01  0:39 ` Peter Teoh
  0 siblings, 1 reply; 2+ messages in thread
From: Littlefield, Tyler @ 2011-10-21 17:47 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* seagate drive and i/o errors
  2011-10-21 17:47 seagate drive and i/o errors Littlefield, Tyler
@ 2011-11-01  0:39 ` Peter Teoh
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Teoh @ 2011-11-01  0:39 UTC (permalink / raw)
  To: kernelnewbies

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-01  0:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 17:47 seagate drive and i/o errors Littlefield, Tyler
2011-11-01  0:39 ` Peter Teoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).