From: alessandro m. <ale...@gm...> - 2014-04-28 09:28:48
|
Hi all, I have disks directly connected to the motherboard and in an enclosure. I have plenty of disks but SDA is representative for those attached directly and SDJ is representative for those behind the LSI HBA 9205, in the encliosure. I want to monitor the status of the hard disks and I wonder if for the disks like sdj the returned status OK has the same meaning of PASSED. root@server:/tmp/tmp# smartctl -H /dev/sdj smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net SMART Health Status: OK root@server:/tmp/tmp# smartctl -H /dev/sda smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED What is the difference in the test run, if any, on the two disks? I need to write a script that checks the disk every 4 hours for a NAS and I must know if the disks like sdj are correctly monitored. I tried to use the switch -d sat on it but I get the following error root@server:/tmp/tmp# smartctl -d sat -H /dev/sdj smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net Smartctl: Device Read Identity Failed: scsi error unsupported scsi opcode A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. Adding "-T permissive" doesn't help much. Thanks, Alex |
From: <ro...@sp...> - 2014-04-28 11:59:29
|
Remember that SmartMonTools doesn't run any tests. It merely tells the drive's firmware to run the tests built in by the manufacturer. That said, I doubt there is much functional difference. As to the specific questions: >I wonder if for the > disks like sdj the returned status OK has the same meaning of PASSED. Yes. > What is the difference in the test run, if any, on the two disks? Probably nothing worth worrying about. And if it is worth worrying about, nothing you can change unless you want to go reverse engineering the drive's firmware and writing your own. The last question someone else more knowledgeable than I will have to take. > Hi all, > > I have disks directly connected to the motherboard and in an enclosure. > > I have plenty of disks but SDA is representative for those attached > directly and SDJ is representative for those behind the LSI HBA 9205, in > the encliosure. > > I want to monitor the status of the hard disks and I wonder if for the > disks like sdj the returned status OK has the same meaning of PASSED. > > root@server:/tmp/tmp# smartctl -H /dev/sdj > smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local > build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > SMART Health Status: OK > root@server:/tmp/tmp# smartctl -H /dev/sda > smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local > build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > > What is the difference in the test run, if any, on the two disks? > > I need to write a script that checks the disk every 4 hours for a NAS and > I > must know if the disks like sdj are correctly monitored. I tried to use > the > switch -d sat on it but I get the following error > > root@server:/tmp/tmp# smartctl -d sat -H /dev/sdj > smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local > build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > Smartctl: Device Read Identity Failed: scsi error unsupported scsi opcode > > A mandatory SMART command failed: exiting. To continue, add one or more > '-T > permissive' options. > > Adding "-T permissive" doesn't help much. > > Thanks, > > Alex > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform > available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs_______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |
From: Rich <rin...@gm...> - 2014-04-28 12:28:36
|
What kind of disks are each of these? Same model? Different? SAS? SATA? Are the disks directly attached to the LSI HBA? What's smartctl -i give you? - Rich On Mon, Apr 28, 2014 at 5:28 AM, alessandro macuz <ale...@gm...> wrote: > Hi all, > > I have disks directly connected to the motherboard and in an enclosure. > > I have plenty of disks but SDA is representative for those attached directly > and SDJ is representative for those behind the LSI HBA 9205, in the > encliosure. > > I want to monitor the status of the hard disks and I wonder if for the disks > like sdj the returned status OK has the same meaning of PASSED. > > root@server:/tmp/tmp# smartctl -H /dev/sdj > smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > SMART Health Status: OK > root@server:/tmp/tmp# smartctl -H /dev/sda > smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > > What is the difference in the test run, if any, on the two disks? > > I need to write a script that checks the disk every 4 hours for a NAS and I > must know if the disks like sdj are correctly monitored. I tried to use the > switch -d sat on it but I get the following error > > root@server:/tmp/tmp# smartctl -d sat -H /dev/sdj > smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > Smartctl: Device Read Identity Failed: scsi error unsupported scsi opcode > > A mandatory SMART command failed: exiting. To continue, add one or more '-T > permissive' options. > > Adding "-T permissive" doesn't help much. > > Thanks, > > Alex > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |
From: alessandro m. <ale...@gm...> - 2014-04-28 12:40:13
|
2014-04-28 14:28 GMT+02:00 Rich <rin...@gm...>: > What kind of disks are each of these? Same model? Different? SAS? SATA? > > Are the disks directly attached to the LSI HBA? > > What's smartctl -i give you? > > - Rich Thanks Rich and Robert, Those attached directly to the builtin controller of the motherboard are Western digital. Thus for SDA and SDB I get an output as follows --------------------------------------------------------------------------------------- root@server:/tmp/tmp# smartctl -i /dev/sda smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital RE4 Serial ATA Device Model: WDC WD5003ABYX-18WERA0 Serial Number: WD-WMAYP4740440 LU WWN Device Id: 5 0014ee 0ae11ae29 Firmware Version: 01.01S02 User Capacity: 500,107,862,016 bytes [500 GB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Mon Apr 28 14:33:40 2014 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled Then all the rest of the disks are put in a SuperMicro enclosure and they are Intel SSD or Seagate ST32000645SS for the Seagate drives I get --------------------------------------------------------------------------------------- root@server:/tmp/tmp# smartctl -i /dev/sdc smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net Vendor: SEAGATE Product: ST32000645SS Revision: 0004 User Capacity: 2,000,398,934,016 bytes [2.00 TB] Logical block size: 512 bytes Logical Unit id: 0x5000c50041cdb17b Serial number: Z292YA3B00009244DQED Device type: disk Transport protocol: SAS Local Time is: Mon Apr 28 14:35:07 2014 CEST Device supports SMART and is Enabled Temperature Warning Enabled --------------------------------------------------------------------------------------- for the Intel SSDs I get root@server:/tmp/tmp# smartctl -i /dev/sdn smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: INTEL SSDSC2CT240A3 Serial Number: CVMP228300CW240DGN LU WWN Device Id: 5 001517 bb29ba8d8 Firmware Version: 300i User Capacity: 240,057,409,536 bytes [240 GB] Sector Size: 512 bytes logical/physical Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ACS-2 revision 3 Local Time is: Mon Apr 28 14:38:04 2014 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled --------------------------------------------------------------------------------------- |