I was tasked with creating some Redhat Linux servers recently and had to create multiple volume groups and volume mount points. Usually this task can be daunting when you see a spreadsheet full of mount points. But with SSM(System Storage Manager) it was a breeze! Examples below.
First off you will need to install SSM.
yum install system-storage-manager
Once installed.
ssm list
Create a volume group.
ssm create -p VG001 /dev/sdb – p is for Pool(Volume Group)
ssm remove VG001
Create a volume group(Pool) and create a volume with a mount point.
ssm create -s 1024M -n volume_name –fstype xfs -p VG001 /dev/sdb /mount_point
There is much, much more you can do, like expand volumes as well.