Can't create LVM due to: not found (or ignored by filtering)

Posted by James on Server Fault See other posts from Server Fault or by James
Published on 2012-09-16T08:02:24Z Indexed on 2012/09/16 9:40 UTC
Read the original article Hit count: 202

Filed under:
|
|

I'm planning to use LVM for KVM, and when I try to create a VG it fails, so how can I create my VG and LV ?

Thanks

[root@server ~]# vgcreate virtual-machines /dev/sda
  Device /dev/sda not found (or ignored by filtering).
  Unable to add physical volume '/dev/sda' to volume group 'virtual-machines'.
[root@server ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             2.0T  929G  976G  49% /
tmpfs                 3.9G  124K  3.9G   1% /dev/shm
/dev/sda1             194M   57M  128M  31% /boot
[root@server ~]# pvscan
  No matching physical volumes found

© Server Fault or respective owner

Related posts about linux

Related posts about lvm