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.
评论
发表评论