Hi, I’m VERY new to OSMC and the Raspberry Pi in general so if you have any instructions to help me and my problem, I would be incredibly thankful but also I’d need a whole lot of help with specifics.
I have two external hard drives plugged into my Raspberry Pi 2 Model B, and both work fine within OSMC. I can watch video and all that. But when I check after an hour or so of inactivity, one drive is cool and not vibrating at all, which I take to mean it has properly spun down. The other drive, however, is warm, vibrating and apparently still spinning.
I’m not sure how to make this drive spin down. Any help would be appreciated.
Known bug should be fixed in RC2
I`m on RC2 on my pi2, and unfortunately my external HD doesn’t spin down.
[quote]Apr 18 08:47:01 osmc udisks-glue: Device file /dev/sda2 inserted
Apr 18 08:47:01 osmc connmand: Skipping disconnect of carrier, network is connecting.
Apr 18 08:47:02 osmc udisks-glue: Device file /dev/sda5 inserted
Apr 18 08:47:02 osmc udisks-glue: Trying to automount /dev/sda5…
Apr 18 08:47:02 osmc sudo: osmc : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/hdparm -S 240 /dev/sda5
Apr 18 08:47:02 osmc sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 18 08:47:02 osmc udisks-glue: HDIO_DRIVE_CMD(setidle) failed: Invalid argument
Apr 18 08:47:02 osmc sudo: pam_unix(sudo:session): session closed for user root
Apr 18 08:47:02 osmc udisks-glue: /dev/sda5:
Apr 18 08:47:02 osmc udisks-glue: setting standby to 240 (20 minutes)[/quote]
seems like udisk-glue is unable to set the spin down time?
It is a 1.5TB sata drive in a ‘Sharkoon Rapid-Case USB 3.0 - Storage enclosure - 3.5" - SATA’. just in case it matters.
udisks info gives:
[quote]osmc@osmc:~$ udisks --show-info /dev/sdb1
Showing information for /org/freedesktop/UDisks/devices/sdb1
detected at: Sat Apr 18 08:47:07 2015
system internal: 0
has media: 1 (detected at Sat Apr 18 08:47:07 2015)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /media/Movies
mounted by uid: 1000
presentation hide: 0
presentation nopolicy: 0
block size: 512
job underway: no
part of: /org/freedesktop/UDisks/devices/sdb
alignment offset: 0
when I try to set the spindown time I get:
This means that your drive does not support the spin down command. Not all drives do, depending on the USB to SATA controller that they are connected through.
/dev/sdb1 is not a drive, it is a partition. Try /dev/sdb instead - which refers to the drive.
I think there is a bug too, where udisks tries to set spindown time on a partition rather than the actual disk itself