Ssm Vs. Lvm: Moving Physical Drives And Volume Group To Another System

Home » CentOS » Ssm Vs. Lvm: Moving Physical Drives And Volume Group To Another System
CentOS 9 Comments

I did the following test:

###############################################
1.

Computer with CentOS 7.5 installed on hard drive /dev/sda.

Added two hard drives to the computer: /dev/sdb and /dev/sdc.

Created a new logical volume in RAID-1 using RedHat System Storage Manager:

ssm create –fstype xfs -r 1 /dev/sdb /dev/sdc /mnt/data

Everything works.
/dev/lvm_pool/lvol001 is mounted to /mnt/data. Files and folders can be copied/moved, read/written on /mnt/data.

###############################################

2.

I erased CentOS 7.5 from /dev/sda. Wrote zeros to /dev/sda using dd. Reinstalled CentOS 7 on /dev/sda. Completed yum update – reboot – yum install system-storage-manager.

RedHat system storage manager listed all existing volumes on the computer:

[root@localhost]# ssm list

————————————————————————————

9 thoughts on - Ssm Vs. Lvm: Moving Physical Drives And Volume Group To Another System

  • When I change /etc/fstab from /dev/mapper/lvol001 to
    /dev/lvm_pool/lvol001, kernel 3.10.0-514 will boot.

    Kernel 3.10.0-862 hangs and will not boot.

  • ssm list shows –

    /dev/lvm_pool/lvol001

    When I place /dev/lvm_pool/lvol001 into /etc/fstab the computer will boot using kernel 514. Kernel 862 still hangs/panics.

  • I don’t have an answer to why kernel 514 is not booting, but what I was trying to say is:

    /dev/lvm_pool/lvol001
    and
    /dev/mapper/lvm_pool-lvol001
    are both symlinks to the same /dev/dm-X device file. You can use either name, but the one you listed was missing the volume group name

  • kernel 514 does boot. kernel 862 hangs/panics. I will try both entries in your example above on kernel 514 to confirm. If both work then I’ll try them also on kernel 862 to see if possibly one will work. thanks for your help.

  • /dev/lvm_pool/lvol001 and /dev/mapper/lvm_pool-lvol001 work with kernel 514.

    they don’t work with kernel 862.

    the googling continues . . .

  • Cannot get the system storage manager (ssm) to create the raid 1 array with logical volume and xfs file system in one step. Cannot find my error or omission. The 862 kernel crashes on reboot every time. I went back to simple lvm on raid and everything worked on the first try — man page reviews and implementation complete in under 30 mins. I’m giving myself permission to let it be. :-)

    Tested. Confirmed. Works