linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs send/receive does not preserve +C (nocow) attribute
@ 2014-08-06 15:56 Jakub Klinkovský
  2014-08-06 16:22 ` Juan Orti Alcaine
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Klinkovský @ 2014-08-06 15:56 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

I've been testing btrfs send/receive, and to my surprise, the +C (nocow)
attribute I have set on directory for virtual machines images is not preserved.
Is this expected? Having found no information about this issue, I'm asking here.

Info:
$ uname -a
Linux asusntb 3.15.8-1-ARCH #1 SMP PREEMPT Fri Aug 1 08:51:42 CEST 2014 x86_64 GNU/Linux
$ btrfs --version
Btrfs v3.14.2-dirty

Both source and target btrfs filesystems are mounted with the same mount
options:
  rw,nosuid,nodev,noatime,compress=lzo,space_cache,autodefrag,commit=60

$ lsattr ~/virtual_machines/
---------------C virtual_machines/archlinux-btrfs.raw
---------------C virtual_machines/archlinux.raw
---------------C virtual_machines/winxp.raw

$ lsattr /media/backup/virtual_machines/2014-08-06/
---------------- /media/backup/virtual_machines/2014-08-06/archlinux-btrfs.raw
---------------- /media/backup/virtual_machines/2014-08-06/archlinux.raw
---------------- /media/backup/virtual_machines/2014-08-06/winxp.raw

Regards,

--
jlk

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: btrfs send/receive does not preserve +C (nocow) attribute
  2014-08-06 15:56 btrfs send/receive does not preserve +C (nocow) attribute Jakub Klinkovský
@ 2014-08-06 16:22 ` Juan Orti Alcaine
  0 siblings, 0 replies; 2+ messages in thread
From: Juan Orti Alcaine @ 2014-08-06 16:22 UTC (permalink / raw)
  To: linux-btrfs

El Miércoles, 6 de agosto de 2014 17:56:52 Jakub Klinkovský escribió:
> I've been testing btrfs send/receive, and to my surprise, the +C (nocow)
> attribute I have set on directory for virtual machines images is not
> preserved. Is this expected? Having found no information about this issue,
> I'm asking here.
> 
> Info:
> $ uname -a
> Linux asusntb 3.15.8-1-ARCH #1 SMP PREEMPT Fri Aug 1 08:51:42 CEST 2014
> x86_64 GNU/Linux $ btrfs --version
> Btrfs v3.14.2-dirty
> 
> Both source and target btrfs filesystems are mounted with the same mount
> options:
>   rw,nosuid,nodev,noatime,compress=lzo,space_cache,autodefrag,commit=60
> 
> $ lsattr ~/virtual_machines/
> ---------------C virtual_machines/archlinux-btrfs.raw
> ---------------C virtual_machines/archlinux.raw
> ---------------C virtual_machines/winxp.raw
> 
> $ lsattr /media/backup/virtual_machines/2014-08-06/
> ----------------
> /media/backup/virtual_machines/2014-08-06/archlinux-btrfs.raw
> ---------------- /media/backup/virtual_machines/2014-08-06/archlinux.raw
> ---------------- /media/backup/virtual_machines/2014-08-06/winxp.raw
> 
> Regards,
> 
> --
> jlk

Nor do file capabilities get preserved:
https://bugzilla.kernel.org/show_bug.cgi?id=68891

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-06 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-06 15:56 btrfs send/receive does not preserve +C (nocow) attribute Jakub Klinkovský
2014-08-06 16:22 ` Juan Orti Alcaine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).