Suse 12 subvolume creation when root and boot are different
I have installed SuSE 12 where root and boot are different file systems. The root is BTRFS and boot is ext4. This installation has subvolumes for root.
Subvolumes can be created only on btrfs file systems. According to the documentation one needs to give a absolute path for creating a subvolume. For eg:
btrfs subvolume create /boot/grub2/NEWSUBVOL
Which means that the subvolume will be created inside directory /boot/grub2.
However since /boot is not a btrfs file system, above command errors out with:
ERROR: cannot create subvolume - Inappropriate ioctl for device
However during the installation OS creates 2 subvolumes under /boot/grub2.
<host>:~ # btrfs subvolume list /
ID 258 gen 245750 top level 257 path boot/grub2/i386-pc
ID 259 gen 235020 top level 257 path boot/grub2/x86_64-efi