No. A Volume is a... volume. A single storage entity. It might be a tape, it might be a file. Single volume can hold a part of a job (if the job is sufficiently big to span several volumes), a single job (especially if you set an option to use separate volume for each job) or multiple jobs.
Typically when using disk-based storage, people often use one volume per one job setting because it's easier to maintain the volme files this way. But in case of physical tapes, it's just that one tape is one volume. And you can have the same with disk-based backups - you can for example create pre-allocated volume files of given size and treat them as you'd do with physical tapes - it simplifies volume management in other cases, like when using multiple disks and vchanger. So the sentence "add more volumes to the end of existing tape" makes no sense. Bareos can write more jobs to the end of the existing volume as long as it's in appendable state.
MK
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bareos-users/aa8e403b-6b9f-4f13-be45-3e69760060afn%40googlegroups.com.
Yes. Depending on the configuration - yes, a volume can store data from multiple jobs (and not necessarily from the same client!), and yes, a single job can span several volumes.
The storage definition is a bit... convoluted in bareos. The Storage resource in director's config references a Device resource but this one is defined on the SD side and director only "uses" it. It doesn't have much knowledge about physical properties of the device. So it's the SD config which will have the definition of the hardware device.
Also tapes are usually _not_ automatically labeled. You label them manually either explicitly or using the "label barcodes" command.
So in your case the tapes must have been labeled historically by someone who didn't keep the labels of the volumes consistent with the barcodes.
You can relabel the volumes but they have to be in the Purged or Recycle state (not "actively" used). And I don't see a way to relabel using barcodes. There is another brute-force way of removing old labels but it's not pretty and can leave traces of old volume definition in directory. But then the volume is treated as "clean" and can be labeled anew. Possibly using "label barcodes".
MK
To view this discussion visit https://groups.google.com/d/msgid/bareos-users/c007ea9a-5eb8-4405-8569-620020ad08f5n%40googlegroups.com.