On Pool Client1 you need to have this Pools Configured.


*ScratchPool = <pool-resource-name>*This directive permits specifing a specific scratch Pool to be used for the Job. This pool will replace the default scratch pool named/Scratch/for volume selection. For more information about scratch pools seeScratch Pool <https://asda12bnghjwwasdasdauth.docs.baculasystems.com/core/director.html#blb-thescratchpool>section of this manual. This directive is useful when using multiple storage devices that share the same MediaType or when you want to dedicate volumes to a particular set of pools.

*RecyclePool = <pool-resource-name>*This directive defines to which pool the Volume will be placed (moved) when it is recycled. Without this directive, a Volume will remain in the same pool when it is recycled. With this directive, it will be moved automatically to any existing pool during a recycle. This directive is probably most useful when defined in the Scratch pool, so that volumes will be recycled back into the Scratch pool. For more on the see theScratch Pool <https://asda12bnghjwwasdasdauth.docs.baculasystems.com/core/director.html#blb-thescratchpool>section of this manual.



Às 14:35 de 01/03/23, Justin Case escreveu:
I do have a Scratch pool, but not a recycle pool. What should the recycle pool 
look like? Will it be used by Bacula automatically when it exists or do I have 
to make further configurations for that to happen?

Pool {
   Name = "Scratch"
   PoolType = "Backup"
}

On 1. Mar 2023, at 15:27, Pedro Oliveira<oliveira...@gmail.com>  wrote:

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
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to