Bacula fails on FreeBSD 10.x / "mt fsf" infinitely proceeds

Joerg Wunsch freebsd-scsi at uriah.heep.sax.de
Wed Jul 30 22:10:08 UTC 2014


As Joerg Wunsch wrote:

> Ken, I think that entire CCB_Type stuff can go away then as it is not
> used anymore.  The only side-effect I see is that parts of
> MTIOCERRSTAT are rendered useless now, as the distinction between
> control and IO transfers is gone.

This probably means mt(1) simply cannot distinguish between both
anymore, and only report about the last command and last sense.
Probably not a big loss.

> Attached is a suggested patch.  So far, I only compile-tested it.

Rebooted and tested.  It fixes the "mt fsf 32767" issue, I get
correct reports about the number of files again (so hopefully,
Bacula will also do then).
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)


More information about the freebsd-scsi mailing list