Sure. This operation can be done with whole disks too. The disk
(new_device) should be the same size or larger than the existing disk 
(device).

You can review some examples here:

http://docs.sun.com/app/docs/doc/817-2271/gcfhe?a=view

If the disks are of unequal size, then some disk space will be
wasted.

Cindy

dick hoogendijk wrote:
> On Tue, 17 Jun 2008 17:36:47 +0100
> "Enda O'Connor ( Sun Micro Systems Ireland)" <[EMAIL PROTECTED]>
> wrote:
> 
> 
>>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.
> 
> 
> This is about slices. Can this be done for a whole disk too? And it
> yes, do these disks have to be exactly the same size?
> 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to