1

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 groupB 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?

Romeo Ninov
  • 5,263
  • 4
  • 20
  • 26
ceh
  • 11
  • 2

0 Answers0