creating the file system in virtual machine
first add the disk in virtual machine then the disk will appear by using below command. here added the sdc disk in virtual machine. List the block devices ------------------- [root@testmachine ~]# lsblk ----------------------- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 100G 0 disk |-sda1 8:1 0 300M 0 part /boot |-sda2 8:2 0 2G 0 part [SWAP] `-sda3 8:3 0 97.7G 0 part / sdb 8:16 0 26G 0 disk `-sdb1 8:17 0 26G 0 part [SWAP] sdc 8:32 0 20G 0 disk sr0 11:0 1 1024M 0 rom [root@testmachine ~]# pvcreate /dev/sdc -------------------------------- Physical volume "/dev/sdc" successfully created. [root@testmachine ~]# vgs [root@testmachine ~]# vgcreate volumegroup1 /dev/...