Date: Fri, 16 Aug 2013 18:33:46 +0300 From: Daniel Kalchev <daniel@digsys.bg> To: Zeus Panchenko <zeus@ibs.dn.ua> Cc: freebsd-fs@freebsd.org Subject: Re: what is the "correct" way to "replicate" mem stick with ZFS on it? Message-ID: <520E465A.8090701@digsys.bg> In-Reply-To: <20130816180312.84150@relay.ibs.dn.ua> References: <82fb7b70d47ad58db2b2f0b803bf5160@users.userve.net> <20130816172428.79629@relay.ibs.dn.ua> <520E36E8.7080306@digsys.bg> <20130816180312.84150@relay.ibs.dn.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16.08.13 18:03, Zeus Panchenko wrote: > Daniel Kalchev <daniel@digsys.bg> wrote: >> You can do this instead: >> >> 1. Clone your pool A to pool B >> 2. Export/remove pool A >> 3. Export pool B >> 4. Import exported pool B as pool A. > > in this case I need to remember which mem stick has which pool name on > it, am I correct? If you (at the end of the above process) have pool named A on both memsticks, you don't have to remember anything other than the pool name on the sticks is A. If you don't remember the name of the pool, you can always use 'zpool import' to list the names of the exported pools on the drives you just connected. This also implies it is wise to always export ports before disconnecting devices, and thus you should have one more step above: 5. Export pool A > >> You can have two pools with the same name on one system, >> unfortunately. But you can have different pools with the same name on >> the same (or different) system. > > mmm ... sorry? > > what do you mean, please, under "different pools with the same name on > the same system" ... ? > I see the typo in my post. You should read it: You can not have two pools with the same name on one system, unfortunately. The sunning system cannot have two pools with the same name. This is obvious. But you can connect one pool to the system and import it as A, then after exporting that pool, connect another pool to the system and import it as A too. Say one of these pools might be two drive mirror and the other an five drive raidz. Both pools can be imported as A, but not at the same time. Daniel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?520E465A.8090701>