after upgrading to DSM4.0 on DS210j running 2xWD1003FBYX (WD 1GB RE4), i cant get sober output from smartctl, which disappoints me, since i monitor not only the synology devices i connect, but also their disks.
This command worked fine on DSM 3.1:
- Code: Select all
$ /usr/syno/bin/smartctl -a /dev/hdb
smartctl 5.42 2011-10-20 r3458 [armv5tel-linux-2.6.32.12] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Segmentation fault (core dumped)
however, as you can see it now outputs segfault, its the same when using /dev/sdb.
In the older synology days, i prefixed with -d like so:
- Code: Select all
$ /usr/syno/bin/smartctl -d marvell -a /dev/sda
smartctl 5.42 2011-10-20 r3458 [armv5tel-linux-2.6.32.12] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Smartctl: Device Read Identity Failed: Unknown error
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
But as you can see, this too dont reveal any usefull data.
From the data (regardsless of the smartctl options) i want to fetch stuff like disk temperature, or any other SMART attribute, but catching this on stdout for treatment in perl og shell.
Does anyone have a clue or experience on extracting SMART details from commandline under DSM4?
(it is possible, since they do it inside the DSM gui under hdd management/SMART info).
br
congo



