Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread Kees Nuyt
On Sun, 14 Nov 2010 23:52:52 PST, sridhar surampudi toyours_srid...@yahoo.co.in wrote: Hi Darren, In shot I am looking a way to freeze and thaw for zfs file system so that for harware snapshot, i can do 1. run zfs freeze 2. run hardware snapshot on devices belongs to the zpool where the given

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread Andrew Gabriel
sridhar surampudi wrote: Hi Darren, In shot I am looking a way to freeze and thaw for zfs file system so that for harware snapshot, i can do 1. run zfs freeze 2. run hardware snapshot on devices belongs to the zpool where the given file system is residing. 3. run zfs thaw Unlike other

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread sridhar surampudi
Hi Andrew, Regarding your point - You will not be able to access the hardware snapshot from the system which has the original zpool mounted, because the two zpools will have the same pool GUID (there's an RFE outstanding on fixing this). Could you please

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread Freddie Cash
On Sun, Nov 14, 2010 at 11:45 PM, sridhar surampudi toyours_srid...@yahoo.co.in wrote: Thanks you for the details. I am aware of export/import of zpool. but with zpool export pool is not available for writes. is there a way I can freeze zfs file system at file system level. As an example,

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread Ian Collins
On 11/15/10 10:50 PM, sridhar surampudi wrote: Hi Andrew, Regarding your point - You will not be able to access the hardware snapshot from the system which has the original zpool mounted, because the two zpools will have the same pool GUID (there's an RFE outstanding on fixing

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread sridhar surampudi
Hi, How it would help for instant recovery or point in time recovery ?? i.e restore data at device/LUN level ? Currently it is easy as I can unwind the primary device stack and restore data at device/ LUN level and recreate stack. Thanks Regards, sridhar. -- This message posted from

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread Ian Collins
On 11/16/10 07:19 PM, sridhar surampudi wrote: Hi, How it would help for instant recovery or point in time recovery ?? i.e restore data at device/LUN level ? Why would you want to? If you are sending snapshots to another pool, you can do instant recovery at the pool level. Currently

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-15 Thread Andrew Gabriel
Sridhar, You have switched to a new disruptive filesystem technology, and it has to be disruptive in order to break out of all the issues older filesystems have, and give you all the new and wonderful features. However, you are still trying to use old filesystem techniques with it, which is

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-14 Thread sridhar surampudi
Hi Darren, Thanks you for the details. I am aware of export/import of zpool. but with zpool export pool is not available for writes. is there a way I can freeze zfs file system at file system level. As an example, for JFS file system using chfs -a freeze ... option. So if I am taking a

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-14 Thread sridhar surampudi
Hi Darren, In shot I am looking a way to freeze and thaw for zfs file system so that for harware snapshot, i can do 1. run zfs freeze 2. run hardware snapshot on devices belongs to the zpool where the given file system is residing. 3. run zfs thaw Thanks Regards, sridhar. -- This message

[zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-12 Thread sridhar surampudi
Hi, How I can I quiesce / freeze all writes to zfs and zpool if want to take hardware level snapshots or array snapshot of all devices under a pool ? are there any commands or ioctls or apis available ? Thanks Regards, sridhar. -- This message posted from opensolaris.org

Re: [zfs-discuss] how to quiesce and unquiesc zfs and zpool for array/hardware snapshots ?

2010-11-12 Thread Darren J Moffat
On 12/11/2010 13:01, sridhar surampudi wrote: How I can I quiesce / freeze all writes to zfs and zpool if want to take hardware level snapshots or array snapshot of all devices under a pool ? are there any commands or ioctls or apis available ? zpool export pool zpool import pool That is the