Jmsg2(jcr, M_WARNING, 0, _("Max block size %u not multiple of device %s block size.\n"),
dev->max_block_size, dev->print_name());
}
+ if (dev->max_volume_size != 0 && dev->max_volume_size < (dev->max_block_size << 4)) {
+ Jmsg(jcr, M_ERROR_TERM, 0, _("Max Vol Size < 8 * Max Block Size on device %s\n"),
+ dev->print_name());
+ }
dev->errmsg = get_pool_memory(PM_EMSG);
*dev->errmsg = 0;
berrno be;
Dmsg1(0, _("write_block_to_device overflow block failed. ERR=%s"),
be.bstrerror(dev->dev_errno));
+ Jmsg2(jcr, M_FATAL, 0,
+ _("Catastrophic error. Cannot write overflow block to device %s. ERR=%s"),
+ dev->print_name(), be.bstrerror(dev->dev_errno));
goto bail_out;
}
ok = true;