Hi all,
My env: Debian 11 / Bacula 9.6.7 / LTO-8. Fresh installation.
The server has just been rebooted and I'm unable to complete a tape test:
btape -c bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:290-0 Using device: "/dev/nst0" for writing.
btape: device.c:319-0 dev open failed: tape_dev.c:169 Unable to open
device "Quantum LTO-8 HH" (/dev/nst0): ERR=Device or resource busy
27-Feb 15:57 btape JobId 0: Fatal error: device.c:319 dev open failed:
tape_dev.c:169 Unable to open device "Quantum LTO-8 HH" (/dev/nst0):
ERR=Device or resource busy
btape: butil.c:198-0 Cannot open "Quantum LTO-8 HH" (/dev/nst0)
27-Feb 15:57 btape JobId 0: Fatal error: butil.c:198 Cannot open
"Quantum LTO-8 HH" (/dev/nst0)
lsof -w | grep /dev/nst
bacula-sd 997 bacula 3r CHR
9,128 0t0 218 /dev/nst0
bacula-sd 997 1024 bacula-sd bacula 3r CHR
9,128 0t0 218 /dev/nst0
ls -al /dev | grep tape
crw-rw---- 1 root tape 9, 128 Feb 24 18:29 nst0
crw-rw---- 1 root tape 9, 224 Feb 24 18:29 nst0a
crw-rw---- 1 root tape 9, 160 Feb 24 18:29 nst0l
crw-rw---- 1 root tape 9, 192 Feb 24 18:29 nst0m
crw-rw---- 1 root tape 21, 1 Feb 24 18:29 sg1
crw-rw---- 1 root tape 9, 0 Feb 24 18:29 st0
crw-rw---- 1 root tape 9, 96 Feb 24 18:29 st0a
crw-rw---- 1 root tape 9, 32 Feb 24 18:29 st0l
crw-rw---- 1 root tape 9, 64 Feb 24 18:29 st0m
drwxr-xr-x 4 root root 80 Feb 24 18:29 tape
cat /etc/bacula/bacula-sd.conf | grep /dev | grep -v ^#
Archive Device = /dev/nst0
Changer Device = /dev/st0
What's the reason for my error and how to fix it?
Regards,
Adam
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users