Re: [zfs-discuss] a few questions - Oracle

2011-01-04 Thread Paul Gress

On 01/ 4/11 01:19 PM, webd...@gmail.com wrote:

It is sad that such a lovely file system is now in Oracle's unresponsive hands. 
 I hope someone builds another open file system just like it.  I could never 
find anything like it to protect my data like it does.

___


I have to reply to this.

While Oracle may not seem responsive, they are innovating on the zfs still.  I 
haven't seen it stand still when Oracle took over Sun.

Also, if you do your homework, there is a BSD version floating around, and a 
Linux version also.  To boot, Illumos has the last open source release which 
brings it to Openindania.

So what are you talking about?


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


Re: [zfs-discuss] Drive Identification

2010-01-24 Thread Paul Gress

On 01/24/10 04:10 AM, Lutz Schumann wrote:

Is there a way (besides format and causing heavy I/O on the device in question) 
how to identify a drive. Is there some kind of SES (enclosure service) for this 
??
(e.g. and now let the red led blink)

   


Try /usr/bin/iostat -En
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Clearing a directory with more than 60 million files

2010-01-05 Thread Paul Gress

On 01/ 5/10 05:34 AM, Mikko Lammi wrote:

Hello,

As a result of one badly designed application running loose for some time,
we now seem to have over 60 million files in one directory. Good thing
about ZFS is that it allows it without any issues. Unfortunatelly now that
we need to get rid of them (because they eat 80% of disk space) it seems
to be quite challenging.
   


I've been following this thread.  Would it be faster to do the reverse.  
Copy the 20% of disk then format then move the 20% back.


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


Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-14 Thread Paul Gress

Julio wrote:

Hi,

I have the following partions on my laptop, Inspiron 6000, from fdisk:

  1 Other OS  011  12  0
  2 EXT LBA  12  25612550 26
  3   ActiveSolaris2   2562  97287167 74

First one is for Dell utilities. Second one is NTFS and the third is ZFS.
I am currently using OpenSolaris 2009.06 installed on the partition 3#.
When I installed OpenSolaris I kept the 2# just in case I wanted also to 
install Windows, but I have realized I don't need it nevermore! So, I would 
like to merge 2# and 3# to get more disk space in OpenSolaris.

Is it possible to eliminate the NTFS partition and add it to the ZFS partition?

Thanks in advance and regards,
Julio
  
Why don't you just format partition 2 to zfs, then add it to pool 
Solaris2 or rpool, whatever it's named.


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


Re: [zfs-discuss] USB hard to ZFS

2008-06-16 Thread Paul Gress
Since Volume Management has control and eject didn't work, just turning 
off Volume Management will do the trick.

# svcadm disable volfs

Now you can remove it safely.

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


[zfs-discuss] zfs boot, status anyone

2008-03-09 Thread Paul Gress
Hi,

I just purchased a new laptop and would like to set it up to boot from 
ZFS.  I read in newsgroups that it was predicted to be included into 
b83, but this apparently didn't happen.  Is there any prediction when 
this may be available?

Thanks,

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


Re: [zfs-discuss] ZFS with Memory Sticks

2007-12-10 Thread Paul Gress
I did some work over the weekend.  Still is having some trouble.


# fdisk -E /dev/rdsk/c7t0d0s2
# zpool create Radical-Vol /dev/dsk/c7t0d0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c7t0d0s0 is part of exported or potentially active ZFS pool 
Radical-Vol. Please see zpool(1M).
/dev/dsk/c7t0d0s2 is part of exported or potentially active ZFS pool 
Radical-Vol. Please see zpool(1M).
# dd if=/dev/zero of=/dev/dsk/c7t0d0s2 bs=1
write: No such device or address
8200604161+0 records in
8200604161+0 records out
# fdisk -E /dev/rdsk/c7t0d0s2
# zpool create Radical-Vol /dev/dsk/c7t0d0
cannot label 'c7t0d0': failed to write EFI label
use fdisk(1M) to partition the disk, and provide a specific slice
#


Basically after doing an fdisk -E, I couldn't create pool Radical-Vol.  
So I decided to zero the whole device and start from scratch.  Now I 
have a different error, zpool couldn't write the EFI label.  It wants an 
fdisk partition, but as far as I know, once I do this it will be 
specific for Sparc and X86.  Any other suggestions?

Thanks,

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


Re: [zfs-discuss] ZFS with Memory Sticks

2007-12-05 Thread Paul Gress
Constantin Gonzalez wrote:
 Hi Paul,

 yes, ZFS is platform agnostic and I know it works in SANs.

 For the USB stick case, you may have run into labeling issues. Maybe
 Solaris SPARC did not recognize the x64 type label on the disk (which
 is strange, because it should...).

 Did you try making sure that ZFS creates an EFI label on the disk?
 You can check this by running zpool status and then the devices should
 look like c6t0d0 without the s0 part.

 If you want to force this, you can create an EFI label on the USB disk
 from hand by saying fdisk -E /dev/rdsk/cxtxdx.

 Hope this helps,
Constantin


OK, tried some things you said.

This is the Volume formated on the PC (W2100z), the Volume is named 
Radical-Vol

# /usr/sbin/zpool import -f Radical-Vol
cannot import 'Radical-Vol': one or more devices is currently unavailable

# /usr/sbin/zpool import
  pool: Radical-Vol
id: 3051993120652382125
 state: FAULTED
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
   see: http://www.sun.com/msg/ZFS-8000-5E
config:

Radical-Vol  UNAVAIL   insufficient replicas
  c7t0d0s0  UNAVAIL   corrupted data



Here's the device:

$ rmformat
Looking for devices...
 1. Logical Node: /dev/rdsk/c1t2d0s2
Physical Node: /[EMAIL PROTECTED],60/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0
Connected Device: SONY DVD RW DRU-720A  JY02
Device Type: Unknown
 2. Logical Node: /dev/rdsk/c7t0d0s2
Physical Node: /[EMAIL PROTECTED],70/[EMAIL PROTECTED],2/[EMAIL 
PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0
Connected Device: USB 2.0  Flash Disk   1.00
Device Type: Removable

Following your command:

$ /opt/sfw/bin/sudo /usr/sbin/zpool status
  pool: Rad_Disk_1
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
pool will no longer be accessible on older software versions.
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
Rad_Disk_1  ONLINE   0 0 0
  c0t1d0ONLINE   0 0 0

errors: No known data errors




It obviously doesn't show, not mounted.



And last the fdisk command:


# fdisk -E /dev/rdsk/c7t0d0
fdisk: Cannot stat device /dev/rdsk/c7t0d0



But this device works currently on my Solaris PC's, the W2100z and a 
laptop of mine.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS with Memory Sticks

2007-12-04 Thread Paul Gress
OK, I've been putting off this question for a while now, but it eating 
at me, so  I can't hold off any more.  I have a nice 8 gig memory stick 
I've formated with the ZFS file system.  Works great on all my Solaris 
PC's, but refuses to work on my Sparc processor.  So I've formated it on 
my Sparc machine (Blade 2500), works great there now, but not on my 
PC's.  Re-Formatted it on my PC, doesn't work on Sparc, and so on and so on.

I thought it was a file system to go back and forth both architectures.  
So when will this compatibility be here, or if it's possible now, what 
is the secret?

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