On Mon, Nov 8, 2010 at 4:16 PM, Sirtaj Singh Kang <sir...@sirtaj.net> wrote:

> Hi all,
>
> I'd like some assistance in understanding the relationship between the size
> of an LVM2 logical volume and ext3.
>
First of all i would suggest you to go through some good tutorial on it.
Thereafter i would add that LVM is basically something which is very helpful
when you are running out of disk capacity. And it allows you to expand the
disk size without loosing any data. ext3 is the format of file system.

>
> If I want to grow an ext3 fs by size X in mb, how do I calculate the size Y
> by which I have to first resize the LVM volume on which it resides?

Look LVM works on three tier architecture and that are 1:Physical Volume 2:
Volume Group 3: Logical Volume. Logical volume resides on the upper layer of
this architecture which means if you increase the size of LVM, you will have
to increase the size of physical volumes(ext3). This concludes that if you
have to increase the size of ext3 partition by x, you should increase the
size of LV by just slightly greater than your need, to get the optimum
results.

> Most sources I've read online say something like "make it a little bigger
> just to be safe" but I'm hoping there is a better and more accurate formula
> than that.
>
Very true..........Today's file systems have become so efficient that may be
you don't need to explicitly expand the size of ext3s but formally it was
necessary to increase the file system to fill the remaining free space by
expanding the file system to protect if from getting corrupted.

>
> Any RTFM pointers appreciated.
>
> -Taj.
>
> _______________________________________________
> Ilugd mailing list
> Ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
>



-- 
Regards
RAKESH
"Allow Your Own Inner Light to Guide You"
_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to