sridhar,

> I have done the following (which is required for my case)
> 
> Created a zpool (smpool) on a device/LUN from an array (IBM 6K) on host1
> created a array level snapshot of the device using "dscli" to another device 
> which is successful.
> Now I make the snapshot device visible to another host (host2)

Even though the array is capable of taking device/LUN snapshots, this is a 
non-standard mode of operation regarding the use of ZFS.

It raises concerns that if one had a problem using a ZFS in this manner, there 
would be few Oracle or community users of ZFS that could assist. Even if the 
alleged problem was not related to using ZFS with array based snapshots, usage 
would always create a level of uncertainty. 

Instead I would suggest using ZFS send / recv instead.

> I tried "zpool import smpool". Got a warning message that host1 is using this 
> pool (might be the smpool metata data has stored this info) and asked to use 
> "-f"
> 
> When i tried zpool import with -f option, I am able to successfully import to 
> host2 and able to access all file systems and snapshots. 
> 
> My query is in this scenario is always safe to use "-f" to import ??

In this scenario, it is safe to use "-f" with zpool import. 

> would there be any issues ? 

Prior to taking the next snapshot, one must be assured that the device/LUN on 
host2 is returned to the "zpool export" state. Failure to do this could cause 
zpool corruption, ZFS I/O failures, or even the possibility of a system panic 
on host2.    

> Also I have observed that zpool import took some time to for successful 
> completion. Is there a way minimize "zpool import -f" operation time ??

No.

- Jim

> 
> Regards,
> sridhar.
> -- 
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to