Deleting old LVM devices file PVID <ID> last seen not found

On one of my servers, I used to have a storage device, /dev/sdb, attached to it. That storage was used as an LVM physical volume. It has later been removed, and now I just noticed the following message: [root@banan ~]# lvs Devices file PVID CuDRE3nMN5FMNqYLViHrnE1D7OFDlbX6 last seen on /dev/sdb not found. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root almalinux -wi-ao---- <28.40g swap almalinux -wi-ao---- 2....

October 26, 2023 · 2 min · 274 words · kenno

Resizing an LVM logical volume

One of the logical volumes on my desktop is running out of space. I want to add 200GB to that volume. Here is one way to achieve this task. First a bit of warning. Don’t, or never, just copy and paste what you see here if you want to apply it to your own system. You may accidentally destroy your precious data. # lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert backup data -wi-ao---- 200....

July 20, 2016 · 2 min · 253 words · kenno