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. I have question related to below subvolumes
ID 258 gen 244451 top level 257 path boot/grub2/i386-pc
ID 259 gen 235020 top level 257 path boot/grub2/x86_64-efi
These subvolumes get mounted on same directories. The fstab entries are:
UUID=e13a6b2a-29f4-4eba-87db-d38b00baa6cd / btrfs defaults 0 0
UUID=bc06c806-ee5c-44f7-99f9-bb7c84418ab8 /boot ext4 acl,user_xattr 1 2
UUID=e13a6b2a-29f4-4eba-87db-d38b00baa6cd /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0
UUID=e13a6b2a-29f4-4eba-87db-d38b00baa6cd /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0
When the /boot/grub2/i386-pc gets mounted on /boot/grub2/i386-pc, the contents of /boot/grub2/i386-pc gets hidden. Since the original contents of /boot/grub2/i386-pc are required for the OS to boot; how does the OS handle this situation?
How should a backup software handle this situation because since the contents are hidden due to the subvolume, it will not backup the original contents and restore will not work as expected?
Hi
But a btrfs subvolume is not a block device, so as long as /boot
(UUID=bc06c806-ee5c-44f7-99f9-bb7c84418ab8) backs up and restores, all
should be good?
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel
3.12.44-52.10-default If you find this post helpful and are logged into
the web interface, please show your appreciation and click on the star
below… Thanks!
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. I have question related to below subvolumes
ID 258 gen 244451 top level 257 path boot/grub2/i386-pc
ID 259 gen 235020 top level 257 path boot/grub2/x86_64-efi
These subvolumes get mounted on same directories. The fstab entries are:
UUID=e13a6b2a-29f4-4eba-87db-d38b00baa6cd / btrfs defaults 0 0
UUID=bc06c806-ee5c-44f7-99f9-bb7c84418ab8 /boot ext4 acl,user_xattr 1 2
UUID=e13a6b2a-29f4-4eba-87db-d38b00baa6cd /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0
UUID=e13a6b2a-29f4-4eba-87db-d38b00baa6cd /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0
When the /boot/grub2/i386-pc gets mounted on /boot/grub2/i386-pc, the contents of /boot/grub2/i386-pc gets hidden.[/QUOTE]
call me blind, but I don’t see where different FS are mounted on the same mount point… subvol=@/boot/grub2/i386-pc goes on /boot/grub2/i386-pc, and subvol=@/boot/grub2/x86_64-efi goes on /boot/grub2/x86_64-efi?
Hi
I see many more mod files in the listed directory with it mounted as a
subvolume on a normal boot no mounting/unmounting of a subvolume.
I use ext3 for /boot, btrfs for / and xfs for my other data. Something
just doesn’t seem right with your install, I don’t use esx (which from
your hostname would indicate is in use) so unsure if it is something
with this…
Is it possible to install a test system on the hardware and see if it
duplicates?
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel
3.12.44-52.10-default If you find this post helpful and are logged into
the web interface, please show your appreciation and click on the star
below… Thanks!
I will try that; but I am sure installation on VM shouldnt matter.
And I have just followed the Installation process as is; I dont remember doing special here except configuring an MD.
When subvolume is mounted the cotents of directory are:
I see the issue now. To me it looks like these subvolumes were created after the installation… that’s why the filesystems on them are empty.
The question remains… why were these subvolumes created (I see no need for them), I’ve not come across this before. Let’s see what your test install (other branch of this discussion thread) brings up…
Yesterday I freshly installed suse 12 on my machine where root and boot are different file systems. The installation gave me a warning that the cross mounts of root subvolumes will shadow the boot and vice-a-verse.
So I believe that nobody will configure their system with cross mounts.
Earlier setup was done by somebody else and that person must have ignored the warning. Sorry for the confusion.