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

Bug#271981: Please provide LVM snapshot in Sarge Debian 2.6 - kernels



A while ago, Nathaniel W. Turner suggested:

# modprobe dm-snapshot

This indeed cures this particular problem for me.

To be more precise, here is what I did:

* I have added a line saying "dm-snapshot" to /etc/modules

* and, as I have root on LVM, also to /etc/mkinitrd/modules,

* I have generated afresh, in my case, /boot/initrd.img-2.6.8-1-686,

* I have updated my volumn group from LVM 1 to LVM 2

As a result, I can now use snapshots for the volumn that contains /usr and also the one that contains /home. Fine.

I still cannot cleanly create a snapshot for the root volume (which also contains /etc and /var). The machine freezes up when I try. But that's a different problem, I'll file a separate bug for that.

Again thank you, Nathaniel, for providing this hint.

There is a bug in LVM2 already that addresses the issue of dm-snapshot in /etc/modules:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283507

I'm not sure the loading of dm-snapshot for the root LVM device at initrd-time is currently being addressed. Maybe this bug should be moved to initrd-tools?

Again, thank you Nathaniel, for providing that hint.

Andreas

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: