![](https://seccdn.libravatar.org/avatar/ba6138f793e72be6644854fdc3ec2f02.jpg?s=120&d=mm&r=g)
Hello, On Jul 25 20:57 Michael Hamilton wrote (excerpt):
In case it helps, I have written up notes on the structure of an openSUSE btrfs root volume and a bit about recreating a root volume:
https://forums.opensuse.org/showthread.php/521277-LEAP-42-2-btrfs-root-files...
Wow! A very good technical summary. As an addedum about how complicate it is to create an additional btrfs subvolume in compliance with our default btrfs subvolume structure, you may have a look at my (meanwhile probably already somewhat outdated) selfmade personal quick and dirty script in https://lists.opensuse.org/opensuse-factory/2016-10/msg00397.html
As well as the first post, there is a second post further down the thread concerning preserving copy-on-write attributes.
And don't forget btrfs quota setup for snapper that is used by default at least since SLE12-SP2. I don't know what Leap inherits from SLE12 service packs. As far as I know the "intelligence" how to setup the default btrfs subvolume structure and related things is built-in into the YaST installer (I mean the part of YaST plus helper tools like /usr/lib/snapper/installation-helper that run within the SUSE installation system "inst-sys") so that I assume it depends on what YaST installer version is used in Leap (and additionally it may depend on whatever product specific presets for the YaST installer). For each SLE12 service pack (at least up to SLE12-SP2) there was another (incompatible) change or another addon in the SUSE default btrfs subvolume setup that leads to "interesting effects" when using existing system recovery procedures. I.e. each SLE12 service pack needs a bit different recovery procedure when the default btrfs subvolume setup is used, cf. https://github.com/rear/rear/issues/1368#issuecomment-302410707 FYI for general background information about "ReaR", see "Disaster recovery with Relax-and-Recover (ReaR)" at https://en.opensuse.org/SDB:Disaster_Recovery Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org