From: "Peter Münster" <pmlists@free.fr>
To: linux-scsi@vger.kernel.org
Subject: avoid disk spinup at system resume
Date: Mon, 16 Mar 2015 13:28:21 +0100 [thread overview]
Message-ID: <871tkpunx6.fsf@free.fr> (raw)
Hi,
My SATA disk (sdb) spins up at every system resume. How could I avoid
that please?
Some details:
- sdb not mounted
- echo 0 >/sys/block/sdb/device/scsi_disk/2:0:0:0/manage_start_stop
- hdparm -C /dev/sdb : "drive state is: standby"
- s2ram
- after wake up: "drive state is: active/idle"
- kernel message at wakeup: "sd 2:0:0:0: [sdb] Synchronizing SCSI cache"
- when doing "echo scsi remove-single-device 2 0 0 0 >/proc/scsi/scsi"
before s2ram, sdb keeps sleeping after resume
I need the disk only about once per week. I use s2ram several times per
day, and I prefer that sdb keeps sleeping.
TIA for any hints,
--
Peter
reply other threads:[~2015-03-16 12:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871tkpunx6.fsf@free.fr \
--to=pmlists@free.fr \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.