You are not logged in.

#1 2013-05-08 08:21:47

wombalton
Member
Registered: 2011-07-18
Posts: 17

[solved] rsnapshot with lvm fails sometime

I use rsnapshot for a while now to backup my system.
I configured it to use lvm snapshot.
The problem is: Since some update (unfortunately I can't tell which) it isn't always working any more. Somehow there is sometimes a problem with creating or removing the snapshots.

  /dev/bene-laptop/rsnapshot: not found: device not cleared
  Aborting. Failed to wipe snapshot exception store.
  device-mapper: remove ioctl on  failed: Device or resource busy
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot -q daily 
----------------------------------------------------------------------------
ERROR: Create LVM snapshot failed: 1280
ERROR during backup

from the log file:

[08/May/2013:09:45:03] /bin/umount /mnt/rsnapshot/
[08/May/2013:09:45:03] /usr/sbin/lvremove --force /dev/bene-laptop/rsnapshot
[08/May/2013:09:45:03] /usr/sbin/lvcreate --snapshot --size 1,9G --name rsnapshot /dev/bene-laptop/arch
[08/May/2013:09:45:04] /usr/bin/rsnapshot -q daily: ERROR: Create LVM snapshot failed: 1280

Unfortunately I'm no expert in lvm and have no clue how to solve this and wasn't able to find something useful on the internet.

here my rsnapshot config: http://pastebin.com/nfE5Brjn

Any help appreciated.

Last edited by wombalton (2013-05-14 14:24:43)

Offline

#2 2013-05-08 09:46:59

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [solved] rsnapshot with lvm fails sometime

Do you get the same error if you run those commands manually?

This is more to do with LVM than rsnapshot it seems; altering your topic subject may yield more interest from people who are actually able to assist smile

Offline

#3 2013-05-14 14:26:35

wombalton
Member
Registered: 2011-07-18
Posts: 17

Re: [solved] rsnapshot with lvm fails sometime

kind of solved. It works perfect when I switch to root and do my backup, but it hangs when I try to do the same with sudo.

Last edited by wombalton (2013-05-16 11:12:29)

Offline

Board footer

Powered by FluxBB