LVM: DEVICE /DEV/SDX EXCLUDED BY FILTER If you have created a new VD using a disk or group of disks that were previously partitioned, you may see a message like this when you try to initialize the virtual disk for LVM. # pvcreate /dev/sdd Device /dev/sdd excluded by a filter. If filter is correct (/etc/lvm/lvm.conf) and old partition table information […]

Disk > Mdadm > LVM

lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT mdadm -D /dev/md127 watch cat /proc/mdstat # Create vg1 vgcreate vg1 /dev/md127 # Create lg disk lvcreate -L 150M vg1 -n lv1lvcreate -L 150M vg1 -n lv2lvcreate -L 150M vg1 -n lv3 lvs lvdisplay mkfs.ext4 /dev/vg1/lv1 mkfs.ext4 /dev/vg1/lv2 mkfs.ext4 /dev/vg1/lv3 mkdir /home/lv1 && mount /dev/vg1/lv1 /home/lv1 mkdir /home/lv2 && mount /dev/vg1/lv2 /home/lv2 […]