[zfs-discuss] HELP changing concat to a mirror
Hi I have managed to get this: HOSTNAME$ zpool status pool: zp01 state: ONLINE scrub: resilver completed with 0 errors on Wed Jul 2 11:55:27 2008 config: NAMESTATE READ WRITE CKSUM zp01ONLINE 0 0 0 c0t2d0ONLINE 0 0 0 c0t3d0ONLINE 0 0 0 But I wanted to get these in a mirror - I am unable to remove c0t3d0 from the pool. There is already data in the pool with filesystems mounted. So I do not wish to destroy the pool. Please help Mark This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] HELP changing concat to a mirror
On 02 July, 2008 - Mark McDonald sent me these 0,7K bytes: Hi I have managed to get this: HOSTNAME$ zpool status pool: zp01 state: ONLINE scrub: resilver completed with 0 errors on Wed Jul 2 11:55:27 2008 config: NAMESTATE READ WRITE CKSUM zp01ONLINE 0 0 0 c0t2d0ONLINE 0 0 0 c0t3d0ONLINE 0 0 0 But I wanted to get these in a mirror - I am unable to remove c0t3d0 from the pool. There is already data in the pool with filesystems mounted. So I do not wish to destroy the pool. Currently your only option is to copy data somewhere else, destroy pool and create a new one. Disk removal is being worked on I believe, but it gets kinda complex when you have a bunch of snapshots, clones etc.. /Tomas -- Tomas Ögren, [EMAIL PROTECTED], http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] HELP changing concat to a mirror
Mark, If you don't want to backup the data, destroy the pool, and recreate the pool as a mirrored configuration, then another option it to attach two more disks to create 2 mirrors of 2 disks. See the output below. Cindy # zpool create zp01 c1t3d0 c1t4d0 # zpool status pool: zp01 state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM zp01ONLINE 0 0 0 c1t3d0ONLINE 0 0 0 c1t4d0ONLINE 0 0 0 errors: No known data errors # zpool attach zp01 c1t3d0 c1t5d0 # zpool attach zp01 c1t4d0 c1t6d0 # zpool status zp01 pool: zp01 state: ONLINE scrub: resilver completed after 0h0m with 0 errors on Wed Jul 2 09:21:33 2008 config: NAMESTATE READ WRITE CKSUM zp01ONLINE 0 0 0 mirrorONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t5d0 ONLINE 0 0 0 mirrorONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 c1t6d0 ONLINE 0 0 0 errors: No known data errors Mark McDonald wrote: Hi I have managed to get this: HOSTNAME$ zpool status pool: zp01 state: ONLINE scrub: resilver completed with 0 errors on Wed Jul 2 11:55:27 2008 config: NAMESTATE READ WRITE CKSUM zp01ONLINE 0 0 0 c0t2d0ONLINE 0 0 0 c0t3d0ONLINE 0 0 0 But I wanted to get these in a mirror - I am unable to remove c0t3d0 from the pool. There is already data in the pool with filesystems mounted. So I do not wish to destroy the pool. Please help Mark This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss