Re: [zfs-discuss] simple question about snapshots

2012-07-12 Thread bofh
On Thu, Jul 12, 2012 at 7:32 PM, Bob Friesenhahn
bfrie...@simple.dallas.tx.us wrote:
 On Thu, 12 Jul 2012, bofh wrote:
 When I do a snapshot, that file is part of the snapshot.  But are
 changes within the file kept as well?

 Only the difference (at block level) between the snapshots is kept. If the
 changed data was changed 1000 times between the snapshots, then only the
 difference between the blocks at the exact time the snapshot was taken is
 preserved.

Thanks!  That helps me out! :)

-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hard Drive Choice Question

2012-06-11 Thread bofh
On Wed, May 16, 2012 at 10:53 AM, Paul Kraus p...@kraus-haus.org wrote:
    What do people like today for 7x24 operation SATA drives? I am
 willing to consider 2TB, but don't really need the extra capacity (but
 if that is all the market offers, I don't have to use the other half
 :-) I found a Seagate Constellation ES 2 TB for about $350 (which is
 more than I really want to spend, I got the ES2 1TB drives for about
 $130 when I bought them). I have been sticking with Seagate as I am
 comfortable with them, but am willing to look at others. The only
 thing I insist on is that the drive be rated for 7x24 operation.

I got uncomfortable with the way Seagate handled that whole 1.5TB
firmware issue, and then there was a recent crop of 3TB drives that
had issues, but those were consumer, not 7x24 drives.

I would take a look at Hitachi, since that's what Sun put in my x4540.
 I've also had some luck with the samsungs.

One interesting thing I saw (I have 4x3TB samsungs and 3x 3TB seagates
in one zfs pool) is that the SMART counters climb very fast for 2 or 3
of the counters.  I don't recall which offhand, but if you have a
chance, I'd like to validate if it's my drive, or if it's normal.

Thanks.


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Advanced Format HDD's - are we there yet? (or - how to buy a drive that won't be teh sux0rs on zfs)

2012-05-29 Thread bofh
On Tue, May 29, 2012 at 6:54 AM, John Martin john.m.mar...@oracle.com wrote:
  $ zdb -C | grep ashift
              ashift: 12
              ashift: 12
              ashift: 12


That's interesting.  I just created a raidz3 pool out of 7x3TB drives.
 My drives were
ST3000DM001-9YN1
Hitachi HDS72303
Hitachi HDS72303
ST3000DM001-9YN1
Hitachi HDS5C303
Hitachi HDS5C303
ST33000651AS

ashift:9  is that standard?  I did nothing but plug them in and zpool
create.  Seem to run pretty fast, I can have up to 400 MB/s writes
from /dev/zero... :)



-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Migration of a Thumper to bigger HDDs

2012-05-16 Thread bofh
On Wed, May 16, 2012 at 1:45 PM, Jim Klimov jimkli...@cos.ru wrote:

 Your idea actually evolved for me into another (#7?), which
 is simple and apparent enough to be ingenious ;)
 DO use the partitions, but split the 2.73Tb drives into a
 roughly 2.5Tb partition followed by a 250Gb partition of
 the same size as vdevs of the original old pool. Then the
 new drives can replace a dozen of original small disks one
 by one, in a one-to-one fashion resilvering, with no worsening
 of the situation in regard of downtime or original/new pools'
 integrity tradeoffs (in fact, several untrustworthy old disks
 will be replaced by newer ones).

Err, why go to all that trouble?  Replace one disk per pool.  Wait for
resilver to finish.  Replace next disk.  Once all/enough disks have
been replaced, turn on autoexpand, and you're done.


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Migration of a Thumper to bigger HDDs

2012-05-16 Thread bofh
There's something going on then.  I have 7x 3TB disk at home, in
raidz3, so about 12TB usable.  2.5TB actually used.  Scrubbing takes
about 2.5 hours.  I had done the resilvering as well, and that did not
take 15 hours/drive.  Copying 3TBs onto 2.5 SATA drives did take more
than a day, but a 2.5 drive's performance is about 1/4 of the 3.5
drives from the limited testing I've done.

Additionally, if you're only replacing one drive at a time, you're
only resilvering 250GB at a time, regardless of the size of the new
drive.

If you already have 45X 3TB drives waiting to go in, bite the bullet
and get that eSATA cage, since you want to re-do your zpools.  You can
reuse it for offsite backups in the future.

As a side note, on my x4540, I get writes of up to 1.2
gigabytes/second (but that's just writing zeros to an uncompressed
pool).  Real performance is lower, of course.

On Wed, May 16, 2012 at 2:08 PM, Jim Klimov jimkli...@cos.ru wrote:
 Hello fellow BOFH,
  I also went by that title in a previous life ;)

 :)

-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss