>>>>> On Fri, 10 Mar 2006 10:36:36 +0100, Arno Lehmann <[EMAIL PROTECTED]> said: > > 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 :-(
I've also seen Permission denied from other filesystems when the disk has a bad block (I/O error would have been nicer). The console output or syslog might record this. > Anyway, this is one more reason against disk based backups, I'm afraid... Oh yes, tapes are so much more robust :-) __Martin ------------------------------------------------------- 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