Re: [zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-02-06 Thread eric kustarz
While browsing the ZFS source code, I noticed that usr/src/cmd/ ztest/ztest.c, includes ztest_spa_rename(), a ZFS test which renames a ZFS storage pool to a different name, tests the pool under its new name, and then renames it back. I wonder why this functionality was not exposed as

Re: [zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-02-04 Thread Darren J Moffat
Dave Lowenstein wrote: Nope, doesn't work. Try presenting one of those lun snapshots to your host, run cfgadm -al, then run zpool import. #zpool import no pools available to import Does format(1M) see the luns ? If format(1M) can't see them it is unlikely that ZFS will either. It

Re: [zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-02-04 Thread Dave Lowenstein
Try it, it doesn't work. Format sees both but you can't import a clone of pool u001 if pool u001 is already imported, even by giving it a new name. Darren J Moffat wrote: Dave Lowenstein wrote: Nope, doesn't work. Try presenting one of those lun snapshots to your host, run cfgadm -al,

Re: [zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-02-04 Thread Jim Dunham
Darren J Moffat wrote: Dave Lowenstein wrote: Nope, doesn't work. Try presenting one of those lun snapshots to your host, run cfgadm - al, then run zpool import. #zpool import no pools available to import Does format(1M) see the luns ? If format(1M) can't see them it is unlikely that

[zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-01-31 Thread Hector De Jesus
Hello SUN gurus I do not know if this is supported, I have a created a zpool consisting of the SAN resources and created a zfs file system. Using third part software I have taken snapshots of all luns in the zfs pool. My question is in a recovery situation is there a way for me to mount the

Re: [zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-01-31 Thread Tim
On 1/31/08, Hector De Jesus [EMAIL PROTECTED] wrote: Hello SUN gurus I do not know if this is supported, I have a created a zpool consisting of the SAN resources and created a zfs file system. Using third part software I have taken snapshots of all luns in the zfs pool. My question is in a

Re: [zfs-discuss] mounting a copy of a zfs pool /file system while orginal is still active

2008-01-31 Thread Dave Lowenstein
Nope, doesn't work. Try presenting one of those lun snapshots to your host, run cfgadm -al, then run zpool import. #zpool import no pools available to import It would make my life so much simpler if you could do something like this: zpool import --import-as yourpool.backup yourpool