LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-26-2010, 12:28 PM   #1
srianirudh
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Rep: Reputation: 0
Question LVM problem


Hi Folks,

I am having an issue with LVM on a 2 node cluster. We are using powerpath for external drives.

We had a request to increase /apps filesystem which is EXT3.

On the first node we did :
pvcreate /dev/emcpowercx1 and /dev/emcpowercw2
Then....
vgextend apps_vg /dev/emcpowercw2 /dev/emcpowercx1
lvresize -L +60G /dev/apps_vg/apps_lv
resize2fs /dev/apps_vg/apps_lv

everything went on well , we got the /apps increased.

But on the second node when i do pvs

I am getting following error:

WARNING: Duplicate VG name apps_vg: RnD1W1-peb1-JWay-MyMa-WJfb-41TE-cLwvzL (created here) takes precedence over ttOYXY-dY4h-l91r-bokz-1q5c-kn3k-MCvzUX


How can i proceed from here ??


Thanks
srianirudh
 
Old 10-26-2010, 03:25 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
ext3 is not a cluster aware filesystem so you really shouldn't be trying to share it between nodes.

Have a look at this article:
http://www.cyberciti.biz/tips/mount-...ple-nodes.html

You might also want to have a look at this:
http://www.redhat.com/archives/linux.../msg00200.html

Essentially I'm seeing you need to run clvmd for cluster environments and that daemon propagates the changes.
 
  


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
LVM REDUCE HOW TO UNMOUNT /dev/volumegroup/lvm crahuldba@gmail.com Linux - Newbie 3 10-29-2010 07:49 AM
Adding an LVM hard disk to a system already running/using LVM firewiz87 Linux - Hardware 5 08-15-2010 12:59 AM
lvm ontop of raid10 or combine two raid1 via lvm? okar Linux - Server 3 09-11-2009 02:37 PM
LVM and multiple iSCSI disks performance of LVM xxx_anuj_xxx Linux - Server 4 05-01-2008 12:26 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM

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

All times are GMT -5. The time now is 03:13 PM.

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