[ context from the previous thread ]
On Saturday 28 May 2005 14:41, Collins Richey wrote:
On 5/28/05, Lamar Owen lowen@pari.edu wrote:
Sure. LVM.
I'm curious about this. At work we haven't finished our evaluation of RHEL3/RHEL4 (CentOS is out of the question, since SLA is king here). Most of our servers and desktops are RH9 legacy, and we use LVM on all of them. It's my understanding that RHEL4(CentOS4) only offers LVM2, and it doesn't appear that you can extend an ext3 filesystem using LVM2 tools. If that is indeed true, why woud LVM be "measurably better?
While I am no LVM expert, it seems that ext2online does what you want. My CentOS4 box here has ext2online included; I have not had a chance to try it out, so I can't comment on how well it works.
However, what I have read is that the LVM2 metadata format is more robust and removes many of the limitations of LVM1. In trying to check on this, I looked for specific information on how this was the case, but have not been able to at this point.
The ext2/3 filesystem wasn't designed for resizing online, so it's quite nice one can do it at all; but it appears the LVM2 approach is to rely on the e2fsprogs to do the work, so, taking you question literally, no, there is no LVM2 tool to resize; you would do a two-step, resizing the logical volume then resizing the filesystem with e2fsprogs. But, having never had opportunity to do this, I have no direct experience with it.
---
So, has anyone found an equivalent (even multiple commands that I could put in a script) for the e2fsadm utility to extend a logical volume? Anyone who has experience with ext2online?
On Sat, 2005-05-28 at 15:28 -0600, Collins Richey wrote:
So, has anyone found an equivalent (even multiple commands that I could put in a script) for the e2fsadm utility to extend a logical volume? Anyone who has experience with ext2online?
The LVM How-To covers it fairly well. Once the LV has been enlarged just run ext2online against the filesystem to expand it to take up all space in the LV, no rebooting required.
On 5/28/05, Ignacio Vazquez-Abrams ivazquez@ivazquez.net wrote:
On Sat, 2005-05-28 at 15:28 -0600, Collins Richey wrote:
So, has anyone found an equivalent (even multiple commands that I could put in a script) for the e2fsadm utility to extend a logical volume? Anyone who has experience with ext2online?
The LVM How-To covers it fairly well. Once the LV has been enlarged just run ext2online against the filesystem to expand it to take up all space in the LV, no rebooting required.
Thanks, I will check it out.
On Sat, 2005-05-28 at 22:37 -0600, Collins Richey wrote:
On 5/28/05, Ignacio Vazquez-Abrams ivazquez@ivazquez.net wrote:
On Sat, 2005-05-28 at 15:28 -0600, Collins Richey wrote:
So, has anyone found an equivalent (even multiple commands that I could put in a script) for the e2fsadm utility to extend a logical volume? Anyone who has experience with ext2online?
The LVM How-To covers it fairly well. Once the LV has been enlarged just run ext2online against the filesystem to expand it to take up all space in the LV, no rebooting required.
Thanks, I will check it out.
There is no way to current shrink online volumes right now ... it was broken, and disabled by RH. This will be fixed when update 1 is released.
On 5/28/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Sat, 2005-05-28 at 22:37 -0600, Collins Richey wrote:
On 5/28/05, Ignacio Vazquez-Abrams ivazquez@ivazquez.net wrote:
On Sat, 2005-05-28 at 15:28 -0600, Collins Richey wrote:
So, has anyone found an equivalent (even multiple commands that I could put in a script) for the e2fsadm utility to extend a logical volume? Anyone who has experience with ext2online?
The LVM How-To covers it fairly well. Once the LV has been enlarged just run ext2online against the filesystem to expand it to take up all space in the LV, no rebooting required.
Thanks, I will check it out.
There is no way to current shrink online volumes right now ... it was broken, and disabled by RH. This will be fixed when update 1 is released.
OK, Update 1 has come and gone. Does anyone know if this is now fixed, i.e. you can shrink an LVM2 logical volume?
On Tue, 2005-07-26 at 19:51 -0600, Collins Richey wrote:
On 5/28/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Sat, 2005-05-28 at 22:37 -0600, Collins Richey wrote:
On 5/28/05, Ignacio Vazquez-Abrams ivazquez@ivazquez.net wrote:
On Sat, 2005-05-28 at 15:28 -0600, Collins Richey wrote:
So, has anyone found an equivalent (even multiple commands that I could put in a script) for the e2fsadm utility to extend a logical volume? Anyone who has experience with ext2online?
The LVM How-To covers it fairly well. Once the LV has been enlarged just run ext2online against the filesystem to expand it to take up all space in the LV, no rebooting required.
Thanks, I will check it out.
There is no way to current shrink online volumes right now ... it was broken, and disabled by RH. This will be fixed when update 1 is released.
OK, Update 1 has come and gone. Does anyone know if this is now fixed, i.e. you can shrink an LVM2 logical volume?
Yes, it works now.