Re: Get QNAP TS-451 & new HGST drives to play well together?
Christian Franke <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
David Borhani wrote:
> Hi, I'm trying to get a new HGST 4TB NAS disk drive to work with
> smartmontools; drives are in a QNAP TS-451 NAS. It doesn't work: I get
> this error:
>
> unable to fetch IEC (SMART) mode page [unsupported field in scsi
> command]
>
This means the drive is detected as an SCSI/SAS device.
Try "smartctl -d sat ..." or "-d ata".
> Unfortunately, the version the QNAP has downloaded (ipkg) is a bit old
> (5.40), and the ipkg mirror doesn't find a newer one. My drive is not
> in its database, I think.
>
> I got the 5.41 drivedb.h file, however, placed it in
> /opt/share/smartmontools, and edited to include what looks like the
> right entry for my drive (obtained at
> https://github.com/mirror/smartmontools/blob/master/drivedb.h):
>
> { "HGST Deskstar NAS", // tested with HGST HDN724040ALE640/MJAOA5E0
> "HGST HDN72(4030|4040|6050|6060)
> ALE640",
> "", "", ""
> },
>
> But, that still doesn't work. Should it?
No. A drive database entry would never fix a false device type
detection. It only affects names and print format of ATA SMART
attributes (and enables firmware bug workarounds in few cases). The
above entry only provides the Model Family info.
https://www.smartmontools.org/wiki/FAQ#MyATAdriveisnotinthesmartctlsmartddatabase
> Does smartctl really read drivedb.h at runtime, instead of it needing
> to be compiled in?
Yes.
Thanks,
Christian
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com