Failed to create LVM volume. Device not found / dev / sdxy (or ignored by filtering)

0

I have a machine with CentOS 7.3.1611 and an oVirt Hosted Engine.

I want to add a new disk (sdb) to the volume group to extend it so that we can create another logical volume where we can create virtual machines.

Here I show the result of making a fdisk on the disk in question:

[root@host1 ~]# fdisk /dev/sdb 
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Orden (m para obtener ayuda): p

Disk /dev/sdb: 300.1 GB, 300069052416 bytes, 586072368 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Identificador del disco: 0x7a33815f

Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/sdb1            2048   586072367   293035160   8e  Linux LVM

The / dev / sdb1 partition is displayed when you run the following command:

[root@host1 ~]# cat /proc/partitions 
major minor  #blocks  name

8    0    293036184    sda  
8    1    1024    sda1  
8    16    293036184    sdb  
8    17    293035160    sdb1

But when I execute the command to create the physical volume with "pvcreate / dev / sdb1" the result is as follows:

[root@host1 ~]# pvcreate /dev/sdb1

Device /dev/sdb1 not found (or ignored by filtering).

I have reviewed the file /etc/lvm/lvm.conf for the theme of the filters, but I do not have any filter that makes me think that LVM is discarding the device (all filter lines are commented). I have rebooted the machine when I created the partition before executing pvcreate. I have searched in google for the error but I do not give with the solution.

    
asked by Manuel Luis Aznar 25.08.2017 в 21:17
source

0 answers