Good afternoon!,
Thanks for the replies. ALso forgot to specify the OS is centos 7, up to date, and latest version. I have answered some questions below. Hello, The problem is exactly what Bacula says. The Bacula SD does not have the appropriate permissions to access that directory. Note: there are 3 permissions that Bacula needs: Read, Write, and Execute. The Execute permission is needed so that Bacula can create a file in the directory. From my experience, you are probably lacking the execute permission on that directory or one above it. Best regards, Kern I have changed every folder in the path to the backup directory from 775 to 777 so... /mtn is 777 sda is... all the way down the line (recursive) (also it was missing the write command for the "public" permission set. but im confused, if bacula is user on file and the bacual user has been added to the group on the folder (in this casea mediashareuser) why would it still have permission problems when they were originally set for 775? on top of that i made sure that bacula.mediashareuser is the owner.group for all the folders. I would add that if SELinux is enabled, then the security context for the mounted filesystem must be set. SELinux IS enabled. how would i modify it. (i've temporarily set it to permissive) And... its working... no issues. but id like to turn selinux back on. how do i add bacula as an exception or give the program permission to use the mount command? SELinux is new to me, havent had much experience with setting it up. -Rold On 08/08/2016 11:38 PM, Rolder wrote: Good Afternoon, I've been fiddling with this issue for a little under two weeks, if i have my archive device set to /tmp it works backs up my server as i want it to. does the incremental backup and no issues. if i change the archive device to /mnt/sda1/bacula/backup i get permission errors and blocked device waiting to mount. if i try to mount it nothing seems to happen, hard drive is auto mounted via fstab when the server boots, i'm not sure what to do. any help would be greatly appreciated, and ill gladly supply any information requested pertaining to the config files. i have the directory /mnt/sda1/* as owned by bacula and added bacula to the group of the mount directory i've changed the permissions to 775, and still i have permission issues. i think thats why its not mounting and why its being blocked. Please find below some things i tried and their results / responses. Thanks in advance. -Rold Here is some of the messages bacula spits out at me. 08-Aug 15:35 bacula-sd JobId 60: Warning: mount.c:219 Open device "File" (/mnt/sda1/bacula/backup) Volume "Local-0008" failed: ERR=dev.c:575 Could not open: /mnt/sda1/bacula/backup/Local-0008, ERR=No such file or directory 08-Aug 15:40 bacula-sd JobId 60: Please mount append Volume "Local-0008" or label a new one for: Job: BackupCatalog.2016-08-08_12.40.50_03 Storage: "File" (/mnt/sda1/bacula/backup) Pool: File Media type: File If i try to label a new volume i get an error saying i have to mount it first. Connecting to Storage daemon File at IPADDRESS_OF_SERVER:9103 ... Sending label command for Volume "newvolume-00001" Slot 0 ... 3910 Unable to open device ""File" (/mnt/sda1/bacula/backup)": ERR=dev.c:575 Could not open: /mnt/sda1/bacula/backup/newvolume-00001, ERR=Permission denied Label command failed for Volume newvolume-00001. Do not forget to mount the drive!!! This is when i run a status dir bacula-dir Version: 5.2.13 (19 February 2013) x86_64-redhat-linux-gnu redhat (Core) Daemon started 08-Aug-16 12:39. Jobs: run=0, running=2 mode=0,0 Heap: heap=270,336 smbytes=96,417 max_bytes=97,187 bufs=299 max_bufs=306 Scheduled Jobs: Level Type Pri Scheduled Name Volume =================================================================================== Full Backup 11 09-Aug-16 07:10 BackupCatalog Local-0008 Incremental Backup 10 09-Aug-16 07:20 BackupLocalFiles Local-0008 ==== Running Jobs: Console connected at 08-Aug-16 17:31 JobId Level Name Status ====================================================================== 60 Full BackupCatalog.2016-08-08_12.40.50_03 is waiting for a mount request 61 Increme BackupLocalFiles.2016-08-08_12.45.54_05 is waiting execution ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name ==================================================================== 50 Full 1 403.5 K OK 07-Aug-16 07:10 BackupCatalog 51 Full 98,043 1.090 G OK 07-Aug-16 07:30 BackupLocalFiles 52 Incr 92 19.80 M OK 07-Aug-16 19:03 BackupLocalFiles 53 Incr 77 18.56 M OK 07-Aug-16 21:51 BackupLocalFiles 54 Incr 58 18.41 M OK 07-Aug-16 21:59 BackupLocalFiles 55 Full 0 0 Error 08-Aug-16 07:10 BackupCatalog 56 Incr 0 0 Error 08-Aug-16 07:20 BackupLocalFiles 57 Incr 0 0 Error 08-Aug-16 12:21 BackupLocalFiles +---------------------------------------------------------------------- |This was sent by brandon.boll...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users