Ask Your Question
1

Can't see my partitions with LVM

asked 2019-04-06 07:34:40 -0600

Valenciano gravatar image

Good morning,

I'm using Fedora 29 on my brand new Acer Swift 1.

It has an eMMC 64Go as storage. During the Installation of Fedora 29, I chose the LVM partitioning system.

When I type in df -h, here is what I obtain :

    Sys. de fichiers        Taille Utilisé Dispo Uti% Monté sur
devtmpfs                  1,9G       0  1,9G   0% /dev
tmpfs                     1,9G       0  1,9G   0% /dev/shm
tmpfs                     1,9G    1,4M  1,9G   1% /run
tmpfs                     1,9G       0  1,9G   0% /sys/fs/cgroup
/dev/mapper/fedora-root    35G    6,9G   27G  21% /
tmpfs                     1,9G     40K  1,9G   1% /tmp
/dev/mapper/fedora-home    18G    401M   16G   3% /home
/dev/mmcblk0p2            976M    158M  751M  18% /boot
/dev/mmcblk0p1            200M     18M  182M   9% /boot/efi
tmpfs                     375M     36K  375M   1% /run/user/1000

The fact is that I don't see /dev/mapper/fedora-home nor /dev/mapper/fedora-root in GParted ?

Coud someone explain me why can't I see all of my partitions with GParted ?

Regards

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
2

answered 2019-04-07 02:42:15 -0600

alamahant gravatar image

Gparted does not show logical volumes. Just partitions. You might want to use the pvdisplay, vgdisplay and lvdisplay commands instead Or maybe this GUI............? https://fedoraproject.org/wiki/Blivet...

edit flag offensive delete link more

Comments

To add a bit clarity (maybe) to @alamahant's answer, LVM takes a partition as so called "physical volume" and creates/manages multiple "logical volumes" inside of one partition.

GParted works with partitions, not with LVM volumes, so it'll show just one partition with filesystem type "lvm2 pv", on which both fedora-root and fedora-home volumes do reside.

I won't go into why's of LVM and additional info, as it's beside the question at hand.

Night Romantic gravatar imageNight Romantic ( 2019-04-09 08:26:43 -0600 )edit
1

answered 2019-04-09 09:36:20 -0600

Valenciano gravatar image

Greetings to you !

Ok thank you ! Indeed, on Fedora MATE I have blivet-gui and everything was displayed (both physical and logical volumes.

Also, I noticed that the same info were available in the MATE system monitor.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-04-06 07:34:40 -0600

Seen: 516 times

Last updated: Apr 09 '19