Hi,
I have problem with autochanger and mounting volumes, when I want to mount
volumes with bconsole I get "Device not found or could not be opened".
I have 4 drives and problem is with 4: VTS-Robot_arch 5: VTS-Robot_arch2.
When I start backup job with 4: VTS-Robot_arch or 5: VTS-Robot_arch2 it works
fine autochanger loads volumes, mount and umounts etc.
Manualy mounting is impossible. It's problem because when volume gets Blocked I
can't manage it under bconsole and all I can do is to cancel job.
I've attached part my config files, can someone look at it please?
*mo
The defined Storage resources are:
1: File
2: VTS-Robot
3: VTS-Robot2
4: VTS-Robot_arch
5: VTS-Robot_arch2
Select Storage resource (1-5): 4
Enter autochanger slot: 0
3999 Device "robotarch" not found or could not be opened.
*mo
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
1: File
2: VTS-Robot
3: VTS-Robot2
4: VTS-Robot_arch
5: VTS-Robot_arch2
Select Storage resource (1-5): 5
Connecting to Storage daemon VTS-Robot_arch2 at serwer_bacula:9103 ...
Enter autochanger slot: 1
3999 Device "robotarchdrugi" not found or could not be opened.
bacula-sd.conf:
Autochanger {
Name = robot
Device = Drive-1
Changer Command = "/etc/bacula/mtx_vts.pl %c %o %S %a %d"
Changer Device = 126.177.44.30:50200
}
Autochanger {
Name = robotarch
Device = Drive-2
Changer Command = "/etc/bacula/mtx_vts.pl %c %o %S %a %d"
Changer Device = 126.177.44.30:50200
}
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = VTS
Archive Device = /dev/tape1
AutomaticMount = no; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
LabelMedia = yes;
Label Type = IBM;
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Use MTIOCGET = no
Maximum Changer Wait = 1h
}
Device {
Name = Drive-2
Drive Index = 1
Media Type = VTS
Archive Device = /dev/tape2
AutomaticMount = no; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
LabelMedia = yes;
Label Type = IBM
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Use MTIOCGET = no
Maximum Changer Wait = 1h
}
Autochanger {
Name = robotdrugi
Device = Drive-3
Changer Command = "/etc/bacula/mtx_vts.pl %c %o %S %a %d"
Changer Device = 126.177.44.30:50400
}
Autochanger {
Name = robotarchdrugi
Device = Drive-4
Changer Command = "/etc/bacula/mtx_vts.pl %c %o %S %a %d"
Changer Device = 126.177.44.30:50400
}
Device {
Name = Drive-3 #
Drive Index = 0
Media Type = VTS2
Archive Device = /dev/tape3
AutomaticMount = no; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = yes;
AutoChanger = yes
Label Type = IBM
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Use MTIOCGET = no
Maximum Changer Wait = 1h
}
Device {
Name = Drive-4
Drive Index = 1
Media Type = VTS2
Archive Device = /dev/tape4
AutomaticMount = no; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = yes;
AutoChanger = yes
Label Type = IBM
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Use MTIOCGET = no
Maximum Changer Wait = 1h
}
bacula-dir.cfg:
Storage {
Name = VTS-Robot
Address = serwer_bacula
SDPort = 9103
Password = "xxx"
Device = robot
Media Type = VTS
Autochanger = yes # enable for autochanger device
}
Storage {
Name = VTS-Robot2
Address = serwer_bacula
SDPort = 9103
Password = "xxx"
Device = robotdrugi
Media Type = VTS2
Autochanger = yes # enable for autochanger device
}
Storage {
Name = VTS-Robot_arch
Address = serwer_bacula
SDPort = 9103
Password = "xxx"
Device = robotarch
Media Type = VTS
Autochanger = yes
}
Storage {
Name = VTS-Robot_arch2
Address = serwer_bacula
SDPort = 9103
Password = "xxx"
Device = robotarchdrugi
Media Type = VTS2
Autochanger = yes
}
# Default pool definition
Pool {
Name = VTS
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 14 days
Label Format = "Y0"
}
# Default pool definition
Pool {
Name = VTS2
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 14 days
Label Format = "Y5"
}
# Scratch pool definition
Pool {
Name = Scratch
Pool Type = Backup
}
# Archive pool definition
Pool {
Name = VTS1ARCH
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Next Pool = VTS2ARCH
Storage = VTS-Robot_arch
Volume Retention = 730 days
}
# Archive pool definition
Pool {
Name = VTS2ARCH
Pool Type = Backup
Maximum Volume Jobs = 1
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Storage = VTS-Robot_arch2
Volume Retention = 730 days
}
Thanks,
Tom
----------------------------------------------------------------------
Zawsze winny jest mezczyzna?! >>> http://link.interia.pl/f2084
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|