pvcreate error – device excluded by filter

$pvcreate /dev/sdk

error:

/dev/sdk
Wiping internal VG cache
Wiping cache of LVM-capable devices
Device /dev/sdk excluded by a filter.

Device used to be MDADM device. Need to set md_component_detection=0 (change from 1 to 0)

Retry….

Works!

$pvcreate /dev/sdk

/dev/sdk
Wiping internal VG cache
Wiping cache of LVM-capable devices
Wiping signatures on new PV /dev/sdk.
Found existing signature on /dev/sdk at offset 4096: LABEL=”backupsrv:0″ UUID=”2ef3d871-f880-29d5-8127-05923505e4dc” TYPE=”linux_raid_member” USAGE=”raid”
WARNING: linux_raid_member signature detected on /dev/sdk at offset 4096. Wipe it? [y/n]: y
Accepted input: [y]
Wiping linux_raid_member signature on /dev/sdk.
Set up physical volume for “/dev/sdk” with 9767541168 available sectors.
Zeroing start of device /dev/sdk.
Writing physical volume data to disk “/dev/sdk”.
Physical volume “/dev/sdk” successfully created.