Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-20 Thread Chris Murphy
On Mon, Jul 20, 2020 at 12:11 PM Daniel P. Berrangé wrote: > > On Mon, Jul 13, 2020 at 08:06:22AM -0600, Chris Murphy wrote: > > On Mon, Jul 13, 2020 at 6:20 AM Daniel P. Berrangé > > wrote: > > > > > > On Sat, Jul 11, 2020 at 07:28:43PM -0600, Chris Murphy wrote: > > > > > > Also, the location

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-20 Thread Daniel P . Berrangé
On Mon, Jul 13, 2020 at 08:06:22AM -0600, Chris Murphy wrote: > On Mon, Jul 13, 2020 at 6:20 AM Daniel P. Berrangé > wrote: > > > > On Sat, Jul 11, 2020 at 07:28:43PM -0600, Chris Murphy wrote: > > > > Also, the location for GNOME Boxes doesn't exist at install time, so > > > the installer

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-13 Thread Chris Murphy
On Mon, Jul 13, 2020 at 6:20 AM Daniel P. Berrangé wrote: > > On Sat, Jul 11, 2020 at 07:28:43PM -0600, Chris Murphy wrote: > > Also, the location for GNOME Boxes doesn't exist at install time, so > > the installer doing it with a post-install script isn't a complete > > solution. > > > > While

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-13 Thread Daniel P . Berrangé
On Sat, Jul 11, 2020 at 07:28:43PM -0600, Chris Murphy wrote: > On Fri, Jul 10, 2020 at 6:16 AM Daniel P. Berrangé > wrote: > > > > On Thu, Jul 09, 2020 at 02:15:50PM -0600, Chris Murphy wrote: > > > On Thu, Jul 9, 2020 at 12:27 PM Daniel P. Berrangé > > > wrote: > > > Good point. I am open to

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-11 Thread Chris Murphy
On Fri, Jul 10, 2020 at 6:16 AM Daniel P. Berrangé wrote: > > On Thu, Jul 09, 2020 at 02:15:50PM -0600, Chris Murphy wrote: > > On Thu, Jul 9, 2020 at 12:27 PM Daniel P. Berrangé > > wrote: > > Good point. I am open to suggestion/recommendation by Felipe Borges > > about GNOME Boxes' ability to

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-10 Thread Daniel P . Berrangé
On Thu, Jul 09, 2020 at 02:15:50PM -0600, Chris Murphy wrote: > On Thu, Jul 9, 2020 at 12:27 PM Daniel P. Berrangé > wrote: > > > > On Thu, Jul 09, 2020 at 08:30:14AM -0600, Chris Murphy wrote: > > > It's generally recommended by upstream Btrfs development to set > > > 'nodatacow' using 'chattr

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-09 Thread Chris Murphy
On Thu, Jul 9, 2020 at 12:27 PM Daniel P. Berrangé wrote: > > On Thu, Jul 09, 2020 at 08:30:14AM -0600, Chris Murphy wrote: > > It's generally recommended by upstream Btrfs development to set > > 'nodatacow' using 'chattr +C' on the containing directory for VM > > images. By setting it on the

Re: Setting 'nodatacow' on VM image when on Btrfs

2020-07-09 Thread Daniel P . Berrangé
On Thu, Jul 09, 2020 at 08:30:14AM -0600, Chris Murphy wrote: > It's generally recommended by upstream Btrfs development to set > 'nodatacow' using 'chattr +C' on the containing directory for VM > images. By setting it on the containing directory it means new VM > images inherit the attribute,

Setting 'nodatacow' on VM image when on Btrfs

2020-07-09 Thread Chris Murphy
It's generally recommended by upstream Btrfs development to set 'nodatacow' using 'chattr +C' on the containing directory for VM images. By setting it on the containing directory it means new VM images inherit the attribute, including images copied to this location. But 'nodatacow' also implies