All of lore.kernel.org
 help / color / mirror / Atom feed
* avoid disk spinup at system resume
@ 2015-03-16 12:28 Peter Münster
  0 siblings, 0 replies; only message in thread
From: Peter Münster @ 2015-03-16 12:28 UTC (permalink / raw)
  To: linux-scsi

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-16 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 12:28 avoid disk spinup at system resume Peter Münster

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.