--sd.conf password does not match dir.conf storage password
=======
+- Correct Warning: Volume name mismatch. Wanted test2 got test1
+ when reading a tape and want the next one.
- Create all pools when Director starts
- Implement autochanger for restore. ARRRGGG! I forgot!
- Make BSR accept count (total files to be restored).
* read the next block).
*/
if (!can_write_record_to_block(block, rec)) {
+ Dmsg0(100, "Cannot write session label to block.\n");
if (!write_block_to_device(jcr, dev, block)) {
Dmsg0(90, "Got session label write_block_to_dev error.\n");
Jmsg(jcr, M_FATAL, 0, _("Error writing Session label to %s: %s\n"),
return 0;
}
}
- write_record_to_block(block, rec);
+ if (!write_record_to_block(block, rec)) {
+ Jmsg(jcr, M_FATAL, 0, _("Error writing Session label to %s: %s\n"),
+ dev_vol_name(dev), strerror(errno));
+ free_record(rec);
+ return 0;
+ }
Dmsg6(20, "Write sesson_label record JobId=%d FI=%s SessId=%d Strm=%s len=%d\n\
remainder=%d\n", jcr->JobId,
ds->msglen = rec->data_len;
Dmsg1(40, ">filed: send %d bytes data.\n", ds->msglen);
if (!bnet_send(ds)) {
- Dmsg1(000, "Error sending to FD. ERR=%s\n", bnet_strerror(ds));
+ Pmsg1(000, "Error sending to FD. ERR=%s\n", bnet_strerror(ds));
Dmsg1(100, "Hdr=%s\n", hdr);
Dmsg1(100, "data=%s\n", ds->msg);
Jmsg1(jcr, M_FATAL, 0, _("Error sending to File daemon. ERR=%s\n"),