Re: smartd causing SATA timeouts on sleeping drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Bruce.

Bruce Allen wrote:
> Hmm, it sounds as if smartmontools should send a SRST to spin up the
> drive, but I do not know enough to be sure.

Eh... Now that I think about it.  I don't think there's a way to work
around this from userland.  smartmontools doesn't know the current power
mode (sleeping drive doesn't even respond to CHECK POWER MODE), so it
can't determine whether the device needs SRST or not and issuing SRST
unconditionally would cause a lot more problems.

Maybe what should be done is to track sleep mode in libata and issue
SRST automatically if a command is issued to a sleeping drive.  I'll
work on it.

> Could I add you to the developers list and give you CVS write access?
> This might make it easier for you to fix the various little
> smartmontools problems like this that keep cropping up!  Just fixing the
> code might be a lot faster than explaining it and sending patches...
> 
> If this is OK with you, please send me your sourceforge username, and
> I'll add you to the developers list.

I'll stay chicken for the time being and only send patches.  :-)

Thanks.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux