Here's the requested output.
bacula@dl160g11:/home/douge$ ls -dl /dev/nst* /dev/sg*
groups
mtx -f /dev/sg3 status
crwxrwx--- 1 root tape 9, 128 Sep 15 15:14 /dev/nst0
crwxrwx--- 1 root tape 9, 224 Sep 15 15:14 /dev/nst0a
crwxrwx--- 1 root tape 9, 160 Sep 15 15:14 /dev/nst0l
crwxrwx--- 1 root
Hi Doug,
Hmm, that looks fine. Try the following:
mt -f /dev/nst0 status
mt -f /dev/nst0 rewind
mt -f /dev/st0 eof
mt -f /dev/nst0 rewind
btape -c /opt/bacula/etc/bacula-sd.conf /dev/nst0
On 2022-09-16 10:55, Doug Eubanks wrote:
Here's the requested output.
bacula@dl160g11:/home/douge$
Hello Doug,
It seems that the tape device configuration is missing the "DriveIndex"
value:
Device {
Name = "LTO-7"
Description = "LTO-7"
MediaType = "LTO-7"
DeviceType = "Tape"
DriveIndex = 0 < if this is the only drive in the tape library,
this value should be 0
ArchiveDevice
Hello Jose,
Yes, you can. Baculum 11 is compatible with Bacula 13.
Best regards,
Marcin Haba (gani)
On Fri, 16 Sept 2022 at 21:13, Jose Alberto wrote:
> Hello.
>
> Can I use bacula 13 with Baculum 11?
>
> thanks.
>
>
>
> --
> #
> # Sistema Operativo: Debian
Hello.
Can I use bacula 13 with Baculum 11?
thanks.
--
#
# Sistema Operativo: Debian #
#Caracas, Venezuela #
#
___
Bacula-users mailing list
This is getting weirder. The mt eof, rewind and status commands work. The tar
command failed.
root@dl160g11:/opt/bacula/etc# mt -f /dev/st0 eof
root@dl160g11:/opt/bacula/etc# mt -f /dev/nst0 rewind
root@dl160g11:/opt/bacula/etc# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block
Hmm, that's odd that the mt commands work but the btape doesn't... I'm
wondering if the mt commands just aren't reporting an error. Try
writing a small volume with tar:
tar zcf /dev/nst0 /etc/skel ; echo "Error code: $?"
On 2022-09-16 23:33, Doug Eubanks wrote:
The mt commands run fine.
The mt commands run fine. The btape command gives a similar error.
root@dl160g11:/opt/bacula/etc# ../bin/btape -c /opt/bacula/etc/bacula-sd.conf
/dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:295-0 Using device: "/dev/nst0" for writing.
btape: btape.c:477-0 open device "LTO-7"
Thanks for catching that, I added the drive index but it's still giving me the
same error.
Doug
On Fri, Sep 16, 2022, at 10:03 AM, Ana Emília M. Arruda wrote:
> Hello Doug,
>
> It seems that the tape device configuration is missing the "DriveIndex" value:
>
> Device {
> Name = "LTO-7"
>
Hello Chris,
On Thu, Sep 15, 2022 at 4:30 PM Chris Wilkinson
wrote:
> Thanks for that advice.
>
> I currently have an admin job script#1 as below following some earlier
> advice on this list from Andrea Venturoli (
> https://sourceforge.net/p/bacula/mailman/message/37680362/). This runs
> daily
The volumes have been purged from the catalog, so thecatalog needs to be
rebuilt using the bscan utility. See
https://www.bacula.org/13.0.x-manuals/en/utility/Volume_Utility_Tools.html#SECTION00172
On 9/9/22 07:02, Charles Tassell wrote:
Hello Everyone,
I'm having a problem
Good morning, thank you for your reply.
The bacula user is definitely in the tape group.
root@dl160g11:/opt/bacula/bin# mtx -f /dev/sg3 status
Storage Changer /dev/sg3:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = ABT001L7
Hi Doug,
Try running the following and posting the output:
su -s /bin/bash bacula
ls -dl /dev/nst* /dev/sg*
groups
mtx -f /dev/sg3 status
exit
That will switch you to the bacula user, check the permissions of the
various devices, and attempt to run the mtx command as the bacula user.
On
13 matches
Mail list logo