3

I'm starting to use btrfs. I want to be able to snapshot certain directories but do not want to create sub-volumes. Is this possible?

3
  • 2
    I dont think so. Why don't you want subvolumes? Subvolumes are one of those things that makes btrft great.
    – arnefm
    Jun 2, 2014 at 11:13
  • Going to read up on subvolumes more today. Jun 2, 2014 at 16:02
  • 2
    Also, snapshots are subvolumes.
    – XTL
    Nov 11, 2015 at 13:43

1 Answer 1

5

Yes. Do cp --reflink=auto /src/dir /dest/dir. For all practical purposes it behaves like read & write snapshot of the given directory.

(If you use this command across independent btrfs partitions or outside the btrfs it will perform an ordinary copy)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.