Hi
Use zpool attach
from
http://docs.sun.com/app/docs/doc/819-2240/zpool-1m

zpool attach [-f] pool device new_device

     Attaches new_device to an existing zpool device. The existing device 
cannot be part 
of a raidz configuration. If device is not currently part of a mirrored 
configuration, 
device automatically transforms into a two-way mirror of device and new_device. 
If device 
is part of a two-way mirror, attaching new_device creates a three-way mirror, 
and so on. 
In either case, new_device begins to resilver immediately.


Enda
Srinivas Chadalavada wrote:
> Hi All,
> 
>     I had a slice with zfs file system which I want to mirror, I 
> followed the procedure mentioned in the amin guide I am getting this 
> error. Can you tell me what I did wrong?
> 
>  
> 
> root # zpool list
> 
> NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
> 
> export                  254G    230K    254G     0%  ONLINE     -
> 
> root # echo |format
> 
> Searching for disks...done
> 
>  
> 
>  
> 
> AVAILABLE DISK SELECTIONS:
> 
>        0. c2t0d0 <DEFAULT cyl 35497 alt 2 hd 255 sec 63>
> 
>           /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci1000,[EMAIL 
> PROTECTED]/[EMAIL PROTECTED],0
> 
>        1. c2t2d0 <DEFAULT cyl 35497 alt 2 hd 255 sec 63>
> 
>           /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci1000,[EMAIL 
> PROTECTED]/[EMAIL PROTECTED],0
> 
> Specify disk (enter its number): Specify disk (enter its number):
> 
> :root # zpool create export mirror c2t0d0s5 c2t2d0s5
> 
> invalid vdev specification
> 
> use '-f' to override the following errors:
> 
> /dev/dsk/c2t0d0s5 is part of active ZFS pool export. Please see zpool(1M).
> 
>  
> 
> Thanks,
> 
> Srini
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

Reply via email to