Am 02.09.2010 23:07, schrieb Tim Nowaczyk:

> I'm running it on Ubuntu 8.04 (hardy).  

and amanda-x.y?

> It's making the snapshot,
> mounting it on a temp directory in /tmp, backing it up, and
> unmounting it.  It's not deleting the old mount point though.  This
> isn't a bug.  There's simply no code written yet to delete it.  The
> main bug I'm hit with is that level 1 backups aren't working.  It's
> always backing up everything.

ok, understood ...

> look in your sendbackup.debug log for the lvm-snapshot command-line
> arguments.  There should be a PRE-DLE-BACKUP and a POST-DLE-BACKUP.
> The error handling is poor if you run PRE-DLE-BACKUP twice in a row
> without running POST-DLE-BACKUP.  Try running pre and post and as
> root, then try running it as your backup user.

Thanks, Tim, for your tests and the feedback.

See, what I get here (run as root):

# /usr/libexec/amanda/application/amlvm-snapshot PRE-DLE-BACKUP
--execute-where client --config daily --host mythtv.oops.intern --disk
/mnt/nfsexports/pxe --device /mnt/nfsexports/pxe --level 1
--lvcreate-path /sbin/lvcreate --lvdisplay-path /sbin/lvdisplay
--vgdisplay-path /sbin/vgdisplay --snapshot-size 5 --sudo 1
--lvremove-path /sbin/lvremove

? Failed to resolve device path and volume group.

It somehow doesn't get the LV itself it seems.

This is gentoo linux here, up-to-date ...

The related line in /etc/mtab :

/dev/mapper/VG01-pxe /mnt/nfsexports/pxe ext3 rw 0 0

Could you show yours for comparison? I still wonder if the format is the
same.

Thanks, regards, Stefan

Reply via email to