storage tape device, SD didn't start

10 views
Skip to first unread message

Frank Cherry

unread,
Dec 23, 2020, 4:25:33 AM12/23/20
to bareos-users
Hello there,

I try to set up a single tape device, I can write an read from commandline and also get the status:

mt -f /dev/tape status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x5c (no translation).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN

When I use in SD a device config with:
Archive Device = /dev/tape

the SD didn't start
But using e.g. a disk path:
Archive Device = /backup_spool/spool

SD starts up.

have also tried:
Archive Device = /dev/st0
Archive Device = /dev/nst0

Bareos V 19.2.7.-2

What's going wrong?


Andreas Haase

unread,
Dec 23, 2020, 4:33:31 AM12/23/20
to Frank Cherry, bareos-users
Hello,


Am 23.12.2020 um 10:25 schrieb 'Frank Cherry' via bareos-users <bareos...@googlegroups.com>:

the SD didn't start
But using e.g. a disk path:
Archive Device = /backup_spool/spool

Maybe there’s a permission problem. I.e. on Debian, bareos-sd runs as bareos user and has no permissions for /dev/nst0 and so on. Add bareos user to group tape and try restarting the daemon.

Regards,
Andreas

Frank Cherry

unread,
Dec 23, 2020, 4:41:20 AM12/23/20
to bareos-users
Problem solved: "bareos-storage-tape" was not installed automaticly, after done it manually the SD starts.
Reply all
Reply to author
Forward
0 new messages