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 c1t4d0 ONLINE 0 0 0 c1t5d0 ONLINE 0 0 0 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20110927/31337c27/attachment.html>
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at 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???? 0There 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.
On 27 Sep 2011, at 18:29, Edward Ned Harvey wrote:>> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- >> bounces at opensolaris.org] On Behalf Of Tony MacDoodle >> >> >> 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.An easy way to tell is taking a look at the zpool history command for this pool. What does that show?
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 & 5Yes, 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20110928/9c600cbb/attachment.bin>