Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2013 17:24:28 +0300
From:      "Zeus Panchenko" <zeus@ibs.dn.ua>
To:        "Matt Churchyard" <matt.home@userve.net>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: what is the "correct" way to "replicate" mem stick with ZFS on it?
Message-ID:  <20130816172428.79629@relay.ibs.dn.ua>
In-Reply-To: Your message of Fri, 16 Aug 2013 14:56:26 %2B0100 <82fb7b70d47ad58db2b2f0b803bf5160@users.userve.net>
References:  <82fb7b70d47ad58db2b2f0b803bf5160@users.userve.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Churchyard <matt.home@userve.net> wrote:
> I personally would be wary of completely cloning the filesystem due to
> it having completely identical GUID's etc. I'm not sure how the system
> will behave when given two disks with identical pools.

I was unable to create pool with the name of the one imported

> You may be OK if you don't import the pools and there's no chance of
> two of the mem sticks being in the same machine again.

do you mean
1. on the mem stick A to export the pool ( the one to be clonned)
2. to create pool with the same name on the mem stick B
3. clone fs from pool on A to the pool on B

is it possible on exported pools?

> You could attach the new device as a mirror, then use the 'zfs split'
> command to split the second mem stick off into a new pool. This will
> require the new pool to have a unique name though, as with the ZFS
> send/recv option. Personally I would prefer one of these options, and
> to then use 'zpool import new-pool-name required-pool-name' to import
> the pool with the correct name when beginning to use it.

and this requires to remember the name of the new zfs-splitted pool, am
I correct?

-- 
Zeus V. Panchenko				jid:zeus@im.ibs.dn.ua
IT Dpt., I.B.S. LLC					  GMT+2 (EET)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130816172428.79629>