I just upgraded to 2.0.3. I am having problems mounting the Autochanger.
Here are my test results.
tapeinfo -f /dev/sg0
Product Type: Medium Changer
Vendor ID: 'DELL '
Product ID: 'PV-122T '
Revision: 'D37r'
Attached Changer: No
SerialNumber: '3123B92743'
Invalid tapealert page: 0
mtx -f /dev/sg0 inquiry
Product Type: Medium Changer
Vendor ID: 'DELL '
Product ID: 'PV-122T '
Revision: 'D37r'
Attached Changer: No
/btape /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:286 Using device: "/dev/nst0" for writing.
10-May 10:20 btape: 3301 Issuing autochanger "loaded? drive 0" command.
10-May 10:20 btape: 3991 Bad autochanger "loaded? drive 0" command: ERR=No
such file or directory.
Results=
## It just hangs here.
When I try to mount to take using the console here is what I get.
SD.conf file
Autochanger {
Name = Autochanger
Device = ToTape.0
Changer Command = "/opt/bacula/bin/mtx-changer %c %o %S %a %d"
ChangerDevice = /dev/sg0
}
Device {
Name = ToTape.0 #
Drive Index = 0
Media Type = LTO-1
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
DIR.conf File
Client {
Name = easy1
Address = xxx.xxx.xxx.xxx
FDPort = 9102
Catalog = MyCatalog
Password = "password" # password for FileDaemon
File Retention = 14 days # 14 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Job {
Name = "easy1"
JobDefs = "easy1"
Write Bootstrap = "/etc/bacula/bootstrap/easy1.bsr"
}
JobDefs {
Name = "easy1"
Type = Backup
Client = easy1
FileSet = "easy1"
Schedule = "DailyCycle"
Storage = ToTape
messages = Standard
Pool = Default
Priority = 5
}
*mount ToTape
Connecting to Storage daemon ToTape at nmc-sdca-mon1:9103 ...
Enter autochanger slot: 1
3301 Issuing autochanger "loaded? drive 0" command.
3991 Bad autochanger "loaded? drive 0" command: ERR=No such file or
directory.
Results=
3301 Issuing autochanger "loaded? drive 0" command.
3991 Bad autochanger "loaded? drive 0" command: ERR=No such file or
directory.
Results=
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=No such file or directory.
Results=
3301 Issuing autochanger "loaded? drive 0" command.
3991 Bad autochanger "loaded? drive 0" command: ERR=No such file or
directory.
Results=
3901 open device failed: ERR=dev.c:425 Unable to open device "ToTape.0"
(/dev/nst0): ERR=Input/output error
What could be wrong. It was working before I upgraded.
Mike
--
View this message in context:
http://www.nabble.com/Autochanger-problem-tf3723302.html#a10418784
Sent from the Bacula - Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users