Dynamix WebGUI - Disk spin down timer issue


19 posts in this topic Last Reply

Recommended Posts

unRAID OS Version: unRAID 6b12

 

Description: Disk status indicator and temperature are not accurately reflected on the Dashboard or Main pages.

 

How to reproduce: Allow inactivity to spin down disks. Check syslog and unmenu to verify.

 

Expected results: All array disks should show as spun down. No temps should be shown.

 

Actual results:  All array disks except disk 12 show as spun down and disk 12 shows a temperature.

 

Other information: This did not happen under unRAID 6b10a. I've rebooted several times, tried 3 browsers, and cleared their browser cache.

 

Attached pictures and syslog:

 

 

http://1drv.ms/1w1iYZS

 

http://1drv.ms/1w1j2Zy

 

http://1drv.ms/1w1j6bJ

 

 

Thanks,

 

Gary

 

Edit: Updated subject and problem

syslog.txt

Link to post

Thanks Thornwood. You could be right about Dynamix disk temps not being displayed on disks that are spundown. I just haven't used Dynamix since unRAID 6b2.

 

Disk temps are being displayed in unmenu mymain page even though they are spun down. Only my WD drives do this. So, I assumed Dynamix did show temps on spun down drives. So, if Dynamix does not show temps on spun down drives, then the problem is that Dynamix is not updating disk 12 when the drives automatically spin down.

 

I'll restate the symptoms again so I don't confuse anyone.

 

Syslog:

Shows all disks spun down except cache drive. This was done by spin down timer.

 

Mymain:

Shows all disks spun down except cache drive. All WD drives show temps even though they are spun down.

 

Dynamix:

Shows all disks spun down except disk 12 and cache drive. Disk 12 shows temp.

 

Other information:

I don't use cache dirs or docker and use 1 spin up group for all disks. If I manually spin down all disks, then Dynamix shows that they are all spun down and no disk temps get displayed.

 

So, based on this and what Thornwood has told me, I think the problem now is that the disk 12 status is not getting updated when the spin down timer automatically spins down the drives.

 

Gary

Link to post

More info:

 

lsof | grep disk

 

Returns no results

 

lsof | grep /mnt/

 

Returns my Windows7.qcow file open. This is in use for my Windows7 VM under Xen which resides on an SSD outside of the array.

 

Disk 12 still shows it is spinning, shows smart status indicator, and displays a temp. Syslog and unmenu show disk 12 as not spinning.

 

Anything else I can do to help with this issue?

 

Gary

 

Edit: Attached a new syslog

syslog.txt

Link to post

hdparm -C /dev/sdm

 

/dev/sdm:
drive state is:  active/idle

 

smartctl -a /dev/sdm

smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.17.4-unRAID] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WCAZA4999014
LU WWN Device Id: 5 0014ee 2059a5203
Firmware Version: 51.0AB51
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Wed Dec  3 17:30:08 2014 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
                                        was suspended by an interrupting command from host.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (36180) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 349) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3035) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   214   162   021    Pre-fail  Always       -       4291
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2875
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   069   069   000    Old_age   Always       -       23340
10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       205
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       57
193 Load_Cycle_Count        0x0032   008   008   000    Old_age   Always       -       577606
194 Temperature_Celsius     0x0022   126   111   000    Old_age   Always       -       24
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

 

lsof | grep /mnt/disk12  Does not return any results

 

So it appears it isn't spinning down automatically.

syslog.txt

Link to post

try

fuser -cu /mnt/disk12

can you try to issue

 

hdparm -y /dev/sdm

 

This will spin down the drive.

 

then do

hdparm -C /dev/sdm

 

There are some counters that emhttp is tracking in /proc or /sys that determine if the device is being read.

I cannot remember what they are at the moment, maybe someone else will know before I figure it out.

 

Also dump out the disk.cfg file in /boot/config/disk.cfg

 

cat /boot/config/disk.cfg

Link to post

Thanks WeeboTech. Here are the commands and results.

 

fuser -cu /mnt/disk12

No results returned by fuser.

 

hdparm -y /dev/sdm

issuing standby command

Dynamix now shows disk 12 as spun down after this command.

 

hdparm -C /dev/sdm

drive state is:  standby

 

root@FileSvr:~# cat /boot/config/disk.cfg
# Generated settings:
startArray="yes"
spindownDelay="3"
queueDepth="1"
spinupGroups="yes"
defaultFormat="2"
defaultFsType="xfs"
poll_spindown="10"
md_num_stripes="1536"
md_write_limit="768"
md_sync_window="640"
diskFsType.0="reiserfs"
diskSpindownDelay.0="-1"
diskSpinupGroup.0="host7"
diskFsType.1="reiserfs"
diskSpindownDelay.1="-1"
diskSpinupGroup.1="Movies"
diskExport.1="eh"
diskSecurity.1="secure"
diskReadList.1="crystal,hometheater,livingroom,mbedroom"
diskWriteList.1="gary"
diskExportNFS.1="-"
diskSecurityNFS.1="public"
diskHostListNFS.1=""
diskExportAFP.1="-"
diskSecurityAFP.1="public"
diskReadListAFP.1=""
diskWriteListAFP.1=""
diskVolsizelimitAFP.1=""
diskVoldbpathAFP.1=""
diskFsType.2="reiserfs"
diskSpindownDelay.2="-1"
diskSpinupGroup.2="Movies"
diskExport.2="eh"
diskSecurity.2="secure"
diskReadList.2="crystal,hometheater,livingroom,mbedroom"
diskWriteList.2="gary"
diskExportNFS.2="-"
diskSecurityNFS.2="public"
diskHostListNFS.2=""
diskExportAFP.2="-"
diskSecurityAFP.2="public"
diskReadListAFP.2=""
diskWriteListAFP.2=""
diskVolsizelimitAFP.2=""
diskVoldbpathAFP.2=""
diskFsType.3="reiserfs"
diskSpindownDelay.3="-1"
diskSpinupGroup.3="Movies"
diskExport.3="eh"
diskSecurity.3="secure"
diskReadList.3="crystal,hometheater,livingroom,mbedroom"
diskWriteList.3="gary"
diskExportNFS.3="-"
diskSecurityNFS.3="public"
diskHostListNFS.3=""
diskExportAFP.3="-"
diskSecurityAFP.3="public"
diskReadListAFP.3=""
diskWriteListAFP.3=""
diskVolsizelimitAFP.3=""
diskVoldbpathAFP.3=""
diskFsType.4="reiserfs"
diskSpindownDelay.4="-1"
diskSpinupGroup.4="Movies"
diskExport.4="eh"
diskSecurity.4="secure"
diskReadList.4="crystal,hometheater,livingroom,mbedroom"
diskWriteList.4="gary"
diskExportNFS.4="-"
diskSecurityNFS.4="public"
diskHostListNFS.4=""
diskExportAFP.4="-"
diskSecurityAFP.4="public"
diskReadListAFP.4=""
diskWriteListAFP.4=""
diskVolsizelimitAFP.4=""
diskVoldbpathAFP.4=""
diskFsType.5="reiserfs"
diskSpindownDelay.5="-1"
diskSpinupGroup.5="Movies"
diskExport.5="eh"
diskSecurity.5="secure"
diskReadList.5="crystal,hometheater,livingroom,mbedroom"
diskWriteList.5="gary"
diskExportNFS.5="-"
diskSecurityNFS.5="public"
diskHostListNFS.5=""
diskExportAFP.5="-"
diskSecurityAFP.5="public"
diskReadListAFP.5=""
diskWriteListAFP.5=""
diskVolsizelimitAFP.5=""
diskVoldbpathAFP.5=""
diskFsType.6="reiserfs"
diskSpindownDelay.6="-1"
diskSpinupGroup.6="Movies"
diskExport.6="eh"
diskSecurity.6="secure"
diskReadList.6="crystal,hometheater,livingroom,mbedroom"
diskWriteList.6="gary"
diskExportNFS.6="-"
diskSecurityNFS.6="public"
diskHostListNFS.6=""
diskExportAFP.6="-"
diskSecurityAFP.6="public"
diskReadListAFP.6=""
diskWriteListAFP.6=""
diskVolsizelimitAFP.6=""
diskVoldbpathAFP.6=""
diskFsType.7="reiserfs"
diskSpindownDelay.7="-1"
diskSpinupGroup.7="Movies"
diskExport.7="eh"
diskSecurity.7="secure"
diskReadList.7="crystal,hometheater,livingroom,mbedroom"
diskWriteList.7="gary"
diskExportNFS.7="-"
diskSecurityNFS.7="public"
diskHostListNFS.7=""
diskExportAFP.7="-"
diskSecurityAFP.7="public"
diskReadListAFP.7=""
diskWriteListAFP.7=""
diskVolsizelimitAFP.7=""
diskVoldbpathAFP.7=""
diskFsType.8="reiserfs"
diskSpindownDelay.8="-1"
diskSpinupGroup.8="Movies"
diskExport.8="eh"
diskSecurity.8="secure"
diskReadList.8="crystal,hometheater,livingroom,mbedroom"
diskWriteList.8="gary"
diskExportNFS.8="-"
diskSecurityNFS.8="public"
diskHostListNFS.8=""
diskExportAFP.8="-"
diskSecurityAFP.8="public"
diskReadListAFP.8=""
diskWriteListAFP.8=""
diskVolsizelimitAFP.8=""
diskVoldbpathAFP.8=""
diskFsType.9="reiserfs"
diskSpindownDelay.9="-1"
diskSpinupGroup.9="Movies"
diskExport.9="eh"
diskSecurity.9="secure"
diskReadList.9="crystal,hometheater,livingroom,mbedroom"
diskWriteList.9="gary"
diskExportNFS.9="-"
diskSecurityNFS.9="public"
diskHostListNFS.9=""
diskExportAFP.9="-"
diskSecurityAFP.9="public"
diskReadListAFP.9=""
diskWriteListAFP.9=""
diskVolsizelimitAFP.9=""
diskVoldbpathAFP.9=""
diskFsType.10="reiserfs"
diskSpindownDelay.10="-1"
diskSpinupGroup.10="Movies"
diskExport.10="eh"
diskSecurity.10="secure"
diskReadList.10="crystal,hometheater,livingroom,mbedroom"
diskWriteList.10="gary"
diskExportNFS.10="-"
diskSecurityNFS.10="public"
diskHostListNFS.10=""
diskExportAFP.10="-"
diskSecurityAFP.10="public"
diskReadListAFP.10=""
diskWriteListAFP.10=""
diskVolsizelimitAFP.10=""
diskVoldbpathAFP.10=""
diskFsType.11="reiserfs"
diskSpindownDelay.11="-1"
diskSpinupGroup.11="Movies"
diskExport.11="eh"
diskSecurity.11="secure"
diskReadList.11="crystal,hometheater,livingroom,mbedroom"
diskWriteList.11="gary"
diskExportNFS.11="-"
diskSecurityNFS.11="public"
diskHostListNFS.11=""
diskExportAFP.11="-"
diskSecurityAFP.11="public"
diskReadListAFP.11=""
diskWriteListAFP.11=""
diskVolsizelimitAFP.11=""
diskVoldbpathAFP.11=""
diskFsType.12="reiserfs"
diskSpindownDelay.12="-1"
diskSpinupGroup.12="Movies"
diskExport.12="eh"
diskSecurity.12="secure"
diskReadList.12="crystal,hometheater,livingroom,mbedroom"
diskWriteList.12="gary"
diskExportNFS.12="-"
diskSecurityNFS.12="public"
diskHostListNFS.12=""
diskExportAFP.12="-"
diskSecurityAFP.12="public"
diskReadListAFP.12=""
diskWriteListAFP.12=""
diskVolsizelimitAFP.12=""
diskVoldbpathAFP.12=""
diskFsType.13="reiserfs"
diskSpindownDelay.13="-1"
diskSpinupGroup.13=""
diskExport.13="e"
diskSecurity.13="public"
diskReadList.13=""
diskWriteList.13=""
diskExportNFS.13="-"
diskSecurityNFS.13="public"
diskHostListNFS.13=""
diskExportAFP.13="-"
diskSecurityAFP.13="public"
diskReadListAFP.13=""
diskWriteListAFP.13=""
diskVolsizelimitAFP.13=""
diskVoldbpathAFP.13=""
diskFsType.14="reiserfs"
diskSpindownDelay.14="-1"
diskSpinupGroup.14=""
diskExport.14="e"
diskSecurity.14="public"
diskReadList.14=""
diskWriteList.14=""
diskExportNFS.14="-"
diskSecurityNFS.14="public"
diskHostListNFS.14=""
diskExportAFP.14="-"
diskSecurityAFP.14="public"
diskReadListAFP.14=""
diskWriteListAFP.14=""
diskVolsizelimitAFP.14=""
diskVoldbpathAFP.14=""
diskFsType.15="reiserfs"
diskSpindownDelay.15="-1"
diskSpinupGroup.15=""
diskExport.15="e"
diskSecurity.15="public"
diskReadList.15=""
diskWriteList.15=""
diskExportNFS.15="-"
diskSecurityNFS.15="public"
diskHostListNFS.15=""
diskExportAFP.15="-"
diskSecurityAFP.15="public"
diskReadListAFP.15=""
diskWriteListAFP.15=""
diskVolsizelimitAFP.15=""
diskVoldbpathAFP.15=""
diskFsType.16="reiserfs"
diskSpindownDelay.16="-1"
diskSpinupGroup.16=""
diskExport.16="e"
diskSecurity.16="public"
diskReadList.16=""
diskWriteList.16=""
diskExportNFS.16="-"
diskSecurityNFS.16="public"
diskHostListNFS.16=""
diskExportAFP.16="-"
diskSecurityAFP.16="public"
diskReadListAFP.16=""
diskWriteListAFP.16=""
diskVolsizelimitAFP.16=""
diskVoldbpathAFP.16=""
diskFsType.17="reiserfs"
diskSpindownDelay.17="-1"
diskSpinupGroup.17=""
diskExport.17="e"
diskSecurity.17="public"
diskReadList.17=""
diskWriteList.17=""
diskExportNFS.17="-"
diskSecurityNFS.17="public"
diskHostListNFS.17=""
diskExportAFP.17="-"
diskSecurityAFP.17="public"
diskReadListAFP.17=""
diskWriteListAFP.17=""
diskVolsizelimitAFP.17=""
diskVoldbpathAFP.17=""
diskFsType.18="reiserfs"
diskSpindownDelay.18="-1"
diskSpinupGroup.18=""
diskExport.18="e"
diskSecurity.18="public"
diskReadList.18=""
diskWriteList.18=""
diskExportNFS.18="-"
diskSecurityNFS.18="public"
diskHostListNFS.18=""
diskExportAFP.18="-"
diskSecurityAFP.18="public"
diskReadListAFP.18=""
diskWriteListAFP.18=""
diskVolsizelimitAFP.18=""
diskVoldbpathAFP.18=""
diskFsType.19="reiserfs"
diskSpindownDelay.19="-1"
diskSpinupGroup.19=""
diskExport.19="e"
diskSecurity.19="public"
diskReadList.19=""
diskWriteList.19=""
diskExportNFS.19="-"
diskSecurityNFS.19="public"
diskHostListNFS.19=""
diskExportAFP.19="-"
diskSecurityAFP.19="public"
diskReadListAFP.19=""
diskWriteListAFP.19=""
diskVolsizelimitAFP.19=""
diskVoldbpathAFP.19=""
diskFsType.20="reiserfs"
diskSpindownDelay.20="-1"
diskSpinupGroup.20=""
diskExport.20="e"
diskSecurity.20="public"
diskReadList.20=""
diskWriteList.20=""
diskExportNFS.20="-"
diskSecurityNFS.20="public"
diskHostListNFS.20=""
diskExportAFP.20="-"
diskSecurityAFP.20="public"
diskReadListAFP.20=""
diskWriteListAFP.20=""
diskVolsizelimitAFP.20=""
diskVoldbpathAFP.20=""
diskFsType.21="reiserfs"
diskSpindownDelay.21="-1"
diskSpinupGroup.21=""
diskExport.21="e"
diskSecurity.21="public"
diskReadList.21=""
diskWriteList.21=""
diskExportNFS.21="-"
diskSecurityNFS.21="public"
diskHostListNFS.21=""
diskExportAFP.21="-"
diskSecurityAFP.21="public"
diskReadListAFP.21=""
diskWriteListAFP.21=""
diskVolsizelimitAFP.21=""
diskVoldbpathAFP.21=""
diskFsType.22="reiserfs"
diskSpindownDelay.22="-1"
diskSpinupGroup.22=""
diskExport.22="e"
diskSecurity.22="public"
diskReadList.22=""
diskWriteList.22=""
diskExportNFS.22="-"
diskSecurityNFS.22="public"
diskHostListNFS.22=""
diskExportAFP.22="-"
diskSecurityAFP.22="public"
diskReadListAFP.22=""
diskWriteListAFP.22=""
diskVolsizelimitAFP.22=""
diskVoldbpathAFP.22=""
diskFsType.23="reiserfs"
diskSpindownDelay.23="-1"
diskSpinupGroup.23=""
diskExport.23="e"
diskSecurity.23="public"
diskReadList.23=""
diskWriteList.23=""
diskExportNFS.23="-"
diskSecurityNFS.23="public"
diskHostListNFS.23=""
diskExportAFP.23="-"
diskSecurityAFP.23="public"
diskReadListAFP.23=""
diskWriteListAFP.23=""
diskVolsizelimitAFP.23=""
diskVoldbpathAFP.23=""
cacheId="WDC_WD6400AAKS-00A7B0_WD-WMASY1070643"
cacheUUID=""
cacheFsType="btrfs"
cacheSpindownDelay="-1"
cacheSpinupGroup=""
cacheExport="eh"
cacheSecurity="secure"
cacheReadList="crystal,hometheater,livingroom,mbedroom"
cacheWriteList="gary"
cacheExportNFS="-"
cacheSecurityNFS="public"
cacheHostListNFS=""
cacheExportAFP="-"
cacheSecurityAFP="public"
cacheReadListAFP=""
cacheWriteListAFP=""
cacheVolsizelimitAFP=""
cacheVoldbpathAFP=""
root@FileSvr:~#

 

 

Gary

 

Link to post

Hmm... I'm not seeing anything obvious.


root@unRAID:/boot/config# grep -i 'spindownDelay' /tmp/file
spindownDelay="3"
diskSpindownDelay.0="-1"
diskSpindownDelay.1="-1"
diskSpindownDelay.2="-1"
diskSpindownDelay.3="-1"
diskSpindownDelay.4="-1"
diskSpindownDelay.5="-1"
diskSpindownDelay.6="-1"
diskSpindownDelay.7="-1"
diskSpindownDelay.8="-1"
diskSpindownDelay.9="-1"
diskSpindownDelay.10="-1"
diskSpindownDelay.11="-1"
diskSpindownDelay.12="-1"
diskSpindownDelay.13="-1"
diskSpindownDelay.14="-1"
diskSpindownDelay.15="-1"
diskSpindownDelay.16="-1"
diskSpindownDelay.17="-1"
diskSpindownDelay.18="-1"
diskSpindownDelay.19="-1"
diskSpindownDelay.20="-1"
diskSpindownDelay.21="-1"
diskSpindownDelay.22="-1"
diskSpindownDelay.23="-1"
cacheSpindownDelay="-1"

Link to post

unRAID OS Version: unRAID 6b12

 

Description: Disk status indicator and temperature are not accurately reflected on the Dashboard or Main pages.

 

How to reproduce: Allow inactivity to spin down disks. Check syslog and unmenu to verify.

 

Expected results: All array disks should show as spun down. No temps should be shown.

 

Actual results:  All array disks except disk 12 show as spun down and disk 12 shows a temperature.

 

Other information: This did not happen under unRAID 6b10a. I've rebooted several times, tried 3 browsers, and cleared their browser cache.

 

Attached pictures and syslog:

 

 

http://1drv.ms/1w1iYZS

 

http://1drv.ms/1w1j2Zy

 

http://1drv.ms/1w1j6bJ

 

 

Thanks,

 

Gary

 

Edit: Updated subject and problem

 

Please boot into safemode, discontinue use of all plugins, and report back if this issue persists.  Need to rule out any possibilities of plugins affecting this before we can dig deeper.

Link to post

I'm pre-clearing a drive at the moment and will do a drive replacement after that. Once that is complete, I'll test further with no plugins or Xen.

 

Gary

 

Well you can keep using Xen, it's just the plugins for now that I want to make sure aren't causing this.

 

And your VM doesn't have any drive mappings to disk 12 or anything like that, right?

Link to post

No drive mappings used in the VM. Besides nightly PC backups and my tinkering lately, my unRAID server only gets used twice a week on average. The drives are spun down most of the time, except disk 12. LOL. They have been spun down since 8:00 this morning and I have just spun them up now.

 

Gary

Link to post

This seems to be a plugin issue in my limited testing so far. Booting into unRAID w/ Xen safe mode does perform a proper spin down as I would expect.

 

Booting into unRAID w/ Xen with a VM running, and apcupsd and powerdown plugins enabled, still exhibit proper spin down behavior. I'm in the process of narrowing down which plugin it is and will report back with my findings. I'm going to mark this as solved as it does not appear to be a core unRAID 6b12 problem.

 

Gary

Link to post

Update: Well, I thought I had this problem solved as removing all of my plugins and booting into safe mode with a stock go file appeared to allow my disk 12 (disk 12 is now disk 9 as I did a new config). In the process of trying to find out what plugin exactly caused the problem, I think that it may not be a addon plugin at all.

 

Booting into a stock unRAID 6b12 in Xen mode, no plugins, did not provide consistent results as disk 9 did not always spin down. The behavior was a lot less frequent but not consistent. The only variable left was mounting my SSD outside of the array through the go file. I'm not running VM's during testing. Just mounting the SSD outside of the array. I'm still testing this for consistency, but so far, my disk 9 has always spun down.

Link to post

An SSD should not affect spin down or spin up in the slightest way.  They don't themselves spin up or down, and shouldn't affect that ability of other drives, the 'spinners'.  The only way I can think of an SSD being involved is if Spin groups are enabled and the spin group labels are mixed up, which could happen if drives are being moved around and the labels aren't correct.  I suppose if Disk 9 and the SSD had the same label, then a spin down command to the SSD's group might be ignored, leaving Disk 9 spun up.  (Label may not be the correct word, but I can't remember what the correct word should be!)

Link to post

You're right. But I'm just reporting what I find. Every time I think I am close to an answer, something disproves it. Oddly enough, if I boot up unRAID 6b12 with all my plugins, but disable the lines in my go file that mount the SSD outside of the array and don't start my Xen VM, disk 9 spins down every time.

 

With a fresh unRAID installation and no plugins, no VM, but mounting the SSD outside the array, 1 out of 10 times, disk 9 will not spin down automatically. This behavior is so sporadic without any rhyme or reason, that it is hard to find a cause. I have to reboot each time during testing because I have also found that changing the spin down timer and waiting allows disk 9 to spin down as normal, even with all plugins loaded. Example: I can boot up and wait 30 minutes and all drives except disk 9 spin down. Then, spin up all the drives, change the timer to 15 minutes, then wait, and all drives including disk 9 will spin down. If I boot up and don't touch anything, disk 9 never spins down. Very weird issue.

 

All drives are on the same spin up group. SSD is outside of the array so it can't be assigned a spin up group. It is actually on it's own controller too.

 

I'm short on time the next few days but I will keep trying to see if I can get to the bottom of this.

 

Gary

 

Edit: added some config info.

 

Go file lines that mount my SSD.

 

mkdir /mnt/SSD
mount -rw -o noatime,nodiratime,discard -t ext4 /dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0WFNYABC00539-part1 /mnt/SSD

 

smb-extra.conf

 

[sSD]
path = /mnt/SSD
security = USER
guest account = nobody
public = yes
guest ok = yes
map to guest = bad user
read only = no
browseable = yes

 

Plugin List

 

Powerdown
Apcupsd
Virtman Libvirt
VM Manager
Dynamix System Info
Dynamix System Stats
Dynamix Active Streams
Dynamix System Temp
unMenu

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.