March 24, 201412 yr For someone who is not familiar with linux/unix command line at all, can someone give me instructions (or point me in the right direction) to the best way to test the disks in my array? I'd like to be able to periodically test my disks to make sure they are in good working order and not failing in any way. Thanks in advance guys.
March 24, 201412 yr If you have unMENU installed it has pretty simple webgui (Disk Management) that you can run smart tests with. If you don't, I would recommend to install it: http://lime-technology.com/wiki/index.php/Configuration_Tutorial#Install_UnMENU I'm pretty bad at linuxing myself too.
March 24, 201412 yr If i start a smart check from within unmenu it starts, says ' this could take some time' and it never shows any results... must be saved of logged somewhere, but for non linux people even unmenu is too complex. Maybe a simple command line is better after all...
March 24, 201412 yr From unMENU Disk Management page: "Long and Short SMART test results will appear in the Smart-Status-Report once they complete." There is a button for "Smart-Status-Report" on that same page.
March 24, 201412 yr I agree the tests in UnMenu are very simple to use -- and I'm not aware of any add-on utility that does it any better. Alternatively, you could reboot your system to a diagnostic disk with the manufacturer's diagnostics on it (e.g. Data Lifeguard) and run the non-destructive tests from that ... but I really don't see any reason to do that unless you're trying to do a more thorough test of a suspect disk. [but at today's prices, I'd just replace any drives in that category]
March 24, 201412 yr I get this when i use unmenu for a short smart report... Statistics for /dev/sdi Hitachi_HDS724040ALE640_PK1311PAG4WKTS smartctl -a -d ata /dev/sdi smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org Read Device Identity failed: Invalid argument A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
March 25, 201412 yr Author I get this when i use unmenu for a short smart report... Statistics for /dev/sdi Hitachi_HDS724040ALE640_PK1311PAG4WKTS smartctl -a -d ata /dev/sdi smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org Read Device Identity failed: Invalid argument A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. I get the exact same message. Anyone?
March 25, 201412 yr Statistics for /dev/sdc Hitachi_HDS5C3020ALA632_ML4220F32L0WDK smartctl -a -d ata /dev/sdc smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 5K3000 Device Model: Hitachi HDS5C3020ALA632 Works for me. Do you have the latest version of unmenu?
March 25, 201412 yr Sorry for kinda hijacking, but I came to the topic because I also wanted to check my disks, although on the filesystem level. Can I safely run the reiserfsck command, like dgaschk linked to in his signature? I just set up my unRaid Server, replacing a Raid 5 of 5x2TB drives (equaled to about 7.5TB of data) with 3x 4TB drives (plus parity later) and for some reason my disks are already at 75%,75%,60% after copying data across. So for some reason it used more data than it should have. I had one crash during the copy process, so maybe the filesystem is corrupted on one drive is showing the wrong values.
March 25, 201412 yr reiserfsck is safe, as long as you use the right options. I'm by no means an expert at it ... so read the detailed instructions on some of the other threads. But certainly for a basic check as outlined in dgaschk's signature it's fine. ... as you know, this is NOT a physical hardware check of the disk -- it's a file system check; but it's quite good a repairing any errors it finds.
March 25, 201412 yr Statistics for /dev/sdc Hitachi_HDS5C3020ALA632_ML4220F32L0WDK smartctl -a -d ata /dev/sdc smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 5K3000 Device Model: Hitachi HDS5C3020ALA632 Works for me. Do you have the latest version of unmenu? I have just updated (again) and running: Version 1.6 Revision: 270 Still the error remains.
March 25, 201412 yr Author Statistics for /dev/sdc Hitachi_HDS5C3020ALA632_ML4220F32L0WDK smartctl -a -d ata /dev/sdc smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 5K3000 Device Model: Hitachi HDS5C3020ALA632 Works for me. Do you have the latest version of unmenu? I just installed it for the first time last night and yes it's the latest version. Doesn't work.
March 25, 201412 yr Statistics for /dev/sdc Hitachi_HDS5C3020ALA632_ML4220F32L0WDK smartctl -a -d ata /dev/sdc smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 5K3000 Device Model: Hitachi HDS5C3020ALA632 Works for me. Do you have the latest version of unmenu? I just installed it for the first time last night and yes it's the latest version. Doesn't work. Sounds like what I get with myMain on drives connected to M1015. The solution there is to use the "smartopt" "-A" option. Don't know if that caries over to the tests you are trying to run but you could try it. Then if it doesn't work you could find "-d ata" in the awk scripts and change it to "-A". I would back up any that you change first in case this suggestion doesn't work. It was what I did originally before I saw the myMain "smartopt" posts.
March 25, 201412 yr Author Statistics for /dev/sdc Hitachi_HDS5C3020ALA632_ML4220F32L0WDK smartctl -a -d ata /dev/sdc smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 5K3000 Device Model: Hitachi HDS5C3020ALA632 Works for me. Do you have the latest version of unmenu? I just installed it for the first time last night and yes it's the latest version. Doesn't work. Sounds like what I get with myMain on drives connected to M1015. The solution there is to use the "smartopt" "-A" option. Don't know if that caries over to the tests you are trying to run but you could try it. Then if it doesn't work you could find "-d ata" in the awk scripts and change it to "-A". I would back up any that you change first in case this suggestion doesn't work. It was what I did originally before I saw the myMain "smartopt" posts. Yup all my drives are connected to an M1015. How exactly do I go about using the "smartopt" "-A" option?
March 25, 201412 yr Click on the drive id (should be the last 4 of the serial) that will open a new window. Scroll to the bottom their should be a blank line and add the command "smartopt" under setting and "-a" under value. Save the changes and refresh unmenu. Then you should have accees to all the smart capabilities.
March 25, 201412 yr Author Click on the drive id (should be the last 4 of the serial) that will open a new window. Scroll to the bottom their should be a blank line and add the command "smartopt" under setting and "-a" under value. Save the changes and refresh unmenu. Then you should have accees to all the smart capabilities. After doing that I'm still getting the following: Statistics for /dev/sdc WDC_WD30EFRX-68EUZN0_WD-WCC4N0020966 smartctl -a -d ata /dev/sdc smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build) Copyright © 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org Read Device Identity failed: Invalid argument A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
March 25, 201412 yr That's odd I just added a disk to my array right now and added same. Can you post a photo?
March 26, 201412 yr Author That's odd I just added a disk to my array right now and added same. Can you post a photo?
March 26, 201412 yr We'll hopefully someone else can chime in. I just duplicated the instructions Igave you. Maybe a reboot?
March 26, 201412 yr Author We'll hopefully someone else can chime in. I just duplicated the instructions Igave you. Maybe a reboot? Yea that's my next step. I just haven't had the chance because too many people are using my Plex Server remotely.
March 26, 201412 yr Click on the drive id (should be the last 4 of the serial) that will open a new window. Scroll to the bottom their should be a blank line and add the command "smartopt" under setting and "-a" under value. Save the changes and refresh unmenu. Then you should have accees to all the smart capabilities. I *think* your instructions should be and "-A" under value instead of and "-a" under value. JimPhreak's image still shows it using "-d ata" and you don't want that.
March 26, 201412 yr I just checked my drives connected to the m1015 and I have a lower case "a". MyMain Syslog smartctl -a -a /dev/sdk (disk8) smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.10.24p-unRAID] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: TOSHIBA DT01ACA300 Serial Number: X******** LU WWN Device Id: 5 000039 ff4d17bdf Firmware Version: MX6OABB0 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Tue Mar 25 21:02:26 2014 EDT 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: (22652) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No 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: ( 1) minutes. Extended self-test routine recommended polling time: ( 378) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control 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 0x000b 100 100 016 Pre-fail Always - 0 2 Throughput_Performance 0x0005 140 140 054 Pre-fail Offline - 69 3 Spin_Up_Time 0x0007 135 135 024 Pre-fail Always - 424 (Average 425) 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 24 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 124 124 020 Pre-fail Offline - 33 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 1205 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 13 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 24 193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 24 194 Temperature_Celsius 0x0002 253 253 000 Old_age Always - 20 (Min/Max 18/32) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 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.
March 26, 201412 yr Author Yea it appears it's not taking the -a setting. I've rebooted twice and still the same problem. This is frustrating.
March 26, 201412 yr I would change to a Capital A like RobJ suggested as a first attempt. I always used a capital A (-A) in my change as I'm fairly sure that is how it was done in the post on the myMain thread that I read. It is also possible that option is only affecting myMain and not the rest of unMENU. So you may need to look at the .awk files and change the code directly to have the -a instead of the "-d ata" in it for the "Array Management" menu option.
March 26, 201412 yr Author I would change to a Capital A like RobJ suggested as a first attempt. I always used a capital A (-A) in my change as I'm fairly sure that is how it was done in the post on the myMain thread that I read. It is also possible that option is only affecting myMain and not the rest of unMENU. So you may need to look at the .awk files and change the code directly to have the -a instead of the "-d ata" in it for the "Array Management" menu option. Tried using -A to no avail. How would I go about editing the code in the .awk files? Sorry for the noobish questions, I'm really not familiar with linux AT ALL.
Archived
This topic is now archived and is closed to further replies.