[zfs-discuss] mirroring zfs slice

2008-06-17 Thread Srinivas Chadalavada
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 NAMESIZEUSED AVAILCAP HEALTH ALTROOT export

Re: [zfs-discuss] mirroring zfs slice

2008-06-17 Thread Dale Ghent
On Jun 17, 2008, at 12:23 PM, Srinivas Chadalavada wrote: :root # zpool create export mirror c2t0d0s5 c2t0d0s5 invalid vdev specification use '-f' to override the following errors: /dev/dsk/c2t0d0s5 is part of active ZFS pool export. Please see zpool(1M). (I presume that you meant to use

Re: [zfs-discuss] mirroring zfs slice

2008-06-17 Thread Enda O'Connor ( Sun Micro Systems Ireland)
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,

Re: [zfs-discuss] mirroring zfs slice

2008-06-17 Thread Srinivas Chadalavada
17, 2008 9:32 AM To: Srinivas Chadalavada Cc: zfs-discuss@opensolaris.org Subject: Re: [zfs-discuss] mirroring zfs slice On Jun 17, 2008, at 12:23 PM, Srinivas Chadalavada wrote: :root # zpool create export mirror c2t0d0s5 c2t0d0s5 invalid vdev specification use '-f' to override the following

Re: [zfs-discuss] mirroring zfs slice

2008-06-17 Thread dick hoogendijk
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

Re: [zfs-discuss] mirroring zfs slice

2008-06-17 Thread Dale Ghent
On Jun 17, 2008, at 1:13 PM, dick hoogendijk wrote: 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? Indeed, it can be used on an entire disk. Examples: zpool create mypool c1t0d0 zpool attach mypool c1t0d0

Re: [zfs-discuss] mirroring zfs slice

2008-06-17 Thread Cindy . Swearingen
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