PyCoder Posted December 5, 2021 Share Posted December 5, 2021 Hi I've a little issues with my unraid: 1) Unraid is not putting my zpool drives to sleep even tough I used "hdparm -S 120 /dev/sdg /dev/sde". 2) When I put my zpool manually by pressing the button to sleep unraid will wake the pool up after 5 min I can't figure out whats the issue iotop and lsof doesn't show me anything and zpool iostats has r/w of 1 for the zpool batcave Someone knows whats going on and can help? PS. It's working with Truenas Scale for some reason or when I export the zpool PPS. I have to put the drives to sleep cause the WD Red Plus are noise af and hot af! root@Deadpool:~# zpool iostat -vv capacity operations bandwidth pool alloc free read write read write -------------------------------------------- ----- ----- ----- ----- ----- ----- batcave 4.22T 4.87T 1 1 8.73K 22.3K mirror 4.22T 4.87T 1 1 8.73K 22.3K ata-WDC_WD101EFBX-68B0AN0_VCJ3DM4P - - 0 0 4.36K 11.2K ata-WDC_WD101EFBX-68B0AN0_VCJ3A0MP - - 0 0 4.38K 11.2K -------------------------------------------- ----- ----- ----- ----- ----- ----- deadpool 5.81T 1.45T 2 2 15.6K 28.3K raidz1 5.81T 1.45T 2 2 15.6K 28.3K ata-WDC_WD20EFRX-68EUZN0_WD-WCC4MJJZXUS6 - - 0 0 3.99K 7.17K ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M2CE11LH - - 0 0 3.95K 7.10K ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M7SEZK5A - - 0 0 3.80K 7.03K ata-ST2000VN004-2E4164_Z529JXWQ - - 0 0 3.87K 7.00K -------------------------------------------- ----- ----- ----- ----- ----- ----- root@Deadpool:~# root@Deadpool:~# lsof /batcave/ root@Deadpool:~# Total DISK READ : 0.00 B/s | Total DISK WRITE : 0.00 B/s Actual DISK READ: 0.00 B/s | Actual DISK WRITE: 0.00 B/s TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND 1 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % init 2 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kthreadd] 3 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_gp] 4 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_par_gp] 5 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/0:0-events] 6 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/0:0H-events_highpri] 8 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [mm_percpu_wq] 9 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0] 10 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_sched] 11 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/0] 12 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [cpuhp/0] 13 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [cpuhp/1] 14 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/1] 15 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/1] 16 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/1:0-events] 17 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/1:0H-kblockd] 18 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [cpuhp/2] 19 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/2] 20 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/2] 22 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/2:0H-kblockd] 23 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [cpuhp/3] 24 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/3] 25 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/3] 27 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/3:0H-events_highpri] 28 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kdevtmpfs] 29 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [netns] 30 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/u64:1-flush-8:0] 11295 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [xfs-cil/md1] 11296 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [xfs-reclaim/md1] 11297 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [xfs-eofblocks/m] 11298 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [xfs-log/md1] 1115 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [usb-storage] 9713 be/7 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_checkpoint_di] 42 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/3:1-md] 1415 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [scsi_eh_3] 49 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/0:2-events] 11315 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % shfs /mnt/user0 -disks 2 -o noatime,allow_other 11316 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % shfs /mnt/user0 -disks 2 -o noatime,allow_other 1077 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/0:1H-kblockd] 1078 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ipv6_addrconf] 9784 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_null_iss] 9785 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_null_int] 9786 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_rd_iss] 9787 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_rd_int] 9788 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_rd_int] 9789 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_rd_int] 9790 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_rd_int] 9791 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_rd_int] 1600 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % rsyslogd -i /var/run/rsyslogd.pid 1601 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % rsyslogd -i /var/run/rsyslogd.pid [in:imuxsock] 1602 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % rsyslogd -i /var/run/rsyslogd.pid [in:imklog] 1603 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % rsyslogd -i /var/run/rsyslogd.pid [rs:main Q:Reg] 9796 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_iss] 1093 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/1:3-events] 9798 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_iss_h] 9799 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 9800 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 9801 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 9802 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 9803 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 9804 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 9805 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_wr_int] 1102 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [scsi_eh_0] 11277 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % bash /usr/local/emhttp/webGui/scripts/diskload 80 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/2:1-events] 1105 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [usb-storage] 9810 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_fr_iss] 9811 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_fr_iss] 9812 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_fr_iss] 9813 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_fr_iss] 9814 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_fr_iss] 1111 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [scsi_eh_1] 9816 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [z_fr_int] 1113 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [scsi_tmf_1] Link to comment
Squid Posted December 5, 2021 Share Posted December 5, 2021 Not sure if Unraid will ever manage (ie: spin down) drives that are outside of it's control (or UD's) Probably best to ask in the zfs thread. 1 Link to comment
PyCoder Posted December 7, 2021 Author Share Posted December 7, 2021 (edited) On 12/5/2021 at 7:19 PM, Squid said: Not sure if Unraid will ever manage (ie: spin down) drives that are outside of it's control (or UD's) Probably best to ask in the zfs thread. I mean I can put the drives to sleep by myself but why are they waking up? There is 0 read / write to the drives and on TrueNAS i dont have to export them to make them sleep. So it must be some unraid stuff that is going on? I made a script now that exports the drives and puts them to sleep. Edited December 7, 2021 by PyCoder Link to comment
BRiT Posted December 7, 2021 Share Posted December 7, 2021 Ask in the ZFS plugin support thread. Link to comment
Recommended Posts