On Mon, 3 Sep 2007, Tomasz Chmielewski wrote: > Again, replying to myself, as no one on this list seem to have a clue > about problems with LVM snapshots... I added RAM, and was able to boot > again. I may have an answer after all. I suspect that the chunksize parameter to lvcreate -s will affect memory use. A larger chunksize should use less memory. > So, as a rule of thumb, we can say that for each *used* GB of snapshot, > ~3 MB of RAM is needed. On my snapshots on Centos-5, the chunksize defaults to 8k. With your observation of 3MB per Gig of snapshot, that comes to 24 bytes per chunk. Quite reasonable. If you make your chunksize 512K (the maximum supported), memory use should change to 48K per Gig. lvdisplay will show the chunksize for a snapshot. -- Stuart D. Gathman <stuart@bmsi.com> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Confutatis maledictis, flammis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial. _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/