Unwanted spin up, how to correctly use blkdevMonitor

Discussion about hard drive spin down (standby) feature of NAS.
qwerty6000
Starting out
Posts: 25
Joined: Thu Jun 09, 2016 4:38 pm

Re: Unwanted spin up, how to correctly use blkdevMonitor

Post by qwerty6000 » Fri Jul 29, 2016 3:09 pm

Hi guys, i wonder if anyone can jhelp me, my drives never go to sleep .... despite turning off just about everything I possibly can.

only thing i havent done is unplug the network lead, but for starters there should be no PC's on at home doing anything.

Here's a copy of my blkdevmonitor output

The culprit seems to be md1_raid5 , lvdisplay, and vgdisplay

However none of that tells me the "what" or "why"

The QNAP article seems to say to run the blkdevmonitor and that the smoking gun will be obvious, to me it's not.

Any ideas?


[~] # /root/blkdevMonitor_20151225.sh
===== Welcome to use blkdevMonitor_v2 on Fri Jul 29 14:50:09 WST 2016 =====
Stop klogd.sh daemon... Done
Turn off/on VM block_dump & Clean dmesg
Countdown: 3 2 1
Start...
============= 0/100 test, Fri Jul 29 14:50:24 WST 2016 ===============
<7>[75775.175432] smbd(20705): dirtied inode 80609300 (smbXsrv_open_global.tdb) on dm-0
<7>[75777.199607] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75777.199631] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75777.199645] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75777.199657] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75777.459525] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75777.459555] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75777.459568] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75777.459580] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75777.199657] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75777.459580] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75777.199607] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75777.459525] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75777.199645] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75777.459568] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75777.199631] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75777.459555] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 1/100 test, Fri Jul 29 14:50:44 WST 2016 ===============
<7>[75785.384508] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75785.384537] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75785.384550] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75785.384561] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75785.384561] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75785.384508] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75785.384550] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75785.384537] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 2/100 test, Fri Jul 29 14:50:55 WST 2016 ===============
<>780708]m1ri510) RT lc 80254o d3( etr)<>780701]m1ri510) RT lc 80254o d3( etr)<>780702]m1ri510) RT lc 80254o d3( etr)<>780703]m1ri510) RT lc 80254o d3( etr)<7>[75831.213036] smbd(20705): dirtied inode 80609300 (smbXsrv_open_global.tdb) on dm-0
<7>[75831.213047] smbd(20705): dirtied inode 80609300 (smbXsrv_open_global.tdb) on dm-0
<7>[75841.432485] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75841.432513] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75841.432526] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75841.432538] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75841.432538] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75841.432485] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75841.432526] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75841.432513] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 3/100 test, Fri Jul 29 14:51:49 WST 2016 ===============
<7>[75847.215594] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75847.215622] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75847.215638] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75847.215651] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75847.473487] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75847.473525] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75847.473540] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75847.473553] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75847.215651] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75847.473553] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75847.215594] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75847.473487] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75847.215638] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75847.473540] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75847.215622] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75847.473525] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 4/100 test, Fri Jul 29 14:51:54 WST 2016 ===============
<7>[75856.456468] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75856.456497] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75856.456510] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75856.456521] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75856.456521] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75856.456468] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75856.456510] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75856.456497] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 5/100 test, Fri Jul 29 14:52:03 WST 2016 ===============
<7>[75862.207580] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75862.207605] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75862.207619] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75862.207631] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75862.462468] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75862.462501] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75862.462515] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75862.462527] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75862.207631] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75862.462527] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75862.207580] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75862.462468] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75862.207619] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75862.462515] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75862.207605] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75862.462501] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 6/100 test, Fri Jul 29 14:52:09 WST 2016 ===============
<7>[75912.207538] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75912.207564] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75912.207576] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75912.207588] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75912.462438] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75912.462467] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75912.462480] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75912.462492] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75912.207588] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75912.462492] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75912.207538] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75912.462438] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75912.207576] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75912.462480] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75912.207564] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75912.462467] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 7/100 test, Fri Jul 29 14:53:01 WST 2016 ===============
<7>[75922.207529] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75922.207553] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[75922.207566] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75922.207579] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75922.207579] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[75922.207529] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[75922.207566] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[75922.207553] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 8/100 test, Fri Jul 29 14:53:09 WST 2016 ===============
<7>[75941.191628] lvdisplay(19040): READ block 0 on md1 (8 sectors)
<7>[75941.256712] lvdisplay(19053): READ block 0 on md1 (8 sectors)
<7>[75941.320661] lvdisplay(19066): READ block 0 on md1 (8 sectors)
<7>[75941.386284] lvdisplay(19083): READ block 0 on md1 (8 sectors)
<7>[75941.490656] lvs(19128): READ block 0 on md1 (8 sectors)

============= 9/100 test, Fri Jul 29 14:53:36 WST 2016 ===============
<7>[76169.400325] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76169.400354] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[76169.400367] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76169.400379] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76169.400379] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76169.400325] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76169.400367] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76169.400354] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 10/100 test, Fri Jul 29 14:57:16 WST 2016 ===============
<7>[76242.692482] lvdisplay(2710): READ block 0 on md1 (8 sectors)
<7>[76242.760950] lvdisplay(2780): READ block 0 on md1 (8 sectors)
<7>[76242.831859] lvdisplay(2900): READ block 0 on md1 (8 sectors)
<7>[76242.945300] lvs(3088): READ block 0 on md1 (8 sectors)
<7>[76243.014182] vgdisplay(3195): READ block 0 on md1 (8 sectors)
<7>[76243.083279] vgdisplay(3302): READ block 0 on md1 (8 sectors)
<7>[76243.157279] vgdisplay(3410): READ block 0 on md1 (8 sectors)
<7>[76243.224652] lvdisplay(3508): READ block 0 on md1 (8 sectors)
<7>[76243.293025] lvdisplay(3603): READ block 0 on md1 (8 sectors)
<7>[76243.359653] lvdisplay(3696): READ block 0 on md1 (8 sectors)
<7>[76243.428193] lvdisplay(3782): READ block 0 on md1 (8 sectors)
<7>[76243.540979] lvs(3943): READ block 0 on md1 (8 sectors)

============= 11/100 test, Fri Jul 29 14:58:30 WST 2016 ===============
<7>[76335.364850] setcfg(4715): dirtied inode 20166 (CACHEDEV1_DATA.log.bak) on md9
<7>[76335.374917] sed(4739): dirtied inode 20263 (CACHEDEV1_DATA.loghHBWia) on md9
<7>[76335.387601] setcfg(4754): dirtied inode 20166 (CACHEDEV1_DATA.log.bak) on md9
<7>[76335.911322] setcfg(5712): dirtied inode 20263 (CACHEDEV1_DATA.log.bak) on md9
<7>[76335.973031] setcfg(5824): dirtied inode 20166 (CACHEDEV1_DATA.log.bak) on md9
<7>[76336.172076] setcfg(6194): dirtied inode 20263 (CACHEDEV1_DATA.log.bak) on md9
<7>[76336.258774] vgdisplay(6242): READ block 0 on md1 (8 sectors)
<7>[76336.326725] vgdisplay(6546): READ block 0 on md1 (8 sectors)
<7>[76336.397330] vgdisplay(6647): READ block 0 on md1 (8 sectors)

============= 12/100 test, Fri Jul 29 15:00:03 WST 2016 ===============
<7>[76358.303377] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76358.303408] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[76358.303423] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76358.303435] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76358.590242] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76358.590270] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[76358.590283] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76358.590295] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76358.303435] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76358.590295] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76358.303377] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76358.590242] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76358.303423] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76358.590283] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76358.303408] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[76358.590270] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 13/100 test, Fri Jul 29 15:00:26 WST 2016 ===============
<7>[76364.408237] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76364.408267] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[76364.408280] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76364.408293] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76364.408293] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76364.408237] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76364.408280] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76364.408267] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 14/100 test, Fri Jul 29 15:00:32 WST 2016 ===============
<7>[76544.495993] vgdisplay(18739): READ block 0 on md1 (8 sectors)
<7>[76544.567812] vgdisplay(18818): READ block 0 on md1 (8 sectors)
<7>[76544.636202] lvdisplay(18906): READ block 0 on md1 (8 sectors)
<7>[76544.705031] lvdisplay(19015): READ block 0 on md1 (8 sectors)
<7>[76544.772860] lvdisplay(19131): READ block 0 on md1 (8 sectors)
<7>[76544.842981] lvdisplay(19249): READ block 0 on md1 (8 sectors)
<7>[76544.957474] lvs(19444): READ block 0 on md1 (8 sectors)
<7>[76545.026814] vgdisplay(19556): READ block 0 on md1 (8 sectors)
<7>[76545.095755] vgdisplay(19668): READ block 0 on md1 (8 sectors)
<7>[76545.166287] vgdisplay(19779): READ block 0 on md1 (8 sectors)
<7>[76545.234992] lvdisplay(19864): READ block 0 on md1 (8 sectors)
<7>[76545.304125] lvdisplay(19968): READ block 0 on md1 (8 sectors)
<7>[76545.371386] lvdisplay(20073): READ block 0 on md1 (8 sectors)
<7>[76545.441218] lvdisplay(20178): READ block 0 on md1 (8 sectors)

============= 15/100 test, Fri Jul 29 15:03:32 WST 2016 ===============
<7>[76588.432119] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76588.432148] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)
<7>[76588.432163] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76588.432174] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76588.432174] md1_raid5(1606): WRITE block 5840623504 on sda3 (1 sectors)
<7>[76588.432119] md1_raid5(1606): WRITE block 5840623504 on sdb3 (1 sectors)
<7>[76588.432163] md1_raid5(1606): WRITE block 5840623504 on sdc3 (1 sectors)
<7>[76588.432148] md1_raid5(1606): WRITE block 5840623504 on sdd3 (1 sectors)

============= 16/100 test, Fri Jul 29 15:04:16 WST 2016 ===============

Post Reply

Return to “HDD Spin Down (HDD Standby)”