A fresh install of Debian 6.0.6 for a system has 13 SATA drives attached. 12 refurbished WD-10EARS drives are yet unpartitioned. 1 WD1500BLFS drive is configured for OS and swap. Swap partition is configured on /dev/sda5 according /etc/fstab
root@debian:~# cat /etc/fstab | grep swap # swap was on /dev/sda5 during installation UUID=641cc8ad-838d-4e92-8c2c-0b73359a5aa3 none swap sw 0 0
Because the 12 drives have no disk activity, the drive state goes from "active/idle" to "standby" after a while.
root@debian:~# hdparm -C /dev/sdm /dev/sda: drive state is: active/idle root@debian:~# hdparm -C /dev/sdm /dev/sda: drive state is: standby
When issueing a
reboot command the console shows "
Deactivating swap..." and then staggered all 12 drives start to spinup as verified by sound and power consumption. Having a drive state change from standby to active can take up to 30 seconds. In other words a reboot now takes between 3 and 7 minutes. How long would a reboot take when 70 drives are attached!
Update #1 The issue is related to "sd" (storage device) that wishes to "Synchronizing SCSI cache" on each drive.
How to stop changing all drives its state from "standby" to "active" on reboot (most likely caused by the "deactivating swap" process)?
# uname -mrsn Linux debian 2.6.32-5-amd64 x86_64