> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Steve Staples
> 
> My problem is, is that not all 2TB hard drives are the same size (even
> though they should be 2 trillion bytes, there is still sometimes a +/-
> (I've
> only noticed this 2x so far) ) and if I create them mirrored, and one
> fails,
> and then I replace the drive, and for some reason, it is 1byte smaller,
> it
> will not work.

If you use the latest developer release from genunix.org, it's already
fixed.  This is what I recommend, in general.
http://genunix.org/dist/indiana/   It looks like the latest one is
osol-dev-134

If you use the latest opensolaris release (2009.06) I'm not sure if it's
already fixed.

If you use Solaris 10, even fully updated, you are wise to ask this
question.  Because the fix is not present.

If you don't already have the fix, the recommendation would be to partition
the disks first.  Throw away something like 1% of the disk intentionally.
Yes this is extra work and a little wasteful, but it's preventive work for a
real problem.  http://docs.sun.com/app/docs/doc/806-4073/6jd67r9hu

(Quoting Richard Elling)
CR 6844090, zfs should be able to mirror to a smaller disk
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6844090 
b117, June 2009

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

Reply via email to