linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* chattr +C on subvolume
@ 2015-08-18 17:36 Timothy Normand Miller
  2015-08-18 17:39 ` Timothy Normand Miller
  2015-08-18 18:35 ` Austin S Hemmelgarn
  0 siblings, 2 replies; 4+ messages in thread
From: Timothy Normand Miller @ 2015-08-18 17:36 UTC (permalink / raw)
  To: Btrfs BTRFS

Maybe this is a dumb question, but there are always corner cases.

I have a subvolume where I want to disable CoW for VM disks.  Maybe
that's a dumb idea, but that's a recommendation I've seen here and
there.  Now, in the docs I've seen, +C applies to a directory.  Does
it apply to subvolumes?  And do I apply it to the subvolume within the
main volume, or do I apply it to the mount point where I've mounted
the subvolume separately?  Are there any cases where the flag applies
or not depending on how you access the files?

The same subvolume for me is accessible via /mnt/btrfs/vms (via the
/mnt/btrfs mount point) and /mnt/vms (where the subvolume is mounted).
I applied +C to /mnt/btrfs/vms.  So what I'm trying to find out is if
it also applies when files are accessed via /mnt/vms.

Thanks.


-- 
Timothy Normand Miller, PhD
Assistant Professor of Computer Science, Binghamton University
http://www.cs.binghamton.edu/~millerti/
Open Graphics Project

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

end of thread, other threads:[~2015-08-18 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18 17:36 chattr +C on subvolume Timothy Normand Miller
2015-08-18 17:39 ` Timothy Normand Miller
2015-08-18 17:41   ` Timothy Normand Miller
2015-08-18 18:35 ` Austin S Hemmelgarn

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).