The pvcreate failed with error "Device /dev/sdX not found (or ignored by filtering)."

(Doc ID 2315281.1)

Last updated on OCTOBER 10, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Information in this document applies to any platform.

Symptoms

The pvcreate command failed with below error:

# pvcreate /dev/sdX
Device /dev/sdX not found (or ignored by filtering).

 Use option "-vvv" to read more verbose outputs.

# pvcreate -vvv /dev/sdX
<snip>
Opened /dev/sdX RO O_DIRECT
/dev/sdX: size is 1169920000 sectors
Closed /dev/sdX
dm version [ opencount flush ] [16384] (*1)
dm status (249:4) [ opencount flush ] [16384] (*1)
/dev/sdX: Skipping mpath component device
........
...............
Opened /dev/sdX RO O_DIRECT
/dev/sdX: using cached size 1169920000 sectors
Closed /dev/sdd
dm status (249:4) [ opencount flush ] [16384] (*1)
/dev/sdd: Skipping mpath component device
........
...............
Device /dev/sdX not found (or ignored by filtering).
No devices to process.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms