Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread sri
Hugo Mills carfax.org.uk> writes: > > On Mon, Apr 27, 2015 at 10:34:42PM +0500, Roman Mamedov wrote: > > On Mon, 27 Apr 2015 14:55:49 + > > Hugo Mills carfax.org.uk> wrote: > > > > > > This is strange considering that I wanted a consistent snapshot of > > > > entire btrfs filesystem at v

Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread Hugo Mills
On Mon, Apr 27, 2015 at 10:34:42PM +0500, Roman Mamedov wrote: > On Mon, 27 Apr 2015 14:55:49 + > Hugo Mills wrote: > > > > This is strange considering that I wanted a consistent snapshot of > > > entire btrfs filesystem at volume level. > > > > > > Is there a way to achive this? or btrfs j

Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread Roman Mamedov
On Mon, 27 Apr 2015 14:55:49 + Hugo Mills wrote: > > This is strange considering that I wanted a consistent snapshot of > > entire btrfs filesystem at volume level. > > > > Is there a way to achive this? or btrfs just cannot provide? > >No, there's no way to manage it with the current

Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread Piotr Pawłow
On 27.04.2015 o 14:15, Hugo Mills wrote: HOWEVER, you shouldn't take LVM snapshots of a btrfs filesystem AT ALL I'd like to add, that generally when working with LVM and BTRFS, it's probably a good idea to always use "device=" mount option to make it scan only specified devices instead of all

Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread Hugo Mills
On Mon, Apr 27, 2015 at 02:41:41PM +, sri wrote: > Hugo Mills carfax.org.uk> writes: > > > > > On Mon, Apr 27, 2015 at 12:05:28PM +, sri wrote: > > > Hi, > > > > > > I would like to know if btrfs file system is created on LVM2 logical > > > volumes, does freeze and thaw operations take

Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread sri
Hugo Mills carfax.org.uk> writes: > > On Mon, Apr 27, 2015 at 12:05:28PM +, sri wrote: > > Hi, > > > > I would like to know if btrfs file system is created on LVM2 logical > > volumes, does freeze and thaw operations takes place for btrfs to make > > file system consistent?? > >No,

Re: btrfs freeze/thaw when using with LVM2

2015-04-27 Thread Hugo Mills
On Mon, Apr 27, 2015 at 12:05:28PM +, sri wrote: > Hi, > > I would like to know if btrfs file system is created on LVM2 logical > volumes, does freeze and thaw operations takes place for btrfs to make > file system consistent?? No, because the filesystem is *always* consistent, because o

btrfs freeze/thaw when using with LVM2

2015-04-27 Thread sri
Hi, I would like to know if btrfs file system is created on LVM2 logical volumes, does freeze and thaw operations takes place for btrfs to make file system consistent?? If not is there a way (ioctl etc..) to run btrfs freeze/thaw before and after creating LVM2 snapshot of a btrfs file system?