On 04/27/10 03:55 AM, Yuri Vorobyev wrote:
If anybody uses SSD for rpool more than half-year, can you post SMART
information about HostWrites attribute?
I want to see how SSD wear for system disk purposes.
I'd be happy to, exactly what commands shall I run?
Hm. I'm experimenting with OpenSolaris in virtual machine now.
Unfortunately I can't give you exactly how-to.
But i think it is possible to compile Smartmontools
http://smartmontools.sourceforge.net and get SMART attributes
something like that:
smartctl -a /dev/rdsk/c0t0d0s0
You need install SUNWgcc package to compile.
Take a look at http://opensolaris.org/jive/thread.jspa?threadID=120402
and http://opensolaris.org/jive/thread.jspa?threadID=124372 .
I tried compiling the smartmontools, using OracleSolarisStudio U1. I
can't get any usable data:
bash-4.0$ pfexec
/Download_Files/SmartMonTools/smartmontools-5.39.1/smartctl -a
/dev/rdsk/c8t1d0s0 -d ata
smartctl 5.39.1 2010-01-28 r3054 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
#######################################################################
ATA command routine ata_command_interface() NOT IMPLEMENTED under Solaris.
Please contact smartmontools-supp...@lists.sourceforge.net if
you want to help in porting smartmontools to Solaris.
#######################################################################
Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
bash-4.0$
Next I tried this command to get some info:
bash-4.0$ /usr/bin/iostat -En
c8t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: ATA Product: OCZ-VERTEX-EX Revision: 1.21 Serial No:
Size: 128.04GB <128035676160 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 10 Predictive Failure Analysis: 0
c8t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: ATA Product: OCZ-VERTEX Revision: 1.3 Serial No:
Size: 256.06GB <256060514304 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 6 Predictive Failure Analysis: 0
c8t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: ATA Product: INTEL SSDSA2MH16 Revision: 8820 Serial No:
Size: 160.04GB <160041885696 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 6 Predictive Failure Analysis: 0
c7t0d0 Soft Errors: 0 Hard Errors: 10 Transport Errors: 0
Vendor: MATSHITA Product: BD-MLT UJ-220S Revision: 1.01 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 10 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
bash-4.0$
If you can come up with a way I can get you more info, post a response.
Paul
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss