LVM Device Blah Excluded by Filter

If you use LVM frequently enough, especially when re-using existing disks, you might come a cross a problem when you’re unable to create a physical volume from that disk. For example, here is what I encountered today when I tried to create a physical volume on a device called /dev/sdb. [root@db3 ~]# pvcreate /dev/sdb Device /dev/sdb excluded by a filter. I’m sure I haven’t had any filters in /etc/lvm/lvm.conf. ...

June 18, 2021 · 1 min · 169 words · kenno

Blacklisting Local Disk from Multipath

In my previous post, I wrote about my quest to identify a disk presented by the Dell server itself. At the end of the post, I mentioned that I should be able to resume with creating a LVM volume on the new disk. LVM stands for Logical Volume Management. There is a good tutorial available at this page if you’re interested in – How To Use LVM To Manage Storage Devices on Ubuntu 16.04. ...

January 28, 2018 · 3 min · 474 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.00g scratch data -wi-ao---- 1.00t home system -wi-ao---- 90.00g root system -wi-ao---- 100.00g swap system -wi-ao---- 16.00g tmp system -wi-a----- 4.00g var system -wi-ao---- 20.00g Let’s check the available disk space of volume groups we can use: ...

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

Managing LVM

LVM stands for Logical Volume Manager. It is a tool for logical volume management allowing us to allocate disks, strip, mirror and resize logical volumes. With LVM, we can manage partitions dynamically. Recently at work, we opted to use LVM to create logical partitions instead of physical partition on Linux desktop. This post is just a note to remind me of some common used commands. If you want to learn more about LVM, hit this link instead. ...

July 4, 2014 · 2 min · 394 words · kenno