Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-19 Thread Gary Romo
So what causes clvmd to work this way in the first place? Why can't it play nice? - Gary "Alan A" <[EMAIL PROTECTED]

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-19 Thread Alan A
This was great help - I rebooted the nodes one by one, and afterwards lvextend command worked. I will try to reproduce the errors and see if killing clvmd does the trick. 2008/11/19 Jeremy Lyon <[EMAIL PROTECTED]> > >> I have also encountered this problem several times, and although this list >>

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-19 Thread Jeremy Lyon
> > > I have also encountered this problem several times, and although this list > seems to recommend running clvmd -R it has in fact never helped the > situation (I'm running centos 5.2). The only way I can solve this problem is > by rebooting all nodes in the cluster and then extending the lv. >

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-18 Thread Mikko Partio
2008/11/19 Alan A <[EMAIL PROTECTED]> > I did. After running lvextend command 'clvmd -R' failed on node2. Then I > fenced the node2 (fenmrdev02) and run the clvmd -R again, this time without > problems. I tried lvextend again - I get the same problem, and again clvmd > -R times out. I have also

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-18 Thread Alan A
I did. After running lvextend command 'clvmd -R' failed on node2. Then I fenced the node2 (fenmrdev02) and run the clvmd -R again, this time without problems. I tried lvextend again - I get the same problem, and again clvmd -R times out. On Tue, Nov 18, 2008 at 4:00 PM, Finnur Örn Guðmundsson <[EM

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-18 Thread Finnur Örn Guðmundsson
Hi, Try to run: clvmd -R on one of the nodes. Bgrds, Finnur > Here is the update: > > [EMAIL PROTECTED] ~]# lvextend -l+100%FREE /dev/nuvg4/nulv4 > Extending logical volume nulv4 to 10.00 GB > Error locking on node fenmrdev04: device-mapper: create ioctl failed: > Device or resource busy >

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-18 Thread Alan A
Here is the update: [EMAIL PROTECTED] ~]# lvextend -l+100%FREE /dev/nuvg4/nulv4 Extending logical volume nulv4 to 10.00 GB Error locking on node fenmrdev04: device-mapper: create ioctl failed: Device or resource busy Error locking on node fenmrdev03: device-mapper: create ioctl failed: Dev

Re: [Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-18 Thread Scott Wilson
I think you need: lvextend -l+100%FREE /dev/nuvg4/nulv4 ^ Without the +, you were trying to set the logical volume size to the size of your free space, not adding the free space to the size. Scott WilsonLead System Administrator [EMAIL PROTECTED]

[Linux-cluster] What is the proper way to grow LVM/GFS volumes

2008-11-18 Thread Alan A
I tried a few times to grow LVM by adding additional PV to VG, and then executing 'lvextend' command. I am not sure what I am doing wrong but I get the message that there is error locking on one of the nodes, and then the GFS hangs. Here are some of the details: [EMAIL PROTECTED] ~]# vgs VG