I have a small home installation (less than a dozen clients) that has the director and MySQL on one host, and the SD on a Raspberry Pi. What I am trying to do now is replace an old Fedora 28 Pi 2 with a new Raspbian Pi 4. I'm having trouble getting the new SD to work.
I've got two storage devices: BKUP (disk volumes) and ARCH (uses a vchanger). Ironically, the ARCH storage appears to be fine (although I haven't actually tried to write to it yet). The volumes in the magazine that is currently inserted show green in bat. But all the BKUP volumes show red, so it's not surprising that it's not working. The problem is when I run a normal backup job, it hangs, asking me to label a new volume because no appendable volumes were found. But the catalog does list at least one volume with Append status, and all the volumes have Recycle set to 1. The catalog listing for all the BKUP volumes looks fine (no surprise there as it's the same director and catalog as before). So I am trying to debug this running the SD with -d 999, and here's the tail of what I get: bstore: askdir.c:233-41356 <dird n=-1 1000 OK VolName=BKUP.65 VolJobs=5 VolFiles=7 VolBlocks=491843 VolBytes=31729597852 VolABytes=0 VolHoleBytes=0 VolHoles=0 VolMounts=164 VolErrors=0 VolWrites=7981752 MaxVolBytes=53687091200 VolCapacityBytes=0 VolStatus=Append Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=5665051214 VolWriteTime=15363285212 EndFile=7 EndBlock=2345686412 VolType=1 LabelType=0 MediaId=100 ScratchPoolId=0 VolParts=0 VolCloudParts=0 LastPartBytes=0 Enabled=1 bstore: askdir.c:235-41356 get_volume_info failed: ERR=1000 OK VolName=BKUP.65 VolJobs=5 VolFiles=7 VolBlocks=491843 VolBytes=31729597852 VolABytes=0 VolHoleBytes=0 VolHoles=0 VolMounts=164 VolErrors=0 VolWrites=7981752 MaxVolBytes=53687091200 VolCapacityBytes=0 VolStatus=Append Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=5665051214 VolWriteTime=15363285212 EndFile=7 EndBlock=2345686412 VolType=1 LabelType=0 MediaId=100 ScratchPoolId=0 VolParts=0 VolCloudParts=0 LastPartBytes=0 Enabled=1 bstore: askdir.c:398-41356 No vol. index 1 return false. dev="BKUP" (/bkup/bacula) bstore: askdir.c:406-41356 unlock_volumes at askdir.c:406 precnt=1 bstore: mount.c:363-41356 not dir_find_next bstore: askdir.c:799-41356 enter dir_ask_sysop_to_create_appendable_volume I have checked the obvious and the stupid (the volume files are there, they are all owned by bacula.bacula and they are all writeable by user bacula), so I don't quite get why this is failing. Any ideas on how I can debug this? Thanks, --Greg
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users