Disk Enclosures
1752354 Members
6392 Online
108787 Solutions
New Discussion

Re: smartctl usage for external DAS drives

 
GMZ
Advisor

smartctl usage for external DAS drives

TLDR;

Does anyone know if smartctl can query disks in a DAS (D2600)?

Internal disks can be read fine, but I can't figure out how to query the external drives with smartctl.


DETAILS:

I've used smartctl to occassional check on some server drives, and it seems to work well.  Here are the commands used:

# smartctl -H -d cciss,0 /dev/cciss/c0d0

# smartctl -H -d cciss,1 /dev/cciss/c0d1

# smartctl -H -d cciss,2 /dev/cciss/c0d2

# smartctl -H -d cciss,3 /dev/cciss/c0d3

 

Example output:

smartctl 6.0 2012-10-10 r3643 [x86_64-linux-3.0.76-0.11-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/cciss/c0d0 [cciss_disk_00] [SAT]: Device open changed type from 'sat,auto' to 'sat'
=== START OF READ SMART DATA SECTION ===
SMART STATUS RETURN: incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

 

I've also got smartd.conf setup to do a short test each evening on the older servers.

My issue is that I can't get smartctl to query the disks in the external array housed in a D2600.

hpacucli below shows the disk layout.  Array A and B are internal and work fine as mentioned above.  Arrays, C and D are the problem.

=> hpacucli ctrl all show config

Error: Expecting "controller" in target. Type "help" for more information.

=> ctrl all show config

Smart Array P212 in Slot 2 (sn: PACCPID12250DG2)

array A (SATA, Unused Space: 0 MB)


logicaldrive 1 (232.9 GB, RAID 1, OK)

physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA, 250 GB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA, 250 GB, OK)

array B (SATA, Unused Space: 0 MB)


logicaldrive 2 (1.8 TB, RAID 1, OK)

physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA, 2 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA, 2 TB, OK)

array C (SAS, Unused Space: 0 MB)


logicaldrive 3 (9.1 TB, RAID 5, OK)

physicaldrive 2E:1:1 (port 2E:box 1:bay 1, SAS, 2 TB, OK)
physicaldrive 2E:1:2 (port 2E:box 1:bay 2, SAS, 2 TB, OK)
physicaldrive 2E:1:3 (port 2E:box 1:bay 3, SAS, 2 TB, OK)
physicaldrive 2E:1:4 (port 2E:box 1:bay 4, SAS, 2 TB, OK)
physicaldrive 2E:1:5 (port 2E:box 1:bay 5, SAS, 2 TB, OK)
physicaldrive 2E:1:6 (port 2E:box 1:bay 6, SAS, 2 TB, OK)

array D (SAS, Unused Space: 0 MB)


logicaldrive 4 (10.9 TB, RAID 5, OK)
logicaldrive 5 (5.8 TB, RAID 50, OK)

physicaldrive 2E:1:7 (port 2E:box 1:bay 7, SAS, 4000.7 GB, OK)
physicaldrive 2E:1:8 (port 2E:box 1:bay 8, SAS, 4000.7 GB, OK)
physicaldrive 2E:1:9 (port 2E:box 1:bay 9, SAS, 4000.7 GB, OK)
physicaldrive 2E:1:10 (port 2E:box 1:bay 10, SAS, 4000.7 GB, OK)
physicaldrive 2E:1:11 (port 2E:box 1:bay 11, SAS, 4000.7 GB, OK)
physicaldrive 2E:1:12 (port 2E:box 1:bay 12, SAS, 4000.7 GB, OK)

Expander 249 (WWID: 5001438028C57E7F, Port: 2E, Box: 1)

Enclosure SEP (Vendor ID HP, Model D2600 SAS AJ940A) 248 (WWID: 5001438028C57E7E, Port: 2E, Box: 1)

SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143802193CF1F)

=>

For the external D2600 housed drives I have tried specifying a different controller number, as folows:

# smartctl -H -d cciss,0 /dev/cciss/c1d0
smartctl 6.0 2012-10-10 r3643 [x86_64-linux-3.0.76-0.11-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/cciss/c1d0 [cciss_disk_00] [SCSI/SAT] failed: No such device

Does anyone know if smartctl can query disks in a DAS (D2600)?

-- Thanks for reading this far! --

1 REPLY 1
SanjeevGoyal
HPE Pro

Re: smartctl usage for external DAS drives

Hello,

I hope all is well.

smartctl (Self-Monitoring, Analysis, and Reporting Technology) is a command-line utility or a tool in UNIX like operating systems that perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating device self-tests.

Smartctl is useful on physical Linux servers where smart disks can be checked for errors and extract info regarding the disks that are used behind the Hardware RAID.

I would suggest you for D2600, you can follow the below documents.

HP StorageWorks2000 Family Modular Smart Array CLI reference guide

https://support.hpe.com/hpesc/public/docDisplay?docId=c02710176

As well as we can see the hard drive status from the HPE ADU and AHS report also use the HP Array Configuration Utility Command Line Interface (hpacucli) .

If you feel this was helpful please click the KUDOS! thumb below!   

Regards,


I am a HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo