I’ve installed version 13.04 (timestamp 2013-05-29).
Configured the whole the system, gave it a static IP, etc.
I want to use the BBB as a rsync backup server.
I’m testing the USB drive (3TB, USB3) right now and running into a small issue.
I created a partition and filesystem (ext4) on the disk. In fstab I added this line:
/dev/sda1 /mnt/data ext4 defaults,noatime 0 0
When mounted is says:
/dev/sda1 2884024544 74736 2737443056 1% /mnt/data
So all looks good.
But when the drive is mounted, it refuses to spin down. Which ever tool I use (hdparm, sdparm and even hd-idle), all don’t work.
It looks like when the drive is mounted it has a hold on the drive and will not let go.
As soon as the drive is unmounted again it spin down almost instantly.
Is there a way to spin down the drive even if it is mounted?
For now I can adjust my script to unmount drive after backup and mount it when starting the backup, but I rather not.
Any help would be welcome!
For testing I’ve changed the spindown idle time to 5 seconds.
hdparm -S 1 /dev/sda1
setting standby to 1 (5 seconds)
And yes, the drive spins down. But unfortunately it starts to spin up right after the spindown. And 5 seconds later it does the same thing all over again.
Setting the spindown idle time back to 15 minutes:
hdparm -S 180 /dev/sda1
setting standby to 180 (15 minutes)
And the drive keeps spinning.
lsof says that there are no processes running on the mountpoint (/mnt/data) or the disk (/dev/sda1).
I also followed these steps to ensure that nothing is running, that could access the drive.
I’m getting more and more the idea that there is some kernel process interfering or running a heartbeat on the mountpoint, because the access led on the USB HDD case is blinking every 5 seconds.
Is anybody else experiencing the same issue?
Any help is welcome!