Re: [zfs-discuss] Mirror Gone

2011-09-27 Thread Daniel Carosone
On Tue, Sep 27, 2011 at 08:29:03PM -0400, Edward Ned Harvey wrote:
> There is only one way for this to make sense:  You did not have mirror-1 in
> the first place.  You accidentally added 4 & 5 without mirroring.  

Not true. 4 & 5 may have been added initially as a mirror, then 5
detached from the mirror and later added as a single drive (rather than
reattached to 4 as a mirror again).   

It can be easy to confuse "add" and "attach" commands.

> The only
> way to fix it is to (a) add redundancy to both 4 & 5

Yes, attach 2 new disks, one to each of 4 and 5, to turn those
vdevs (back) into mirrors.

>, or (b) destroy and
> recreate the pool, and this time be very careful that you mirror 4&5.

Unfortunately, yes, if you can't attach more disks, this is necessary,
since it's not currently possible to remove a top-level vdev.

--
Dan.


pgpBxFtuuWR4L.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Mirror Gone

2011-09-27 Thread Mark Musante

On 27 Sep 2011, at 18:29, Edward Ned Harvey wrote:

>> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
>> boun...@opensolaris.org] On Behalf Of Tony MacDoodle
>> 
>> 
>> Now:
>> mirror-0  ONLINE   0 0 0
>> c1t2d0  ONLINE   0 0 0
>> c1t3d0  ONLINE   0 0 0
>>   c1t4d0ONLINE   0 0 0
>>   c1t5d0ONLINE   0 0 0
> 
> There is only one way for this to make sense:  You did not have mirror-1 in
> the first place.  

An easy way to tell is taking a look at the zpool history command for this pool.
What does that show?

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


Re: [zfs-discuss] Mirror Gone

2011-09-27 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Tony MacDoodle
> 
> Original:
> mirror-0  ONLINE   0 0 0
>     c1t2d0  ONLINE   0 0 0
>     c1t3d0  ONLINE   0 0 0
>   mirror-1  ONLINE   0 0 0
>     c1t4d0  ONLINE   0 0 0
>     c1t5d0  ONLINE   0 0 0
> 
> Now:
> mirror-0  ONLINE   0 0 0
>     c1t2d0  ONLINE   0 0 0
>     c1t3d0  ONLINE   0 0 0
>   c1t4d0    ONLINE   0 0 0
>   c1t5d0    ONLINE   0 0 0

There is only one way for this to make sense:  You did not have mirror-1 in
the first place.  You accidentally added 4 & 5 without mirroring.  The only
way to fix it is to (a) add redundancy to both 4 & 5, or (b) destroy and
recreate the pool, and this time be very careful that you mirror 4 & 5.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Mirror Gone

2011-09-27 Thread Tony MacDoodle
Hello,

Looks like the mirror was removed or deleted... Can I get it back to it's
original???

Original:
mirror-0  ONLINE   0 0 0
c1t2d0  ONLINE   0 0 0
c1t3d0  ONLINE   0 0 0
  mirror-1  ONLINE   0 0 0
c1t4d0  ONLINE   0 0 0
c1t5d0  ONLINE   0 0 0

Now:
mirror-0  ONLINE   0 0 0
c1t2d0  ONLINE   0 0 0
c1t3d0  ONLINE   0 0 0
  c1t4d0ONLINE   0 0 0
  c1t5d0ONLINE   0 0 0


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