One of the more usefull features of the btrfs are the subvolume snapshots. If you use a subvolume instead of the main filesystem, you can create snapshots and revert changes whenever you want. Suse and Ubuntu can install the system on a subvolume maned "@" and mount this as root. If you want to make changes without risk, you can rename @ as simething else and create a new @. Then you can switch between them and hace a backup of the system.
CC: (none) => zen25000
CC: (none) => bequimao.de
Did you define the intented subvolume as default subvolume? What is the error message? I did not test it so far. I am waiting for another batch of isos. Greetings Ulrich Beckmann
Shouldn't this already be possible, as long as you don't put /boot on a subvolume?
CC: (none) => marja11, thierry.vignaud, tmb
Hi Marja, It should be possible to prepare a partition with predefined subvolumes. But you can neither mount these subvolumes to the correct mountpoints during or before installation, nor they would be added to /etc/fstab. One subvolume "@" is already an improvement, as you never can delete the root subvolume (subvolid = 5), when the default subvolume passes to another snapshot. OpenSUSE's set of subvolumes however is far more detailed. I had converted an installation of Mageia Cauldron to such a set of subvolumes. Greetings, Ulrich
Blocks: (none) => 416
I tested an installation into a btrfs partition with predefined default subvolume @@@ with Mageia-6-sta1-LiveDVD-PLASMA5-x86_64-DVD.iso of Jun 19. You'll have to select "Use existing partitions" and unmark formatting. It works even with an btrfs raid configuration. It failed when installing the bootloader. But I still have to verify, if it depends on the configuration, and then file another bug. Best regards, Ulrich
Testcase to Comment #4 (ext4, not btrfs) https://bugs.mageia.org/show_bug.cgi?id=18774 Ulrich Beckmann
I repeated the test with the classical iso UUID="2016-06-20-21-52-36-00" LABEL="Mageia-6-sta1-x86_64" TYPE="iso9660" PTUUID="7c894d90" PTTYPE="dos" PARTUUID="7c894d90-01" After unchecking "Format" I saw a rapid message "Formatting ... But obviously it did not format anything. The prepared btrfs partition remained intact, and I got a sucessful installation including grub2-bootloader (UEFI). So it is possible to install Mageia 6 to btrfs with predifined subvolumes. -------------------------------------------------------------------------- [root@localhost ~]# btrfs filesystem show /dev/sda12 Label: 'Mageia-Test' uuid: 191c07a2-4099-4276-9fdf-dc6454db70f0 Total devices 2 FS bytes used 3.82GiB devid 1 size 11.72GiB used 3.02GiB path /dev/sda12 devid 2 size 11.72GiB used 3.00GiB path /dev/sda14 [root@localhost ~]# mount /dev/sda12 /mnt [root@localhost ~]# [root@localhost ~]# btrfs subvolume list /mnt ID 257 gen 10139 top level 5 path @@@ ID 259 gen 10105 top level 257 path var/lib/machines [root@localhost ~]# [root@localhost ~]# btrfs subvolume get-default /mnt ID 257 gen 10139 top level 5 path @@@ ---------------------------------------------------------------------------- Best regards, Ulrich
Dependency to https://bugs.mageia.org/show_bug.cgi?id=18460 removed.
Blocks: 416 => (none)
Assignee: bugsquad => mageiatools
*** Bug 31832 has been marked as a duplicate of this bug. ***
CC: (none) => 79625490833
the error has been around for many years, but it has not been fixed yet.