Hi folks,
I need some help with my autochanger config.
I have an overland arcvault 12 autochanger, I can mount all tapes with the mtx
command no problem.
But when I try to mount a tape with bconsole so I can label it I allways get
an error like this.
mount
The defined Storage resources are:
1: File
2: Overland
Select Storage resource (1-2): 2
Enter autochanger drive[0]: 0
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3902 Cannot mount Volume on Storage Device "Drive-1" (/dev/st0) because:
Couldn't rewind device "Drive-1" (/dev/st0): ERR=dev.c:678 Rewind error on
"Drive-1" (/dev/st0). ERR=No medium found.
3905 Device "Drive-1" (/dev/st0) open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the Volume.
I can mount the tape with mtx and label it without a problem I can even umount
the tape with the bconsole. But I´m not able to mount it.
Can someone point me in the right direction?
I think I have a config error but not sure.
This is my bacula-sd.conf
---------------------------------------
Autochanger {
Name = Overland
Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7,
Drive-8, Drive-9, Drive-10, Drive-11, Drive-12
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg1
}
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = LTO-2
Archive Device = /dev/st0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
Device {
Name = Drive-2
.
.
}
The bacula-dir.conf
-------------------------------
Storage {
Name = Overland
Address = 10.2.0.43
SDPort = 9103
Password = "test"
Device = Drive-1
Device = Drive-2
Device = Drive-3
Device = Drive-4
Device = Drive-5
Device = Drive-6
Device = Drive-7
Device = Drive-8
Device = Drive-9
Device = Drive-10
Device = Drive-11
Device = Drive-12
Media Type = LTO-2
Autochanger = yes
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users