Home / Archive for Albert / Page 4

Author: Albert

Failed to create notification semaphore: Invalid argument – LVM error

lvcreate gives the following error about semaphore. lvcreate -n test_lv10 -L 1G test_vg_3 Found duplicate PV XfbmuZ2c2MPAb8r0TDIBNrcyUx0yMZpu: using /dev/emcpowerh not /dev/sdb Failed to create notification semaphore: Invalid argument Unable to resume test_vg_3-test_lv10 (253:3) Failed to activate new LV. Failed to create notification semaphore: Invalid argument Unable to deactivate test_vg_3-test_lv10 (253:3) Unable to deactivate failed new …

Read more

How to create LVM snapshot for system maintenance?

This article shows step-by-step instructions for getting a CentOS system ready and making LVM snapshots for system maintenance or software upgrades. LVM snapshots are meant to be used as a restoration point if anything goes wrong during the upgrade process. The suggestion is to run this procedure in a test environment first. Also, one of …

Read more

How to shrink an LVM Logical Volume

Since shrinking is not supported on these file systems, you cannot reduce the size of a logical volume that houses a GFS2 or XFS file system. The lvreduce command typically warns about potential data loss and requests confirmation. In some circumstances, such as when the logical volume is inactive, or the —resizefs option is not …

Read more

How to delete a non-root LVM volume?

If the non-root LVM volume, Volume Group, and Physical Volume used for the LV is no longer needed on the system, they can be deleted using the steps below. If the LVM volume has any critical data, make sure to make a copy of that data before moving on to the following steps. Replace /dev/sdc1 …

Read more