LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pvcreate extended partition (https://www.linuxquestions.org/questions/linux-newbie-8/pvcreate-extended-partition-4175637135/)

oyesiji 08-25-2018 09:19 PM

pvcreate extended partition
 
I have only one partition left so i created an extended partition of 2G and set it as a LV using 8e
But whenever i enter pvcreate i get an error

pvcreate /dev/sdb4

No device found for PV MeKu3j-eFT5-WFmS-Udfo-3F0h-6fqV-QXXfQ1.
Physical volume /dev/sdb4 not found
Device /dev/sdb4 not found (or ignored by filtering).


Please what am i doing wrong??

syg00 08-25-2018 09:23 PM

You can't do anything to an extended partition - it is merely a container to allow more than 4 partitions (as you seem to know). So simply create a logical partition within /dev/sda4 - it will create /dev/sda5. Do your pvcreate on /dev/sda5.


All times are GMT -5. The time now is 08:24 AM.