" VolBlocks=%u VolBytes=%s VolMounts=%u VolErrors=%u VolWrites=%u"
" MaxVolBytes=%s VolCapacityBytes=%s VolStatus=%s Slot=%d"
" MaxVolJobs=%u MaxVolFiles=%u InChanger=%d VolReadTime=%s"
- " VolWriteTime=%s\n";
+ " VolWriteTime=%s EndFile=%u EndBlock=%u\n";
static char OK_create[] = "1000 OK CreateJobMedia\n";
mr->VolStatus, mr->Slot, mr->MaxVolJobs, mr->MaxVolFiles,
mr->InChanger,
edit_uint64(mr->VolReadTime, ed4),
- edit_uint64(mr->VolWriteTime, ed5));
+ edit_uint64(mr->VolWriteTime, ed5),
+ mr->EndFile, mr->EndBlock);
unbash_spaces(mr->VolumeName);
Dmsg2(200, "Vol Info for %s: %s", jcr->Job, sd->msg);
return stat;
" VolBlocks=%u VolBytes=%" lld " VolMounts=%u VolErrors=%u VolWrites=%u"
" MaxVolBytes=%" lld " VolCapacityBytes=%" lld " VolStatus=%20s"
" Slot=%d MaxVolJobs=%u MaxVolFiles=%u InChanger=%d"
- " VolReadTime=%" lld " VolWriteTime=%" lld;
+ " VolReadTime=%" lld " VolWriteTime=%" lld " EndFile=%u EndBlock=%u";
static char OK_create[] = "1000 OK CreateJobMedia\n";
&vol.VolCatWrites, &vol.VolCatMaxBytes,
&vol.VolCatCapacityBytes, vol.VolCatStatus,
&vol.Slot, &vol.VolCatMaxJobs, &vol.VolCatMaxFiles,
- &InChanger, &vol.VolReadTime, &vol.VolWriteTime);
- if (n != 17) {
+ &InChanger, &vol.VolReadTime, &vol.VolWriteTime,
+ &vol.EndFile, &vol.EndBlock);
+ if (n != 19) {
Dmsg2(100, "Bad response from Dir fields=%d: %s\n", n, dir->msg);
Mmsg(jcr->errmsg, _("Error getting Volume info: %s\n"), dir->msg);
return false;
}
+ Dmsg2(000, "EndFile=%u EndBlock=%u\n", vol.EndFile, vol.EndBlock);
vol.InChanger = InChanger; /* bool in structure */
unbash_spaces(vol.VolCatName);
bstrncpy(dcr->VolumeName, vol.VolCatName, sizeof(dcr->VolumeName));