LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-08-2008, 08:54 AM   #1
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Rep: Reputation: 16
Problem in creating LVM in RHEL 5 Server



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
 
Old 06-08-2008, 08:59 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 06-09-2008, 01:31 PM   #3
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Question 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
 
Old 06-09-2008, 02:48 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by cj_cheema View Post
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?
 
Old 06-09-2008, 03:44 PM   #5
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
how about you give it a volume group name?
Code:
vgcreate vg01 /dev/hda{10,11}
 
Old 06-10-2008, 01:02 AM   #6
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Lightbulb 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on creating a striped lvm lstamm Slackware 4 12-18-2007 06:20 PM
RHEL with Cluster services: can I use LVM? mjgsantos Linux - Enterprise 7 08-15-2006 08:02 AM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 01:44 AM
Redhat Linux (RHEL 3 AS) : LVM maliks Linux - Enterprise 2 05-22-2006 04:43 PM
I want to install without creating an lvm system eklhad Fedora 1 06-28-2005 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration