Am 18.01.2012 08:02, schrieb Gunnarsson, Gunnar:

> I recently installed LVM snapshot application amlvm-snapshot from 
> https://github.com/marxarelli/amlvm-snapshot
> 
> Having  fixed minor problem with the kernel device mapper paths I got it
> up and running , substitute ../ with /dev  and cleaning unused mount 
> point. 
> 
> I’m running  Ubuntu 10.04.3 LTS with Ubuntu Amanda packages version
> 2.6.1p1. 
> 
> Why not include this application in the core Amanda distribution properly ?

Good question.

I also took another approach to get that running here on gentoo
(amanda-3.3.1 currently).

Looks good so far after a few minor problems.
I will look at your patch to see if I need that as well.

> /etc/sudoers.d/amanda
> 
> %backup ALL=(ALL) NOPASSWD: /sbin/lvcreate, /sbin/lvdisplay,
> /sbin/lvremove, /sbin/vgdisplay, /bin/readlink, /bin/mount, /bin/umount
> 
> Mount and umount  was missing in the Readme file.

Yes, same here.

I also had to look at

https://github.com/marxarelli/amlvm-snapshot/issues/2

Another issue was that I had to use the mount-point itself in the DLE:

hiro.oops.intern testlvm /usr/portage lvm-comp-amgtar

did not work for me.

hiro.oops.intern /usr/portage lvm-comp-amgtar

works right now.

Might be a gentoo-specific issue with LVM.

No big problem for me so far.

maybe someone could add a pointer in the amanda-wiki, with a pointer to
the original project?



Stefan

Reply via email to