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:
NAME STATE READ WRITE CKSUM
zp01 ONLINE 0 0 0
c0t2d0 ONLINE 0 0 0
c0t3d0 ONLINE 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
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: > > NAME STATE READ WRITE CKSUM > zp01 ONLINE 0 0 0 > c0t2d0 ONLINE 0 0 0 > c0t3d0 ONLINE 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, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Cindy.Swearingen at Sun.COM
2008-Jul-02 15:24 UTC
[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:
NAME STATE READ WRITE CKSUM
zp01 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t4d0 ONLINE 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:
NAME STATE READ WRITE CKSUM
zp01 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
mirror ONLINE 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:
>
> NAME STATE READ WRITE CKSUM
> zp01 ONLINE 0 0 0
> c0t2d0 ONLINE 0 0 0
> c0t3d0 ONLINE 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 at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss