LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem in creating LVM in RHEL 5 Server (https://www.linuxquestions.org/questions/linux-server-73/problem-in-creating-lvm-in-rhel-5-server-647779/)

cj_cheema 06-08-2008 08:54 AM

Problem in creating LVM in RHEL 5 Server
 
:Pengy:
Hi All

I'm facing a problem while creating LVM in Redhat Linux Enterprise 5 Server
Problem is when i create physical volume via pvcreate command it creates physical volume successfully but after when i try to create Volume group with the command of vgcreate then i get below error message
[root@cjpunjabiradio ~]# vgcreate /dev/hda{10,11}
/dev/hda10: already exists in filesystem
New volume group name "hda10" is invalid


Why the above mention error is coming. I have checked this mention partition is not using in another volume group. Please help.

Thanks

Charanjit

trickykid 06-08-2008 08:59 AM

Are you sure? Might not be in another volume group but perhaps being used elsewhere? What does fdisk -l provide or a simple mount command.

cj_cheema 06-09-2008 01:31 PM

Problem in creating LVM
 
Hi
I have checked via fdisk -l and also from mount command this drive is not using by another volume group. Please assist....

Rgd
Charanjit

trickykid 06-09-2008 02:48 PM

Quote:

Originally Posted by cj_cheema (Post 3179535)
Hi
I have checked via fdisk -l and also from mount command this drive is not using by another volume group. Please assist....

Rgd
Charanjit

Can you paste the output of fdisk -l?

twk 06-09-2008 03:44 PM

how about you give it a volume group name?
Code:

vgcreate vg01 /dev/hda{10,11}

cj_cheema 06-10-2008 01:02 AM

Thanks
 
Yes u are right twk i was commiting a mistake i forgeted to put volume group name because without giving it was assuming hda10 as volume group name and hda 10 is partition so it was not able to create volume group name hda10. Finaly i'am able to create volume group. Thanks to all people for your support. Bye.

Rgd
Charanjit Cheema:)


All times are GMT -5. The time now is 05:11 PM.