If you want the modifications to persist, you have to put them in a script and apply them regularly e.g. For example, do not try to change the LED brightness as the SSH connection would crash.Īll the modifications made will be overwriten sometimes by the WD software and services that manage the NAS. We don't know if the driver used by WD fully matches with hardware capabilities and/or authorized values range. NOTE : once again, I advise you to be very careful while editing hardware-related driver states. The front panel LED is driven by the system using a standard led driver : the driver exposes the LED capabilities from userspace through file descriptor in the /sys/class/leds/system_led/ folder. The results of these automatic or immediate offline testings (data collection) will be reflected in the values of the SMART Attributes displayed by /usr/sbin/smartctl /dev/sda -A, errors will be logged in /usr/sbin/smartctl /dev/sda -log=error. usr/sbin/smartctl -smart=on -offlineauto=on -saveauto=on /dev/sda It can be run automatically by the disk itself (see below). This test is immediate, it produces no output but only updates the SMART Attribute values displayed by the /usr/sbin/smartctl /dev/sda -A command. The Offline test is not really a self-test test but rather a "data collection" process.It can be a good idea to run these tests periodically, by a cron programmation or at least manually. By default, the M圜loud system does not run these tests periodically. The list of all supported self tests and the estimated time of such tests are displayed by the /usr/sbin/smartctl /dev/sda -c command. It is recommended not to use the hard drive actively while running a self test. During the test, the hard disk is still usable but may be slower. The self tests are non-destructive, they do not affect the data stored on the hard disk. Usually the short and extended self tests are supported by the hard disks but some models support other (conveyance) self test also. The hardware self tests built in hard disks are the perfect solution to test the hard disk status quickly or with very high detail. NOTE : The recommended temperature range from Western Digital for the drive of the M圜loud Single-bay unit drive (WD30EFRX-68EUZN0) is between 0 and 65 ☌. usr/sbin/smartctl /dev/sda -A | /bin/grep Temperature_Celsius | /usr/bin/awk ' ' If this happens, use the /usr/sbin/smartctl /dev/sda -a command to get more information, and get your data off the disk and to someplace safe as soon as you can. If the device reports failing health status, this means either that the device has already failed, or that it is predicting its own failure within the next 24 hours. Prints the health status of the device or pending TapeAlert messages. If everything is fine, the exit status is 0. there are errors recorded in the disk error log (see /usr/sbin/smartctl /dev/sda -log=error for details).there are errors recorded in the self-test log (see /usr/sbin/smartctl /dev/sda -log=selftest for details).SMART status is failing (see /usr/sbin/smartctl /dev/sda -H for details).Attributes are out of bound (see /usr/sbin/smartctl /dev/sda -A for details).The exit status (the $? shell variable) is 1 if : This command examines silently all SMART data for device /dev/sda, but produce no printed output. usr/sbin/smartctl -q silent -a /dev/sda echo $? To get all information from the disk SMART system printed in the console output : NOTE : All the following commands are for a single-bay M圜loud. The documentation can be found online here : To get more information from the drive, the tool smartctl is available on the M圜loud OS. The M圜loud does not offer a lot of information on the drive state on its web interface : you only have access to a diagnosis status that states "OK", same for the temparture. The username & password are specified when you enable SSH from the M圜loud Dashboard. You can now connect to your M圜loud SSH server using tools like Putty. To use the commands listed below, you need to have SSH support activated for your drive. None of the authors, contributors, administrators, or anyone else connected with this page, in any way whatsoever, can be responsible for your use of the information contained in or linked from this web page. Disclaimerīe very careful as you can brick your NAS firmware, and even damage the hardware by doing things wrong. The following page applies to the original M圜loud products, NOT the new "M圜loud Home" series. This page acts as a wiki for administartor commands and tools used with the M圜loud NAS sold by WD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |