Hello,

I made some tests, but it is strange to me.
dparm -Y /dev/sdb

/dev/sdb:
 issuing sleep command

then

hdparm -C /dev/sdb

/dev/sdb:
 drive state is:  active/idle


but sometimes:

hdparm -C /dev/sdb

/dev/sdb:
 drive state is:  standby

It seems that the drive does not stay standby

 hdparm -B /dev/sdb

/dev/sdb:
 APM_level      = 254


smartctl -P show --nocheck=standby /dev/sdb
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.18.12-200.fc28.x86_64] (local 
build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

Drive found in smartmontools Database.  Drive identity strings:
MODEL:              HGST HTS721010A9E630
FIRMWARE:           JB0OA3J0
match smartmontools Drive Database entry:
MODEL REGEXP:       HGST HT[ES]7210(10|75)A9E63[01]
FIRMWARE REGEXP:    .*
MODEL FAMILY:       HGST Travelstar 7K1000
ATTRIBUTE OPTIONS:  None preset; no -v options are required.



===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Monday, October 08, 2018 at 7:05 PM
> From: "Wolfgang Pfeiffer" <r...@gmx.net>
> To: "Community support for Fedora users" <users@lists.fedoraproject.org>
> Subject: Re: Hard drive to sleep
>
> On Mon, Oct 08, 2018 at 06:45:38PM +0200, Wolfgang Pfeiffer wrote:
> >On Sun, Oct 07, 2018 at 08:16:56PM +0200, Patrick Dupre wrote:
> 
> >>
> >>I would like to make the hard drive sleeping.
> >>I can use
> >>hdparm -y /dev/sdx
> >
> >seems to work here ..
> 
> Except "-y" will not mean "sleeping" mode (i.e. complete shutdown,
> which can be done with the "-Y" switch) but standby mode, which simply
> seems to just spin down the disk.
> 
> 
> Wolfgang
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to