Where do I mount fedora root LVM2 logical volume

,

Good evening

I installed Fedora IoT 43 on an old desktop, and added Cockpit to it. From the Storage page in Cockpit I see there’s a couple logical volumes that are oddly mounted.

They are the home and root logical volumes. For home I was offered /var/home as a mount point so I took that and it’s working so I guess I chose correctly.

But I’m not sure what to choose for the root volume: /etc or / or do I just ignore the warning? The system seems to be working fine but that little orange triange is bugging me!

It says the mount point is / but it isn’t currently mounted; and then it says it’s currently mounted on /etc !!!

Any suggestions or explanations? Thanks!

To complicate things further the /etc/mtab says it’s mounted in four different places:

$ fgrep fedora-root /etc/mtab
/dev/mapper/fedora-root /etc ext4 rw,seclabel,relatime 0 0
/dev/mapper/fedora-root /sysroot ext4 ro,seclabel,relatime 0 0
/dev/mapper/fedora-root /sysroot/ostree/deploy/fedora-iot/var ext4 rw,seclabel,relatime 0 0
/dev/mapper/fedora-root /var ext4 rw,seclabel,relatime 0 0

A system cannot work without a mounted root on /.
Usually home is on /home.

I’m not sure why you are being asked to change root and home at all.

From a terminal what does the lsblk -f command report?
(I do not have an example to share).

Good evening

Here’s the result of lsblk -f, does it make sense? Thanks

$ sudo lsblk -f
NAME                     FSTYPE      FSVER    LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
sda                      LVM2_member LVM2 001       Uo9fF2-BfYV-TGnf-jkWL-yUYP-dQBq-PiKTnr                
├─vgroup0-lvol0_rmeta_1                                                                                   
│ └─vgroup0-lvol0        xfs                  data  2af0905c-48de-4444-9df3-aa975ff8da85    398.7G    57% /var/srv/storage
└─vgroup0-lvol0_rimage_1                                                                                  
  └─vgroup0-lvol0        xfs                  data  2af0905c-48de-4444-9df3-aa975ff8da85    398.7G    57% /var/srv/storage
sdb                      LVM2_member LVM2 001       8hUkZh-RYyM-M7GP-jJEG-aVRk-432X-A1XWia                
├─vgroup0-lvol0_rmeta_0                                                                                   
│ └─vgroup0-lvol0        xfs                  data  2af0905c-48de-4444-9df3-aa975ff8da85    398.7G    57% /var/srv/storage
└─vgroup0-lvol0_rimage_0                                                                                  
  └─vgroup0-lvol0        xfs                  data  2af0905c-48de-4444-9df3-aa975ff8da85    398.7G    57% /var/srv/storage
sr0                                                                                                       
zram0                    swap        1        zram0 b00b6938-c27d-4d1c-af65-c4f6dcdaaeeb                  [SWAP]
nvme0n1                                                                                                   
├─nvme0n1p1              vfat        FAT32          A1C0-B62F                               591.3M     1% /boot/efi
├─nvme0n1p2              ext4        1.0            816a2d98-f42e-4e40-97a5-1f131e7e0490      1.7G     7% /boot
└─nvme0n1p3              LVM2_member LVM2 001       f7Wjzq-3tlT-yVt5-eRgy-P1Lq-VW3e-sHb6nu                
  ├─fedora-root          ext4        1.0            fe24d681-a669-4704-8dea-b15e113eb102       62G     4% /var
  │                                                                                                       /sysroot/ostree/deploy/fedora-iot/var
  │                                                                                                       /sysroot
  │                                                                                                       /etc
  └─fedora-home          ext4        1.0            1fdfbc70-c7af-4b50-a58f-828169eeae2a    151.5G     1% /var/home

That must be a IoT thing. I do not have enough knowledge of IoT to be able to usefully help.

Aside from to remark that as your IoT system is working there is clearly no need to change mount points. This could be a issue that cockpit is not designed to use on IoT.

I would have expected to be using ssh or a custom app to manage an IoT device.

But as I say I do not have specific knowledge of the IoT spin.
When you ask more questions about Fedora IoT I’d suggest puttingh IoT in the topic title to attract IoT knowledgeable people.

See:

(This is for Kinoite, but IoT is another atomic-based edition so the same principles should apply.)

1 Like

Thanks! That explains it - I don’t understand all of it but it what I do makes sense.

1 Like