I am trying to use pvcreate
to create a physical volume and then use lvcreate
to create a logical volume on Centos7.9. But, both pvcreate
and lvcreate
seem to be failing with error code 5.
/bin/lvm pvcreate -y -ff /dev/md7,/dev/md8,/dev/md12
returned 5
...
/bin/lvm lvcreate -y -L 16GB -n home group
B returned 5
I read elsewhere in the post: vgextend fails with error code 5
about vgextend
failing due to root partition being mounted read-only.
But, I have verified that it is not so in this case.
Any idea why this could be happening?