After reading what Linus had to say about dump backups on live filesystems, and since I don't want to unmount my filesystems (on my home machine of course) during backup, I considered the snapshot feature of LVM. Also I was already using lvm, so no problem there.

Anyway, I was able to create the snapshot volume, but was not able to mount it. Doing some research I traced this back to line #233 of file "/usr/src/linux/drivers/md/lvm.c". This define of symbol "LVM_VFS_ENHANCEMENT" needs to be uncommented for the lvm snapshot feature to work. I recompiled the kernel rpm with this line uncommented, and it works great with no problems so far.

I think this should be activated by default since it is, by far, the easiest way of making proper backups of live filesystems.

--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]





Reply via email to