Hello all,
I’ve been running Silverblue for a while in virtual machines and I now feel ready to take the step of replacing Fedora Workstation with Silverblue on my machine. There is just one thing that I cannot get my head around, and that is the filesystem. On all my production machines I split the filesystem over a couple of logical volumes and doing this for Silverblue turned out to be a bit more challenging than I thought. Not technically, but when it comes to my own understanding.
To start off, in the ostree documentation which is quoted in First Login it’s stated that /tmp will be mounted to /sysroot/tmp. This is not correct for Silverblue 29, since systemd is taking care of the /tmp mount and makes it a tmpfs. This was an easy discovery and it’s becoming more and more standard. But the thing that is really confusing to me and that I cannot get my head around is the way /, /sysroot, and /usr are mounted. Running mount | grep lvRoot (where lvRoot is the name of my logical volume for the /) gives me the following:
/dev/mapper/vgRoot-lvRoot on /sysroot type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/mapper/vgRoot-lvRoot on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/mapper/vgRoot-lvRoot on /usr type xfs (ro,relatime,seclabel,attr2,inode64,noquota)
To me this looks like the logical volume is mounted to three different places, but when I look at the content of these three different paths, the content is different.
Can someone spare some time and try to explain this to me? I’m saying try since I don’t know if I will understand it. Hopefully I do… And when I do understand this I’ll make a contribution to the documentation about this subject.
Thanks in advance!
