linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jakub Klinkovský" <j.l.k@gmx.com>
To: linux-btrfs@vger.kernel.org
Subject: btrfs send/receive does not preserve +C (nocow) attribute
Date: Wed, 6 Aug 2014 17:56:52 +0200	[thread overview]
Message-ID: <20140806155652.GA569@asusntb.lan> (raw)

[-- 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 --]

             reply	other threads:[~2014-08-06 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 15:56 Jakub Klinkovský [this message]
2014-08-06 16:22 ` btrfs send/receive does not preserve +C (nocow) attribute Juan Orti Alcaine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140806155652.GA569@asusntb.lan \
    --to=j.l.k@gmx.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).