For Bacula to move the volumes to sracth pool we will need to have  scratch
pool defined on the pool client1 also for recycle pool.

Regarding the error state volumes, if you dont need them and don’t have any
data written in the filesystem then you could change the volume status to
append or remove them from the system.






Justin Case <jus7inc...@gmail.com> escreveu em qua., 1/03/2023 às 14:21 :

> Hello Pedro,
>
> TBH I don’t see how the pool config is related to my question, but sure, I
> can do:
>
> Pool {
>   Name = “client1"
>   PoolType = "Backup"
>   LabelFormat = "vol-"
>   ActionOnPurge = "Truncate"
>   MaximumVolumes = 20
>   MaximumVolumeJobs = 6
>   MaximumVolumeBytes = 50000000000
>   VolumeRetention = 8640000
>   Storage = "storage1"
>   AutoPrune = no
>   Catalog = “MyCatalog”
> }
>
> I would like to know: do I just delete the volumes that are in “Error”
> state or what else is the preferred course of action?
>
>
> > On 1. Mar 2023, at 15:12, Pedro Oliveira <oliveira...@gmail.com> wrote:
> >
> > Hi Justin
> >
> > Could you paste here your Pool configuration settings ?
> >
> >
> >
> > Justin Case <jus7inc...@gmail.com> escreveu em qua., 1/03/2023 às 14:11
> :
> > Hi Pedro,
> >
> > I wrote that I was able to get Bacula to write new volumes. That is not
> part of my question.
> >
> > My question is this:
> >> Now I have in my catalog a number of disk file volumes in state
> “Error”. There are no corresponding volume files on disk with the names
> found in the catalog.
> >>
> >> Will Bacula recycle those volumes automatically (I supposed it doesn’t)?
> >> If not, what to do with those error volumes in the catalog? just delete
> them? Or move then to scratch?
> >
> > Best,
> >  j/c
> >
> >> On 1. Mar 2023, at 15:06, Pedro Oliveira <oliveira...@gmail.com> wrote:
> >>
> >> Hi Justin
> >>
> >> Please check if the (/mnt/storage1/ is mounted and if check if Bacula
> is able to write on that folder.
> >>
> >> Best Regards
> >>
> >> Pedro
> >>
> >> Justin Case <jus7inc...@gmail.com> escreveu em qua., 1/03/2023 às
> 13:55 :
> >> Hello folks,
> >>
> >> today I had the situation that bacula tried to create a new disk file
> volumes and the creation failed (not sure what the reason was, lack of
> space or limit of volume number, but I was able to get it to create new
> volumes again):
> >>
> >> Warning: mount.c:216 Open of File device “storagedev1" (/mnt/storage1)
> Volume "vol-2675" failed: ERR=file_dev.c:189 Could not
> open(/mnt/storage1/vol-2675,OPEN_READ_WRITE,0640): ERR=No such file or
> directory
> >>
> >> Now I have in my catalog a number of disk file volumes in state
> “Error”. There are no corresponding volume files on disk with the names
> found in the catalog.
> >>
> >> Will Bacula recycle those volumes automatically (I supposed it doesn’t)?
> >> If not, what to do with those error volumes in the catalog? just delete
> them? Or move then to scratch?
> >>
> >> Thanks for your time,
> >>  j/c
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Bacula-users mailing list
> >> Bacula-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >> --
> >> Create your own email signature
> >>
> >>
> >> ‌
> >
> > --
> > Create your own email signature
> >
> >
> > ‌
>
> --

Create your own email signature
<https://www.wisestamp.com/create-own-email-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=>

‌
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to