git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@159
91ce42f0-d328-0410-95d8-
f526ca767f89
- Had to label second tape using the autochanger two times. The
first time the second tape was apparently loaded but not labeled.
+ 3903 Failed to label Volume: ERR=dev.c:285 Bad call to rewind_dev. Device /dev/nst0 not open
- Put MaximumVolumeSize in Director.
- Document how to cancel a job that is waiting on a Volume.
Must "cancel" then "mount".
break;
case VOL_IO_ERROR:
case VOL_NO_LABEL:
- write_volume_label_to_dev(jcr, jcr->device, vname, poolname);
+ if (!write_volume_label_to_dev(jcr, jcr->device, vname, poolname)) {
+ bnet_fsend(dir, _("3903 Failed to label Volume: ERR=%s\n"), strerror_dev(dev));
+ break;
+ }
strcpy(jcr->VolumeName, vname);
bnet_fsend(dir, _("3000 OK label. Volume=%s Device=%s\n"),
vname, dev->dev_name);