do you know how to disable the kernel function that automatically spins up a standby HDD?
I.e:
- I power off a secondary HDD (sdb) in my machine
- I try and mount it (mount /dev/sdb1 /mnt)
- I would genuinely expect an error
- kernel automatically spins up the HDD
- the HDD mounts correctly
/var/log/messages shows the following
Code: Select all
kernel: sd 0:0:0:0: [sdb] Spinning up disk...
kernel: .....ready
kernel: sdb: sdb1
Any idea on how to force kernel not to spin up the drive for me?
Thanks.