Hi Martin,
Thanks, thats it!
LVM adds a symbolic for /dev/mapper/... Devices like this:
[...]
01-May 06:25 xen01-dir JobId 144: BeforeJob: Logical volume
"bacula-snap_xen01_domU1" created
01-May 06:25 xen01-dir JobId 144: BeforeJob: File:
`/dev/system/bacula-snap_xen01_domU1' ->
`/dev/mapper/system-bacula--snap_xen01_domU1'
01-May 06:25 xen01-dir JobId 144: BeforeJob: Size: 43 Blocks: 0
IO Block: 4096 symbolic link
01-May 06:25 xen01-dir JobId 144: BeforeJob: Device: dh/13d Inode: 32416
Links: 1
01-May 06:25 xen01-dir JobId 144: BeforeJob: Access: (0777/lrwxrwxrwx) Uid: (
0/ root) Gid: ( 0/ root)
01-May 06:25 xen01-dir JobId 144: BeforeJob: Access: 2008-05-01
06:25:05.971870511 +0200
01-May 06:25 xen01-dir JobId 144: BeforeJob: Modify: 2008-05-01
06:25:05.971870511 +0200
01-May 06:25 xen01-dir JobId 144: BeforeJob: Change: 2008-05-01
06:25:05.971870511 +0200
[...]
If i use the /dev/mapper Device Files Bacula makes the RAW Device Backup, thats
what i want!
Eventually the Support of LVM Symbolic links (or links pointing to a Block
Device) can be an Enhancement for bacula for better usage or transparancy?!
It makes sence, to add this fact in the Documentation ....
Regards,
Peter
> -----Ursprüngliche Nachricht-----
> Von: Martin Simmons [mailto:martin AT lispworks DOT com]
> Gesendet: Mittwoch, 30. April 2008 21:37
> An: pkoch4710 AT gmx DOT de
> Cc: bacula-users AT lists.sourceforge DOT net; peter AT peterkoch DOT de
> Betreff: Re: [Bacula-users] backup of raw Device (LVM Snapshot)
>
> >>>>> On Sun, 27 Apr 2008 12:49:46 +0200, Peter Koch said:
> >
> > Hallo there,
> >
> > i want to backup a RAW-Device (/dev/system/bacula-snap_blabla), but
> > the Backup contains only some Bytes (i think it´s only the
> device File itself).
> >
> > Have someone an idea?
> >
> > That´s the principle Schema:
> >
> > 1) RunBefore -> Create Snapshot-Device /dev/system/blabla ->
> > /dev/system/bacula-snap/blabla
> > 2) Backup -> FileSet {File = /dev/system/bacula-snap/blabla} with
> > option sparse=yes
> > 3) RunAfter -> Delete Snapshot Device
>
> You could try adding
>
> /usr/bin/stat /dev/system/bacula-snap_blabla
>
> to the BeforeJob script, to see what it shows about that
> device. Bacula expects raw devices to be block devices.
>
> __Martin
>
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|