My guess is that this file is owned by root (windows ownership isn't
preserved) so bextract, running under your account, fails to create
it.
To verify, please try to manually run the bextract command line that's
printed to the debug log - both under your account and (if possible)
under the root account.
If this is indeed a permissions issue, I'd try to run baculafs via sudo.
Hope this helps,
Avi
thanks for baculafs. It looks potentially very useful.
I have a bacula system with a director a bunch of clients and two storage
daemons (one of which is on the same host as the director). We're using
file-based volumes.
I've mounted the filesystem on /tmp/bac/. I can browse the file tree on
the command line, but when I go to read a file:
gavinmc@cuimhne:/tmp/bac/e:/group$ cat cmscopy.bat
cat: cmscopy.bat: No such file or directory
With debug on, I get this message:
unique: 18, opcode: LOOKUP (1), nodeid: 3, insize: 52
LOOKUP /e:/group/cmscopy.bat
getattr /e:/group/cmscopy.bat
NODEID: 5
unique: 18, success, outsize: 144
unique: 19, opcode: OPEN (14), nodeid: 5, insize: 48
open flags: 0x8000 /e:/group/cmscopy.bat
extraction failed (bsr file: /tmp/baculafs-u3A1Z4/bsr/tmpJ5vz8O.bsr)
unique: 19, error: -2 (No such file or directory), outsize: 16
and that bootstrap file contains:
gavinmc@cuimhne:/tmp/bac/e:/group$ cat /tmp/baculafs-u3A1Z4/bsr/tmpJ5vz8O.bsr
Volume="Saturnalia-Full-0501"
MediaType="File"
Device="FileStorage"
VolSessionId=3
VolSessionTime=1309683860
VolAddr=55996414862-56996350800
FileIndex=153744
Count=1
This volume exists at
/mnt/bacula/staff_servers/saturnalia/Saturnalia-Full-0501
and is readable (only) by my user, which is the user baculafs is running.
Any idea what I'm doing wrong?
Gavin