Hi,
On 3/10/2006 8:14 AM, Andrus Naulainen wrote:
I got Permission denied error when bacula tried to write into the
volume. VolStatus of this volume (name is varund0070) is Recycle and
it's size is 1 byte. I have one pool with 100 volumes (varund0001 ..
varund0100) each 4GB and they are on HD with free space 48GB. I'm
probably missing some important information which helps to solve
this, ask then. And log is here:
The first thing is to determine exactly what permissions are wrong:
1) Look at the mode and ownership of the volume using
ls -l /mnt/varund/varund0070
Login as a root gives
varund:~# ls -l /mnt/varund/varund0070
ls: /mnt/varund/varund0070: Permission denied
Not good.
This might be selinux or ACL issue, linux capabilities also comes to my
mind. All this depends on the OS configuration, so, concerning these
ideas, you should ask the one who set up that system or have a closer
look into the documentation.
...
3) Is /mnt/varund mounted for writing?
varund:~# mount -l
...
/dev/mapper/vg-lv on /mnt/varund type reiserfs (rw)
...
ReiserFS tends to show such a behaviour in case of filesystem damage I'm
told. To verify this, unmount the partition and do a file system check
on it. Study the options for reiserfsck closely - IIRC, without special
invitation it doesn't do a very thorough check. in case of a rebuild
it's even possible you lose data, so usually I'd suggest to do a backup
prior to a file system repair :-(
Anyway, this is one more reason against disk based backups, I'm afraid...
4) Did anything change since you first wrote these volumes?
I'm not sure. I have to deal with system which is set up by someone
else and I have written anything yet. Bacula suppose to do backup
jobs every night, but haven't done anything since I came to the
house (that was two weeks ago). But in first days I didn't touch
anything.
In that case, I'd suggest to set up the system from scratch again.
Trying to understand how it all works without a documentation might take
longer than doing everything again - and writing down details of your
setup, too.
Andrus
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users