I am trying to create Logical Volume on CentOS 7 on EC2 instance. After attaching the volume I am creating partition using fdisk, then I am starting the Logical Volume creation:
pvcreate /dev/xvda1
vgcreate vgname /dev/xvda1
lvcreate -L 68G vgname -n lvname
After this implementation I am trying to format the Logical Volume as ext4 but when I run mkfs -t ext4 /dev/mapper/vgname-lvname I am receiving the following error:
mkfs.ext4: No such file or directory
Do you have any ideas what is going on?
Aucun commentaire:
Enregistrer un commentaire