Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Show and list disk information on SmartOS
Thursday - Oct 17th 2013 - by - (0 comments)

On typical Linux and *nix systems there are a lot of options to show what kind of disks are plugged into the server. Some admins might prefer smartctl, others lspci, then again there is dmidecode, hwinfo, etc. Unfortunately none of these commands exist on SmartOS.

Luckily I came across the following command to list the disks seen by the OS:

iostat -E
sd0       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: Single   Product: Flash Reader     Revision: 1.00 Serial No: 
Size: 4.02GB <4016046080 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd1       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HP       Product: LOGICAL VOLUME   Revision: 5.70 Serial No: 123456789
Size: 3600.56GB <3600559857664 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0


 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6938 Days
until Death of Computers
Why?