On Wed, Nov 17, 2010 at 1:09 PM, Sirtaj Singh Kang <sir...@sirtaj.net>wrote:
> On 11/17/2010 10:57 AM, Rakesh Kumar wrote: > [snip] > > Great to know this because i have never seen this ever. But i want to know >> one thing that when i studied this, found that we keep this size bigger >> because of metadata. And if it is correct metadata will increase with the >> size of PV and VG then how can a specific formula be derived. >> > > The PV and VG are irrelevant here, the goal is to find out how much logical > ext3fs capacity we get from a raw block device of > a certain size. When creating an LV we get a block device, ext3fs doesn't > care whether it's an LV or a raw disk partition. > > Note that lvextend increases only the _unformatted_ capacity. So if you > extend by 2G, the useful capacity you get for new files on the ext3 > filesystem on that volume is approximately 1.58% less than 2G due to ext3fs > overhead. OK that's why you derived this 1*1.0158. Thanks for posting such an useful formula, > > > -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