jeffreywhunter Posted May 22, 2015 Share Posted May 22, 2015 Please consider the following display of one of my Seagate Disks (1TB). http://my.jetscreenshot.com/12412/20150522-rpmu-76kb I continue to get this error unRAID Disk 5 SMART health [188]: 22-05-2015 03:42 Warning [HUNTERNAS6NDH] - command timeout is 17180131332 ST31000528AS_9VP8Q5FY (sdc) Full syslog attached. I didn't see any errors other than a device error, and no smart error messages anywhere in the log. Perhaps there's something else to look for? syslog20150522.zip Quote Link to comment
RobJ Posted May 22, 2015 Share Posted May 22, 2015 I think I'll ask bonienl to drop monitoring of Command Timeout, as (1) I know of no cases where it's been useful, (2) it's not a critical attribute, (3) it's fairly new and its behavior is not understood yet, (4) it's the VALUE that is important, not the RAW, and (5) it happens to be a fielded quantity (3 fields I think), not a simple count. By the way, when an issue involves SMART in any way, you always want to see the SMART report for that drive, specifically the Attributes section. The syslog may or may not be involved, probably not involved. See the Obtain a SMART report section. Also by the way(!), I still haven't gotten back to you on the last syslogs. I will! Quote Link to comment
jeffreywhunter Posted May 22, 2015 Author Share Posted May 22, 2015 Hey RobJ, Tried to run smartctl, but unable to run it against the mount point (i.e. /dev/md5). root@HunterNAS6NDH:~# smartctl -a -d ata /dev/md5 smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.0.4-unRAID] (local build) Copyright © 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org Read Device Identity failed: Inappropriate ioctl for device A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. Sorry, probably a noob thing... I then ran a disk attributes from the webgui, will that work? Attached... disk5-attributes.txt disk5-attributes.txt Quote Link to comment
RobJ Posted May 23, 2015 Share Posted May 23, 2015 Tried to run smartctl, but unable to run it against the mount point (i.e. /dev/md5). SMART works directly with the hardware, the drive itself. It knows nothing of file systems, partitions, mount points. It needs the drive device symbol, sda to sdz, found with the drive on the Main screen. In your last syslog, it was sdc, but it could change with each boot. Attributes look fine, no problems. Command Timeout VALUE is 100, essentially perfect. Looks like you operate this server in a VERY cool room, close to 60? Quote Link to comment
jeffreywhunter Posted May 23, 2015 Author Share Posted May 23, 2015 Great thanks! How do you connect mount point to the drive symbol? Quote Link to comment
RobJ Posted May 23, 2015 Share Posted May 23, 2015 I'm sorry, I don't understand the question. SMART has nothing to do with mount points. The SMART command that produced your "disk5-attributes.txt" file was - smartctl -a -d ata /dev/sdc >disk5-attributes.txt Quote Link to comment
jeffreywhunter Posted May 23, 2015 Author Share Posted May 23, 2015 Right but how do you find the driver device symbol (sda, sda) which is required in order to do the smartctl to when lsblk shows md1, 2,3, etc... Quote Link to comment
RobJ Posted May 23, 2015 Share Posted May 23, 2015 Right but how do you find the driver device symbol (sda, sda) which is required in order to do the smartctl to when lsblk shows md1, 2,3, etc... Ahhh, now I understand! It's listed on the Main screen with each drive. Quote Link to comment
jeffreywhunter Posted May 23, 2015 Author Share Posted May 23, 2015 Is there a Linux command that shows it too? Quote Link to comment
RobJ Posted May 23, 2015 Share Posted May 23, 2015 Is there a Linux command that shows it too? Turned out to be harder than I thought, there's no easy tool to do it. This is a bit of a kludge - For Disk 5 (change as needed, parity is disk0): grep -w "disk5" /var/log/syslog It will list the syslog lines that contain "disk5", and the one with "import" will have the drive model, serial, and device symbol. Example on mine, Disk 5 is sdi - root@JacoBack:~# grep -w "disk5" /var/log/syslog May 22 22:55:16 JacoBack kernel: md: import disk5: [8,128] (sdi) SAMSUNG_SP2504C_S09QJ1FL300755 size: 244198552 May 22 22:55:20 JacoBack emhttp: shcmd (41): mkdir -p /mnt/disk5 May 22 22:55:20 JacoBack emhttp: shcmd (42): set -o pipefail ; mount -t reiserfs -o noatime,nodiratime /dev/md5 /mnt/disk5 |& logger May 22 22:55:20 JacoBack emhttp: shcmd (43): set -o pipefail ; mount -t reiserfs -o remount,user_xattr,acl,noatime,nodiratime /dev/md5 /mnt/disk5 |& logger May 22 22:55:20 JacoBack emhttp: reiserfs: resizing /mnt/disk5 For my parity - root@JacoBack:~# grep -w "disk0" /var/log/syslog May 22 22:55:16 JacoBack kernel: md: import disk0: [8,192] (sdm) TOSHIBA_DT01ACA300_Z2T3NT5AS size: 2930266532 Quote Link to comment
jeffreywhunter Posted May 23, 2015 Author Share Posted May 23, 2015 Excellent work! Works like a champ... Thanks for all your work, appreciate it! Quote Link to comment
Recommended Posts
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.