Hi
I upgraded from OMV 4 to OMV5 some time ago using the community provided script. This all seemed to work ok, but since then my hard drives never spin down. I'm sure before the upgrade they used to. I don't want to actually spin down all my drives, just my USB external drives that I use for SnapRAID Parity and general data backup.
I tried the hd-idle installation that has been posted in the guides section of this forum.
This has not helped, but the log has shown me that approx every 1 minute the disks get written to, and this is why they don't ever sleep.
In the hd-idle log I get this sort of thing:
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sdb command=ata spunDown=false reads=3551960 writes=3336326 idleTime=1200 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:26
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sdd command=ata spunDown=false reads=1118967 writes=11560 idleTime=1200 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:26
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sdc command=ata spunDown=false reads=882345 writes=11374 idleTime=1200 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:26
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sda command=ata spunDown=false reads=7805837 writes=14767371 idleTime=0 idleDuration=1 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:25
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sde command=ata spunDown=false reads=89717 writes=5874 idleTime=1200 idleDuration=59 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:32:27
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sdf command=ata spunDown=false reads=1086374 writes=33610 idleTime=1200 idleDuration=59 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:32:27
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sdg command=scsi spunDown=false reads=93551 writes=2370 idleTime=0 idleDuration=58 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:32:28
Jan 23 18:33:26 svr-nas-001 hd-idle[6585]: disk=sdh command=scsi spunDown=false reads=432010 writes=1124 idleTime=0 idleDuration=58 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:32:28
Then this. i.e. They all get written to around the same time (60 seconds) and their idle duration reverts to 0:
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sdb command=ata spunDown=false reads=3551960 writes=3336326 idleTime=1200 idleDuration=1 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:26
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sdd command=ata spunDown=false reads=1118974 writes=11560 idleTime=1200 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:27
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sdc command=ata spunDown=false reads=882345 writes=11374 idleTime=1200 idleDuration=1 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:26
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sda command=ata spunDown=false reads=7805837 writes=14767371 idleTime=0 idleDuration=2 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:25
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sde command=ata spunDown=false reads=89736 writes=5878 idleTime=1200 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:27
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sdf command=ata spunDown=false reads=1086393 writes=33614 idleTime=1200 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:27
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sdg command=scsi spunDown=false reads=93569 writes=2374 idleTime=0 idleDuration=0 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:33:27
Jan 23 18:33:27 svr-nas-001 hd-idle[6585]: disk=sdh command=scsi spunDown=false reads=432010 writes=1124 idleTime=0 idleDuration=59 spindown=0001-01-01T00:00:00 spinup=2021-01-23T17:44:13 lastIO=2021-01-23T18:32:28
My setup is 4 X ata disks in Snapraid/Unionfs. 1 X ata disk as standalone. 2 X external USB drives (for backup & snapraid parity).
Seems like there is something writing but have no idea what this is.
I'm tempted to setup a new copy of OMV 5 from fresh and try that as I use docker-compose so wouldn't be a massive task, but would probably end up being a few hours messing around!
So just wondered if anyone has any ideas what could be writing to all the disks every 60 seconds or so? I've switched everything pff (schedules, SMART, monitoring etc) and tried shutting down my docker containers. Nothing seems to help!
TIA!
Will.