Re: [linux-lvm] Available snapshot chunks known in LVM2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 13, 2003 at 08:47:07PM +0700, Jason Smith wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi.
> 
> I am trying to implement a script that will automagically grow a snapshot 
> volume if it is getting too full, using 2.4.20-dm-7 and the latest stable 
> LVM2 and libdevmapper.
> 
> My problem is that the integer percent full value is not precise enough: on 
> for example a 100GB volume, those increments of course only tell me my 
> snapshot usage down to 1GB, and my ultimate goal is to put off reallocating 
> as long as possible, so I need to see this number down to, say, a 100MB 
> granularity.  Also, the current implementation rounds down, so 99.97% could 
> be interpreted as 1GB free in this example.  So I spent the last couple of 
> hours learning LVM code and implementing this change.

Impressive for a couple of hours work !  Send the patches and I'll see
if they should be merged in.

- Joe

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux