Re: [Bacula-users] SD fails to create new volumes: trace included
Resending. Sorry, the previous email was incomplete. On Tue, Jan 9, 2018, at 3:29 PM, Dan Langille wrote: > > On Jan 9, 2018, at 3:07 PM, Dan Langille wrote: > > > >> On Jan 9, 2018, at 3:01 PM, Dan Langille wrote: > >> > >> I wonder if this line is related: > >> > >> > >> bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. > >> > >> If no labeling, then no volume is created. > >> > >> See > >> https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-bacula-trace-L84 > >> > >> > >> > >> bacula-sd-01-sd: mount.c:182-269534 want vol=FullAuto-8867 devvol= > >> dev="vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) > >> bacula-sd-01-sd: mount.c:190-269534 Try open Vol=FullAuto-8867 > >> bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool > >> DEVICE::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) > >> bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) > >> bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could > >> not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened > >> bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: mount.c:192-269534 Try autolabel Vol=FullAuto-8867 > >> bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool > >> DEVICE::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) > >> bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) > >> bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could > >> not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened > >> bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: mount.c:198-269534 open_device failed: ERR=file_dev.c:190 > >> Could not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. > >> bacula-sd-01-sd: mount.c:215-269534 Open of File device > >> "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) Volume > >> "FullAuto-8867" failed: ERR=file_dev.c:190 Could not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> > >> bacula-sd-01-sd: mount.c:220-269534 Volume "FullAuto-8867" not loaded on > >> File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile). > > > > This is why it is not labelling, from bacula/src/stored/mount.c > > > > int DCR::try_autolabel(bool opened) > > { > > DCR *dcr = this; > > > > if (dev->poll && !dev->is_tape()) { > > Dmsg0(100, "No autolabel because polling.\n"); > > return try_default; /* if polling, don't try to create new > > labels */ > > } > > > > To get this backup running again: > > I manually deleted the last volume which failed to create (it was in > the Catalog but not in the filesystem). > > I manually labeled that Volume (which creates a Catalog entry and a > file on disk). > > https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-1319 This is still an issue. This time it's on a new bacula-sd I have recently created. The bacula-sd configuration is based upon other SD instances I have. *m 02-Dec 13:06 bacula-dir JobId 302468: Created new Volume="FullAuto-11080", Pool="FullFile-03", MediaType="FullFile03" in catalog. 02-Dec 13:06 bacula-sd-03 JobId 302468: Warning: mount.c:215 Open of File device "vDrive-FullFile-1" (/usr/local/bacula/volumes/FullFile-03) Volume "FullAuto-11080" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile-03/FullAuto-11080,OPEN_READ_WRITE,0640): ERR=No such file or directory 02-Dec 13:06 bacula-sd-03 JobId 302468: Marking Volume "FullAuto-11080" in Error in Catalog. 02-Dec 13:06 bacula-dir JobId 302468: Error: sql_get.c:1210 Media record with MediaId=11079 not found. 02-Dec 13:06 bacula-dir JobId 302468: Created new Volume="FullAuto-11081", Pool="FullFile-03", MediaType="FullFile03" in catalog. 02-Dec 13:06 bacula-sd-03 JobId 302468: Warning: mount.c:215 Open of File device "vDrive-FullFile-1" (/usr/local/bacula/volumes/FullFile-03) Volume "FullAuto-11081" failed: ERR=file_dev.c:190 Co
Re: [Bacula-users] SD fails to create new volumes: trace included
On Tue, Jan 9, 2018, at 3:29 PM, Dan Langille wrote: > > On Jan 9, 2018, at 3:07 PM, Dan Langille wrote: > > > >> On Jan 9, 2018, at 3:01 PM, Dan Langille wrote: > >> > >> I wonder if this line is related: > >> > >> > >> bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. > >> > >> If no labeling, then no volume is created. > >> > >> See > >> https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-bacula-trace-L84 > >> > >> > >> > >> bacula-sd-01-sd: mount.c:182-269534 want vol=FullAuto-8867 devvol= > >> dev="vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) > >> bacula-sd-01-sd: mount.c:190-269534 Try open Vol=FullAuto-8867 > >> bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool > >> DEVICE::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) > >> bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) > >> bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could > >> not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened > >> bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: mount.c:192-269534 Try autolabel Vol=FullAuto-8867 > >> bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool > >> DEVICE::open_device(DCR *, int) > >> bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) > >> bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) > >> bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could > >> not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened > >> bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool > >> file_dev::open_device(DCR *, int) > >> bacula-sd-01-sd: mount.c:198-269534 open_device failed: ERR=file_dev.c:190 > >> Could not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. > >> bacula-sd-01-sd: mount.c:215-269534 Open of File device > >> "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) Volume > >> "FullAuto-8867" failed: ERR=file_dev.c:190 Could not > >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > >> ERR=No such file or directory > >> > >> bacula-sd-01-sd: mount.c:220-269534 Volume "FullAuto-8867" not loaded on > >> File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile). > > > > This is why it is not labelling, from bacula/src/stored/mount.c > > > > int DCR::try_autolabel(bool opened) > > { > > DCR *dcr = this; > > > > if (dev->poll && !dev->is_tape()) { > > Dmsg0(100, "No autolabel because polling.\n"); > > return try_default; /* if polling, don't try to create new > > labels */ > > } > > > > To get this backup running again: > > I manually deleted the last volume which failed to create (it was in > the Catalog but not in the filesystem). > > I manually labeled that Volume (which creates a Catalog entry and a > file on disk). > > https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-1319 This is still an issue. This time it's on a new bacula-sd I have recently created. The bacula-sd configuration is based upon other SD instances I have. *m 02-Dec 13:06 bacula-dir JobId 302468: Created new Volume="FullAuto-11080", Pool="FullFile-03", MediaType="FullFile03" in catalog. 02-Dec 13:06 bacula-sd-03 JobId 302468: Warning: mount.c:215 Open of File device "vDrive-FullFile-1" (/usr/local/bacula/volumes/FullFile-03) Volume "FullAuto-11080" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile-03/FullAuto-11080,OPEN_READ_WRITE,0640): ERR=No such file or directory 02-Dec 13:06 bacula-sd-03 JobId 302468: Marking Volume "FullAuto-11080" in Error in Catalog. 02-Dec 13:06 bacula-dir JobId 302468: Error: sql_get.c:1210 Media record with MediaId=11079 not found. 02-Dec 13:06 bacula-dir JobId 302468: Created new Volume="FullAuto-11081", Pool="FullFile-03", MediaType="FullFile03" in catalog. 02-Dec 13:06 bacula-sd-03 JobId 302468: Warning: mount.c:215 Open of File device "vDrive-FullFile-1" (/usr/local/bacula/volumes/FullFile-03) Volume "FullAuto-11081" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile-03/Ful
Re: [Bacula-users] SD fails to create new volumes: trace included
> On Jan 9, 2018, at 3:07 PM, Dan Langille wrote: > >> On Jan 9, 2018, at 3:01 PM, Dan Langille wrote: >> >> I wonder if this line is related: >> >> >> bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. >> >> If no labeling, then no volume is created. >> >> See >> https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-bacula-trace-L84 >> >> >> >> bacula-sd-01-sd: mount.c:182-269534 want vol=FullAuto-8867 devvol= >> dev="vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) >> bacula-sd-01-sd: mount.c:190-269534 Try open Vol=FullAuto-8867 >> bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool >> file_dev::open_device(DCR *, int) >> bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool >> DEVICE::open_device(DCR *, int) >> bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) >> bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) >> bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could not >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): >> ERR=No such file or directory >> bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened >> bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool >> file_dev::open_device(DCR *, int) >> bacula-sd-01-sd: mount.c:192-269534 Try autolabel Vol=FullAuto-8867 >> bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool >> file_dev::open_device(DCR *, int) >> bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool >> DEVICE::open_device(DCR *, int) >> bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) >> bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) >> bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could not >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): >> ERR=No such file or directory >> bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened >> bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool >> file_dev::open_device(DCR *, int) >> bacula-sd-01-sd: mount.c:198-269534 open_device failed: ERR=file_dev.c:190 >> Could not >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): >> ERR=No such file or directory >> bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. >> bacula-sd-01-sd: mount.c:215-269534 Open of File device "vDrive-FullFile-8" >> (/usr/local/bacula/volumes/FullFile) Volume "FullAuto-8867" failed: >> ERR=file_dev.c:190 Could not >> open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): >> ERR=No such file or directory >> >> bacula-sd-01-sd: mount.c:220-269534 Volume "FullAuto-8867" not loaded on >> File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile). > > This is why it is not labelling, from bacula/src/stored/mount.c > > int DCR::try_autolabel(bool opened) > { > DCR *dcr = this; > > if (dev->poll && !dev->is_tape()) { > Dmsg0(100, "No autolabel because polling.\n"); > return try_default; /* if polling, don't try to create new labels > */ > } > To get this backup running again: I manually deleted the last volume which failed to create (it was in the Catalog but not in the filesystem). I manually labeled that Volume (which creates a Catalog entry and a file on disk). https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-1319 -- Dan Langille - BSDCan / PGCon d...@langille.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SD fails to create new volumes: trace included
-- Dan Langille - BSDCan / PGCon d...@langille.org > On Jan 9, 2018, at 3:01 PM, Dan Langille wrote: > > I wonder if this line is related: > > > bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. > > If no labeling, then no volume is created. > > See > https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-bacula-trace-L84 > > > > bacula-sd-01-sd: mount.c:182-269534 want vol=FullAuto-8867 devvol= > dev="vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) > bacula-sd-01-sd: mount.c:190-269534 Try open Vol=FullAuto-8867 > bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool > file_dev::open_device(DCR *, int) > bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool DEVICE::open_device(DCR > *, int) > bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) > bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE > open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) > bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could not > open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > ERR=No such file or directory > bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened > bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool > file_dev::open_device(DCR *, int) > bacula-sd-01-sd: mount.c:192-269534 Try autolabel Vol=FullAuto-8867 > bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool > file_dev::open_device(DCR *, int) > bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool DEVICE::open_device(DCR > *, int) > bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) > bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE > open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) > bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could not > open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > ERR=No such file or directory > bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened > bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool > file_dev::open_device(DCR *, int) > bacula-sd-01-sd: mount.c:198-269534 open_device failed: ERR=file_dev.c:190 > Could not > open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > ERR=No such file or directory > bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. > bacula-sd-01-sd: mount.c:215-269534 Open of File device "vDrive-FullFile-8" > (/usr/local/bacula/volumes/FullFile) Volume "FullAuto-8867" failed: > ERR=file_dev.c:190 Could not > open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): > ERR=No such file or directory > > bacula-sd-01-sd: mount.c:220-269534 Volume "FullAuto-8867" not loaded on File > device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile). This is why it is not labelling, from bacula/src/stored/mount.c int DCR::try_autolabel(bool opened) { DCR *dcr = this; if (dev->poll && !dev->is_tape()) { Dmsg0(100, "No autolabel because polling.\n"); return try_default; /* if polling, don't try to create new labels */ } -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SD fails to create new volumes: trace included
I wonder if this line is related: bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. If no labeling, then no volume is created. See https://gist.github.com/dlangille/513cb50351f7bc6ab6d33a6859b20326#file-bacula-trace-L84 bacula-sd-01-sd: mount.c:182-269534 want vol=FullAuto-8867 devvol= dev="vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) bacula-sd-01-sd: mount.c:190-269534 Try open Vol=FullAuto-8867 bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool file_dev::open_device(DCR *, int) bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool DEVICE::open_device(DCR *, int) bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): ERR=No such file or directory bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool file_dev::open_device(DCR *, int) bacula-sd-01-sd: mount.c:192-269534 Try autolabel Vol=FullAuto-8867 bacula-sd-01-sd: file_dev.c:138-269534 Enter: virtual bool file_dev::open_device(DCR *, int) bacula-sd-01-sd: dev.c:113-269534 Enter: virtual bool DEVICE::open_device(DCR *, int) bacula-sd-01-sd: dev.c:325-269534 Enter: virtual bool DEVICE::mount(int) bacula-sd-01-sd: file_dev.c:184-269534 open disk: mode=OPEN_READ_WRITE open(/usr/local/bacula/volumes/FullFile/FullAuto-8867, 0x2, 0640) bacula-sd-01-sd: file_dev.c:191-269534 open failed: file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): ERR=No such file or directory bacula-sd-01-sd: file_dev.c:211-269534 open dev: disk fd=-1 opened bacula-sd-01-sd: file_dev.c:214-269534 Leave: virtual bool file_dev::open_device(DCR *, int) bacula-sd-01-sd: mount.c:198-269534 open_device failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): ERR=No such file or directory bacula-sd-01-sd: mount.c:663-269534 No autolabel because polling. bacula-sd-01-sd: mount.c:215-269534 Open of File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) Volume "FullAuto-8867" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8867,OPEN_READ_WRITE,0640): ERR=No such file or directory bacula-sd-01-sd: mount.c:220-269534 Volume "FullAuto-8867" not loaded on File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile). -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SD fails to create new volumes: trace included
On 01/09/2018 10:43 AM, Dan Langille wrote: > The 'update pool' is not required if just bumping maxvols. > > Thank you. Confirmed. list pool=xxx and show pool=xxx after an update confirm your statement. That's what I get for multitasking I guess. :) We now return you to your regularly scheduled program... Apologies for the static during this commercial break. :D Best regards, Bill -- Bill Arlofski http://www.revpol.com/bacula -- Not responsible for anything below this line -- -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SD fails to create new volumes: trace included
> On Jan 9, 2018, at 12:20 PM, Bill Arlofski wrote: > > On 01/09/2018 07:24 AM, Dan Langille wrote: >> I'm confused as to why Volumes are not being created. They do not exist on >> disk. This is not a newly configured system. >> >> Is "No autolabel because polling" relevant? see below. >> >> Said backup has been running for several days. I have confirmed space is >> available (about 6TB free) and that files can be manually created. >> >> Bacula 9.0.6 on FreeBSD with PostgreSQL 9.6.6 >> >> After running out of Volumes, I adjusted the configuration files to increase >> 'Maximum Volumes' from 5060 to 5070.. issued a reload in bconsole, now I see >> 10 of these: > > Hi Dan, > > After the reload, you will still need to do: > > * update pool= > > Before this you can do: > > * list pools > > And this should prove that the old MaxVols is still in effect. Then issue the > update pool command and then re-check with list pools List pools output (trimmed) before I change the pool: | poolid | name | numvols | maxvols | maxvolbytes| volretention | enabled | pooltype | labelformat | | 22 | FullFile | 5,083 | 5,083 | 10,737,418,240 | 94,608,000 | 1 | Backup | FullAuto- | Then I change: Maximum Volumes = 5084 Issue reload and another list pools: | poolid | name | numvols | maxvols | maxvolbytes| volretention | enabled | pooltype | labelformat | | 22 | FullFile | 5,083 | 5,084 | 10,737,418,240 | 94,608,000 | 1 | Backup | FullAuto- | The 'update pool' is not required if just bumping maxvols. Thank you. -- Dan Langille - BSDCan / PGCon d...@langille.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SD fails to create new volumes: trace included
On 01/09/2018 07:24 AM, Dan Langille wrote: > I'm confused as to why Volumes are not being created. They do not exist on > disk. This is not a newly configured system. > > Is "No autolabel because polling" relevant? see below. > > Said backup has been running for several days. I have confirmed space is > available (about 6TB free) and that files can be manually created. > > Bacula 9.0.6 on FreeBSD with PostgreSQL 9.6.6 > > After running out of Volumes, I adjusted the configuration files to increase > 'Maximum Volumes' from 5060 to 5070.. issued a reload in bconsole, now I see > 10 of these: Hi Dan, After the reload, you will still need to do: * update pool= Before this you can do: * list pools And this should prove that the old MaxVols is still in effect. Then issue the update pool command and then re-check with list pools Hope this helps. Bill -- Bill Arlofski http://www.revpol.com/bacula -- Not responsible for anything below this line -- -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] SD fails to create new volumes: trace included
I'm confused as to why Volumes are not being created. They do not exist on disk. This is not a newly configured system. Is "No autolabel because polling" relevant? see below. Said backup has been running for several days. I have confirmed space is available (about 6TB free) and that files can be manually created. Bacula 9.0.6 on FreeBSD with PostgreSQL 9.6.6 After running out of Volumes, I adjusted the configuration files to increase 'Maximum Volumes' from 5060 to 5070.. issued a reload in bconsole, now I see 10 of these: [dan@bacula:~] $ bconsole Connecting to Director bacula.int.unixathome.org:9101 1000 OK: 103 bacula-dir Version: 9.0.6 (20 November 2017) Enter a period to cancel a command. *m 09-Jan 12:44 bacula-dir JobId 269534: Created new Volume="FullAuto-8846", Pool="FullFile", MediaType="FullFile" in catalog. 09-Jan 12:44 bacula-sd-01-sd JobId 269534: Warning: mount.c:215 Open of File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) Volume "FullAuto-8846" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8846,OPEN_READ_WRITE,0640): ERR=No such file or directory 09-Jan 12:44 bacula-sd-01-sd JobId 269534: Marking Volume "FullAuto-8846" in Error in Catalog. 09-Jan 12:44 bacula-dir JobId 269534: Created new Volume="FullAuto-8847", Pool="FullFile", MediaType="FullFile" in catalog. 09-Jan 12:44 bacula-sd-01-sd JobId 269534: Warning: mount.c:215 Open of File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) Volume "FullAuto-8847" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8847,OPEN_READ_WRITE,0640): ERR=No such file or directory 09-Jan 12:44 bacula-sd-01-sd JobId 269534: Marking Volume "FullAuto-8847" in Error in Catalog. ... After that, the following command was issued, the pool 'max volume' was bumped again, and another reload command issued. *setdebug trace=1 level=200 storage=bacula-sd-01-DailyBackups Connecting to Storage daemon bacula-sd-01-DailyBackups at bacula-sd-01.int.unixathome.org:9103 3000 OK setdebug=200 trace=1 options= tags= *m You have no messages. *m 09-Jan 14:06 bacula-dir JobId 269534: Created new Volume="FullAuto-8856", Pool="FullFile", MediaType="FullFile" in catalog. 09-Jan 14:06 bacula-sd-01-sd JobId 269534: Warning: mount.c:215 Open of File device "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) Volume "FullAuto-8856" failed: ERR=file_dev.c:190 Could not open(/usr/local/bacula/volumes/FullFile/FullAuto-8856,OPEN_READ_WRITE,0640): ERR=No such file or directory 09-Jan 14:06 bacula-sd-01-sd JobId 269534: Marking Volume "FullAuto-8856" in Error in Catalog. * Full output, including the trace, at https://gist.github.com/dlangille/379b9d7784548211bcab936d31e57255 including the 'setdebug trace=1 level=200' output of the SD. Is "No autolabel because polling" relevant. I see that in the output. 'status storage' output includes: Device File: "vDrive-FullFile-8" (/usr/local/bacula/volumes/FullFile) is not open. Device is BLOCKED waiting to create a volume for: Pool:FullFile Media type: FullFile Drive 8 is not loaded. Available Space=7.902 TB == The configuration of that drive is: Device { Name = vDrive-FullFile-8 Media Type = FullFile Archive Device = /usr/local/bacula/volumes/FullFile LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no Autochanger= yes Drive Index= 8 Maximum Concurrent Jobs = 1 Volume Poll Interval= 15 } Ideas? I keep thinking it's something very clearly stated but I am overly looking it. -- Dan Langille - BSDCan / PGCon d...@langille.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users