Hello,
I've got Bacula mostly configured on my Freebsd 5.4 machine with an IBM (HP)
Ultrium-I LTO backup library.
The auto-changer is /dev/pass1 and the tape drive is /dev/sa0. When I fireup
bconsole, and type "status storage" it says that the '/dev/sa0' device is
mounted with Volume "Vol1". Running the label, command, however fails as do
attempts at running a job that the device '/dev/sa0' is not found. I have the
/dev/sa0 device clearly defined in bacula-sd.conf and bacula-dir.conf and I'm
running the bacula-sd process as root. btape runs through its tests including
the auto-changer without any errors. Do I just have an incorrect
configuration?
Output below:
*status storage
Automatically selected Storage: Ultrium-I
Connecting to Storage daemon Ultrium-I at bksrv1:9103
bksrv1-sd Version: 1.36.2 (28 February 2005) i386-portbld-freebsd5.3 freebsd
5.3-RELEASE
Daemon started 06-Jun-05 16:25, 0 Jobs run since started.
Running Jobs:
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
2 Full 0 0 Error 02-Jun-05 17:38 Client1
[snip]
====
Device status:
Device "/dev/sa0" is mounted with Volume "Vol1"
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
*label
Automatically selected Storage: Ultrium-I
Enter new Volume name: Vol1
Automatically selected Pool: Default
Connecting to Storage daemon Ultrium-I at bksrv1:9103 ...
Sending label command for Volume "Vol1" Slot 0 ...
3999 Device "/dev/sa0" not found
Label command failed for Volume Vol1.
Do not forget to mount the drive!!!
*run
A job name must be specified.
The defined Job resources are:
1: Client1
2: BackupCatalog
3: BackupCDrive
4: RestoreFiles
Select Job resource (1-4): 3
Run Backup job
JobName: BackupCDrive
FileSet: Generic Windows 2000
Level: Full
Client: nas-3
Storage: Ultrium-I
Pool: Default
When: 2005-06-06 16:47:50
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=16
*
You have messages.
*messages
06-Jun 16:47 bksrv1-director: Start Backup JobId 16,
Job=BackupCDrive.2005-06-06_16.47.52
06-Jun 16:47 bksrv1-sd: Failed command: use device=/dev/sa0 media_type=LTO
pool_name=Default pool_type=Backup
06-Jun 16:47 bksrv1-sd: BackupCDrive.2005-06-06_16.47.52 Fatal error:
Device "/dev/sa0" with MediaType "LTO" requested by Dir not found in SD
Device resources.
06-Jun 16:47 bksrv1-director: BackupCDrive.2005-06-06_16.47.52 Fatal error:
Storage daemon didn't accept Device "/dev/sa0" because:
3924 Device "/dev/sa0" not in SD Device resources.
06-Jun 16:47 bksrv1-director: BackupCDrive.2005-06-06_16.47.52 Error: Bacula
1.36.2 (28Feb05): 06-Jun-2005 16:47:55
JobId: 16
Job: BackupCDrive.2005-06-06_16.47.52
Backup Level: Full
Client: nas-3
FileSet: "Generic Windows 2000" 2005-06-06 16:46:21
Pool: "Default"
Storage: "Ultrium-I"
Start time: 06-Jun-2005 16:47:54
End time: 06-Jun-2005 16:47:55
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0
SD Bytes Written: 0
Rate: 0.0 KB/s
Software Compression: None
Volume name(s):
Volume Session Id: 1
Volume Session Time: 1118090840
Last Volume Bytes: 0
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***
bacula-sd.conf:
Storage {
Name = bksrv1-sd
SDPort = 9103
WorkingDirectory = "/var/db/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}
Director {
Name = bksrv1-director
Password = "xxx"
}
Director {
Name = bksrv1-mon
Password = "xxx"
Monitor = yes
}
Device {
Name = Ultrium-I
Description = "Ultrium-I"
Media Type = LTO
Archive Device = /dev/sa0
AutomaticMount = yes;
AlwaysOpen = yes
RemovableMedia = yes
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
AutoChanger = yes
Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/pass1
}
Messages {
Name = Standard
director = bksrv1-director = all
}
bacula-dir.conf:
Storage {
Name = Ultrium-I
Description = "Ultrium-I"
Media Type = LTO
Device = /dev/sa0
Address = bksrv1
SDPort = 9103
Password = "xxx"
}
-K
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users