Re: [zfs-discuss] zpool split how it works?

2010-11-15 Thread Craig Cory
From the OpenSolaris ZFS FAQ page: http://hub.opensolaris.org/bin/view/Community+Group+zfs/faq If you want to use a hardware-level backup or snapshot feature instead of the ZFS snapshot feature, then you will need to do the following steps: * zpool export pool-name * Hardware-level

Re: [zfs-discuss] zpool split how it works?

2010-11-10 Thread Darren J Moffat
On 10/11/2010 11:18, sridhar surampudi wrote: I was wondering how zpool split works or implemented. If a pool pool1 is on a mirror having two devices dev1 and dev2 then using zpool split I can split with the new pool name say pool-mirror on dev2. How split can change metadata on dev2 and

Re: [zfs-discuss] zpool split how it works?

2010-11-10 Thread Mark J Musante
On Wed, 10 Nov 2010, Darren J Moffat wrote: On 10/11/2010 11:18, sridhar surampudi wrote: I was wondering how zpool split works or implemented. Or are you really asking about the implementation details ? If you want to know how it is implemented then you need to read the source code. Also

[zfs-discuss] zpool split how it works?

2010-11-10 Thread sridhar surampudi
Hi, I was wondering how zpool split works or implemented. If a pool pool1 is on a mirror having two devices dev1 and dev2 then using zpool split I can split with the new pool name say pool-mirror on dev2. How split can change metadata on dev2 and rename/replace and associate with new name

Re: [zfs-discuss] zpool split how it works?

2010-11-10 Thread sridhar surampudi
Hi Darren, Thanks for your info. Sorry below might be lengthy : Yes I am looking for actual implementation rather how to use zpool split. My requirement is not at zfs file system level and also not zfs snapshot. As I understood, If my zpool say mypool is created using zpool create mypool