跳至主要内容

博文

目前显示的是标签为“lvm”的博文

Device excluded by a filter excerpt: pvcreate encounter an error on newly prepared hard drive

Device /dev/sdc excluded by a filter The title is one of the several issues I met when preparing new hard drives for my Linux Host. By looking at `/etc/lvm.conf` I am 100% sure that there's no filter setup. It turns out to be the Filesystem magic bits were remaining on my used harddrives which prevent the pvcreate command to run. Those magic bits won't be erased by `parted` tool. One must explicitly invoke `wipefs` command against the drive for magic bits cleanup. wipefs -a /dev/sdc Once did this, the `pvcreate` is happy processing the hard disk for physical volume creation.