Ok, where did system-config-lvm go in rhel 7, centos 7, Oracle Linux 7?

Ok, where did GUI system-config-lvm go? in rhel 7, centos 7, Oracle Linux 7?
Not sure where the GUI went and why but, you can’t install the package anymore, at least to my knowledge not in RHEL 7 and it’s clones.  I
New command line utility with systemd / RHEL 7 is being provided named “ssm”.
You can install it with:

yum install system-storage-manager

It does a lot of the thing that the “pv” and “lv” legacy commands did in one command –  the legacy command lines (e.g. pvcreate, lvcreate, etc.) are still there too.  Makes using chef a lot easier I would assume.
So here is how I finally created a new logical volume and mounted it – from root – assuming the disk I’m adding is under /dev/sda.

mkdir /u01
ssm create --fs xfs -s 900G -p ol_u01 /dev/sda /u01
[root@mega ~]# ssm list
--------------------------------------------------------------------
Device Free Used Total Pool Mount point
--------------------------------------------------------------------
/dev/nvme0n1 476.94 GB PARTITIONED
/dev/nvme0n1p1 1.00 GB /boot
/dev/nvme0n1p2 4.00 MB 475.81 GB 475.82 GB ol_mega
/dev/sda 31.51 GB 900.00 GB 931.51 GB ol_u01
/dev/sdb 1.82 TB
--------------------------------------------------------------------
------------------------------------------------------
Pool Type Devices Free Used Total
------------------------------------------------------
ol_mega lvm 1 4.00 MB 475.81 GB 475.82 GB
ol_u01 lvm 1 31.51 GB 900.00 GB 931.51 GB
------------------------------------------------------
------------------------------------------------------------------------------------------
Volume Pool Volume size FS FS size Free Type Mount point
------------------------------------------------------------------------------------------
/dev/ol_mega/root ol_mega 400.00 GB xfs 399.80 GB 386.72 GB linear /
/dev/ol_mega/swap ol_mega 7.81 GB linear
/dev/ol_u01/lvol001 ol_u01 900.00 GB xfs 899.56 GB 899.56 GB linear /u01
/dev/ol_mega/home ol_mega 68.00 GB xfs 67.97 GB 67.90 GB linear /home
/dev/nvme0n1p1 1.00 GB xfs 1014.00 MB 765.80 MB part /boot
# then I added one line to /etc/fstab - so that it mounts on a reboot
/dev/mapper/ol_u01-lvol001 /u01 xfs defaults 0 0

 

Leave a Comment

Scroll to Top