> After setting the permissions and change my mtx-changer, I was able to give
> a label on the tapes.
> After the running label barcodes:
>
> *list media
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Pool: Diario
> No results to list.
> Pool: Semanal
> No results to list.
> Pool: Default
> No results to list.
> Pool: Scratch
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | 1 | 000075L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 1 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 2 | 000078L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 2 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 3 | 000061L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 3 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 4 | 000072L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 4 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 5 | 000074L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 5 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 6 | 000077L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 6 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 7 | 000080L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 7 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 8 | 000071L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 8 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 9 | 000073L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 9 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 10 | 000076L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 10 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 11 | 000079L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 11 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 12 | 000092L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 12 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 13 | 000070L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 13 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 14 | 000066L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 14 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 15 | 000062L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 19 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 16 | 000069L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 20 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 17 | 000067L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 21 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 18 | 000064L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 22 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> | 19 | 000063L5 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 23 | 1 | LT0-5 | 0000-00-00 00:00:00 |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>
>
> Use the Scratch Pool to not need manual intervention during the rotation of
> the tapes.
>
>
> But trying to run a backup, got the following error:
>
> 07-Aug 16:06 server-dir JobId 9: Fatal error:
> Storage daemon didn't accept Device "Autochanger" because:
> 3924 Device "Autochanger" not in SD Device resources.
>
>
> My bacula-dir
> Storage {
> Name = Autochanger
> Address = server.com.br
> SDPort = 9103
> Password = "pass"
> Device = Autochanger # must be same as Device in Storage daemon (this
> correct?)
> Media Type = LT0-5
> Autochanger = yes
> }
>
>
> My bacula-sd
> Autochanger {
> Name = Autochanger
> Device = Drive-1, Drive-2
> Changer Command = "/usr/bin/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg1
> }
>
> Device {
> Name = Drive-1
> Drive Index = 0
> Media Type = LTO-5
> Archive Device = /dev/st0
> AutomaticMount = yes;
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> }
>
> Device {
> Name = Drive-2
> Drive Index = 1
> Media Type = LTO-5
> Archive Device = /dev/st1
> AutomaticMount = yes;
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> }
>
Did you change bacula-sd.conf without restarting the bacula-sd daemon.
John
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|