Re: [zfs-discuss] rpool on ssd. endurance question.

2010-04-27 Thread Yuri Vorobyev

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 .

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] rpool on ssd. endurance question.

2010-04-27 Thread Paul Gress

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-EXRevision: 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


Re: [zfs-discuss] rpool on ssd. endurance question.

2010-04-27 Thread Paul Gress

On 04/27/10 03:24 PM, Miles Nordin wrote:

http://opensolaris.org/jive/thread.jspa?messageID=473727 -- 'smartctl -d sat,12 
...' is the incantation to use on solaris for ahci


   

OK, getting somewhere.

I have a total of 3 SSD's in my laptop.  Laptop is a Clevo D901C.



***Boot Disk


# ./smartctl -d sat,12 -i /dev/rdsk/c8t0d0s0
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

=== START OF INFORMATION SECTION ===
Model Family: OCZ Vertex SSD
Device Model: OCZ-VERTEX-EX
Serial Number:8AF2FQS5Z5010V377CP5
Firmware Version: 1.21
User Capacity:128,035,676,160 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Tue Apr 27 16:21:07 2010 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

# ./smartctl -d sat,12 -A /dev/rdsk/c8t0d0s0
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

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x   010   000   000Old_age   
Offline  -   0
  9 Power_On_Hours  0x   ---   ---   ---Old_age   
Offline  -   1860
 12 Power_Cycle_Count   0x   ---   ---   ---Old_age   
Offline  -   516
184 Initial_Bad_Block_Count 0x   ---   ---   ---Old_age   
Offline  -   630
195 Program_Failure_Blk_Ct  0x   ---   ---   ---Old_age   
Offline  -   0
196 Erase_Failure_Blk_Ct0x   ---   ---   ---Old_age   
Offline  -   0
197 Read_Failure_Blk_Ct 0x   ---   ---   ---Old_age   
Offline  -   0
198 Read_Sectors_Tot_Ct 0x   ---   ---   ---Old_age   
Offline  -   2641425802
199 Write_Sectors_Tot_Ct0x   ---   ---   ---Old_age   
Offline  -   1860174045
200 Read_Commands_Tot_Ct0x   ---   ---   ---Old_age   
Offline  -   19326129
201 Write_Commands_Tot_Ct   0x   ---   ---   ---Old_age   
Offline  -   26514568
202 Error_Bits_Flash_Tot_Ct 0x   ---   ---   ---Old_age   
Offline  -   1004
203 Corr_Read_Errors_Tot_Ct 0x   ---   ---   ---Old_age   
Offline  -   1004
204 Bad_Block_Full_Flag 0x   ---   ---   ---Old_age   
Offline  -   0
205 Max_PE_Count_Spec   0x   ---   ---   ---Old_age   
Offline  -   1
206 Min_Erase_Count 0x   ---   ---   ---Old_age   
Offline  -   1
207 Max_Erase_Count 0x   ---   ---   ---Old_age   
Offline  -   62
208 Average_Erase_Count 0x   ---   ---   ---Old_age   
Offline  -   10
209 Remaining_Lifetime_Perc 0x   ---   ---   ---Old_age   
Offline  -   100
210 Unknown_Attribute   0x   207   000   000Old_age   
Offline  -   0
211 Unknown_Attribute   0x   000   000   000Old_age   
Offline  -   0


#


***2nd Disk



./smartctl -d sat,12 -i /dev/rdsk/c8t1d0s0
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

=== START OF INFORMATION SECTION ===
Model Family: OCZ Vertex SSD
Device Model: OCZ-VERTEX
Serial Number:407BM8W7WR6QSSNDTVRU
Firmware Version: 1.3
User Capacity:256,060,514,304 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Tue Apr 27 16:10:12 2010 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

# ./smartctl -d sat,12 -A /dev/rdsk/c8t1d0s0
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

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x   007   000   000Old_age   
Offline  -   0
  9 Power_On_Hours  0x   ---   ---   ---Old_age   
Offline  -   1838
 12 Power_Cycle_Count   0x   ---   ---   ---Old_age   
Offline  -   511
184 Initial_Bad_Block_Count 0x   ---   ---   ---Old_age   
Offline  -   39
195 Program_Failure_Blk_Ct  0x   ---   ---   ---Old_age   

Re: [zfs-discuss] rpool on ssd. endurance question.

2010-04-27 Thread Yuri Vorobyev

Hello.


Is all this data what your looking for?


Yes, thank you, Paul.


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] rpool on ssd. endurance question.

2010-04-26 Thread Yuri Vorobyev

Hello.

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.

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] rpool on ssd. endurance question.

2010-04-26 Thread Paul Gress

On 04/26/10 11:54 PM, Yuri Vorobyev wrote:

Hello.

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?

Paul
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss