Skip to content

Instantly share code, notes, and snippets.

@freeone3000
Created February 17, 2016 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freeone3000/4cc6e1633f22796de875 to your computer and use it in GitHub Desktop.
Save freeone3000/4cc6e1633f22796de875 to your computer and use it in GitHub Desktop.
james@gondolin:~$ sudo smartctl /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-46-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sda failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'
james@gondolin:~$ sudo smartctl -d megaraid,N /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-46-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda: Unknown device type 'megaraid,N'
=======> VALID ARGUMENTS ARE: ata, scsi, sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test <=======
Use smartctl -h to get a usage summary
james@gondolin:~$ sudo smartctl -d 'megaraid,N' /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-46-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda: Unknown device type 'megaraid,N'
=======> VALID ARGUMENTS ARE: ata, scsi, sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test <=======
Use smartctl -h to get a usage summary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment