Ok so I am at my wits end here... This is the error msg I recieved this morning after I received a: 15-Apr 05:04 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 The problem is that mp0008 doesnt exsist and I have been lazy changing bacula from auto labelling. So what I have been doing is manually unloading the tape from the tape changer, then I unmount the current volume, purge the next volume (I know this isnt the safest however I have enough tapes that it doesnt hurt my backups) then mount the volume I purged. This next error is what I got when I did this this am. 15-Apr 04:08 drakul-dir: Start Backup JobId 385, Job=hella.2005-04-15_01.05.06 15-Apr 05:03 drakul-sd: End of Volume "mp0005" at 64:8686 on device /dev/nst0. Write of 64512 bytes got -1. 15-Apr 05:04 drakul-sd: Re-read of last block succeeded. 15-Apr 05:04 drakul-sd: End of medium on Volume "mp0005" Bytes=57,832,358,084 Blocks=896,466 at 15-Apr-2005 05:04. 15-Apr 05:04 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 06:04 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 08:04 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 09:13 drakul-sd: hella.2005-04-15_01.05.06 Warning: Could not unserialize Volume label: ERR=label.c:202 Expecting Volume Label, got FI=0 Stream=0 len=64412 15-Apr 09:13 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 09:13 drakul-sd: hella.2005-04-15_01.05.06 Warning: Could not unserialize Volume label: ERR=label.c:202 Expecting Volume Label, got FI=0 Stream=0 len=64412 15-Apr 09:13 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 09:16 drakul-sd: hella.2005-04-15_01.05.06 Warning: Could not unserialize Volume label: ERR=label.c:202 Expecting Volume Label, got FI=0 Stream=0 len=64412 15-Apr 09:16 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 09:17 drakul-sd: hella.2005-04-15_01.05.06 Warning: Could not unserialize Volume label: ERR=label.c:202 Expecting Volume Label, got FI=0 Stream=0 len=64412 15-Apr 09:17 drakul-sd: Please mount Volume "mp0008" on Storage Device "Sun L280" for Job hella.2005-04-15_01.05.06 15-Apr 09:19 drakul-sd: hella.2005-04-15_01.05.06 Fatal error: Fatal device error: ERR=label.c:202 Expecting Volume Label, got FI=0 Stream=0 len=64412 15-Apr 09:28 hella-fd: hella.2005-04-15_01.05.06 Fatal error: backup.c:471 Network send error 32768 to SD. ERR=Connection reset by peer 15-Apr 09:19 drakul-dir: hella.2005-04-15_01.05.06 Error: Bacula 1.36.1 (26Nov04): 15-Apr-2005 09:19:34 JobId: 385 Job: hella.2005-04-15_01.05.06 Backup Level: Full Client: hella FileSet: "hella" 2005-02-26 01:20:33 Pool: "Default" Storage: "DLT-7000" Start time: 15-Apr-2005 04:08:27 End time: 15-Apr-2005 09:19:34 FD Files Written: 133,054 SD Files Written: 133,050 FD Bytes Written: 18,519,939,638 SD Bytes Written: 18,538,243,833 Rate: 992.1 KB/s Software Compression: None Volume name(s): mp0005 Volume Session Id: 13 Volume Session Time: 1113483408 Last Volume Bytes: 0 Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Error SD termination status: Canceled Termination: *** Backup Error ***This is what I am getting when I try to mount the volume: *mount mp0006 Storage resource "mp0006": not found Automatically selected Storage: DLT-7000 3905 Device /dev/nst0 open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I believe this is letting me know that the volume does exsist. *list media Pool: Default +---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 1 | mp0001 | Full | 61,482,036,307 | 89 | 31,536,000 | 1 | 0 | 1 | tape | 2005-03-11 01:51:22 | | 2 | mp0002 | Full | 57,561,914,284 | 66 | 31,536,000 | 1 | 0 | 1 | tape | 2005-04-08 05:27:02 | | 3 | mp0003 | Full | 63,038,650,523 | 82 | 31,536,000 | 1 | 0 | 1 | tape | 2005-04-13 19:05:51 | | 4 | mp0004 | Full | 39,741,481,568 | 40 | 31,536,000 | 1 | 0 | 1 | tape | 2005-04-14 01:22:52 | | 5 | mp0005 | Full | 57,832,358,084 | 64 | 31,536,000 | 1 | 0 | 1 | tape | 2005-04-15 05:04:23 | | 6 | mp0006 | Purged | 64,465,206,096 | 108 | 31,536,000 | 1 | 0 | 1 | tape | 2005-03-05 01:08:39 | | 7 | mp001 | Full | 58,807,078,337 | 67 | 1,728,000 | 1 | 0 | 1 | tape | 2005-04-06 07:43:30 | +---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ Now here is the kicker. I tried to mount all those volumes and I am getting the same error msg on all of them. So what I did next was googled this issue and saw Kern suggesting to run btape and do a test, which I did and it passed. I then tried to mount the volume again with no luck. So then I saw another thread where Kern suggests writing an eof on the tape before it it labeled. This was already labelled so I tried it anyway... I am kind of at a loss here and hope someone can help me find a resolution to this issue. I have included my bacula-dir.conf file and if need be I can include whatever else needed to help. Thank you in advance! -- Tom Morgan [EMAIL PROTECTED] |
#
# Default Bacula Director Configuration file
#
# The only thing that MUST be changed is to add one or more
# file or directory names in the Include directive of the
# FileSet resource.
#
# For Bacula release 1.36.1 (26 November 2004) -- redhat 7.2
#
# You might also want to change the default email address
# from root to your address. See the "mail" and "operator"
# directives in the Messages resource.
#
Director { # define myself
Name = drakul-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/usr/local//etc/query.sql"
WorkingDirectory = "/usr/local//var/bacula/working"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 20
Password = "ETER6PsKy8+39fEUE8qae2fMhVBpMPTSmcRZFQh+yTiQ" # Console
password
Messages = Daemon
}
JobDefs {
Name = "drakul"
Type = Backup
Level = Incremental
Client = drakul-fd
FileSet = "drakul"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "amin"
Type = Backup
Level = Incremental
Client = "amin"
FileSet = "amin"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "lenin"
Type = Backup
Level = Incremental
Client = "lenin"
FileSet = "lenin"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "trotsky"
Type = Backup
Level = Incremental
Client = "trotsky"
FileSet = "trotsky"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "mao"
Type = Backup
Level = Incremental
Client = "mao"
FileSet = "mao"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "fidel"
Type = Backup
Level = Incremental
Client = "fidel"
FileSet = "fidel"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "hella"
Type = Backup
Level = Incremental
Client = "hella"
FileSet = "hella"
Schedule = "WeeklyCycle"
Storage = DLT-7000
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "win2003"
Type = Backup
Level = Full
Client = sauron3
FileSet = win2003
Schedule = "Win2003"
Storage = DLT-7000
Messages = Standard
Pool = Default
# Spool data = yes
Priority = 10
}
#
# Define the main nightly save backup job
# By default, this job will back up to disk in /tmp
Job {
Name = "drakul"
JobDefs = "drakul"
Write Bootstrap = "/usr/local//var/bacula/working/drakul.bsr"
}
Job {
Name = "amin"
JobDefs = "amin"
Write Bootstrap = "/usr/local//var/bacula/working/amin.bsr"
}
Job {
Name = "lenin"
JobDefs = "lenin"
Write Bootstrap = "/usr/local//var/bacula/working/lenin.bsr"
}
Job {
Name = "trotsky"
JobDefs = "trotsky"
Write Bootstrap = "/usr/local//var/bacula/working/trotsky.bsr"
}
Job {
Name = "mao"
JobDefs = "mao"
Write Bootstrap = "/usr/local//var/bacula/working/mao.bsr"
}
Job {
Name = "fidel"
JobDefs = "fidel"
Write Bootstrap = "/usr/local//var/bacula/working/fidel.bsr"
}
Job {
Name = "hella"
JobDefs = "hella"
Write Bootstrap = "/usr/local//var/bacula/working/hella.bsr"
}
Job {
Name = "sauron3"
JobDefs = "win2003"
Write Bootstrap = "/usr/local//var/bacula/working/sauron3.bsr"
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "drakul"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/usr/local//etc/make_catalog_backup bacula bacula"
# This deletes the copy of the catalog
RunAfterJob = "/usr/local//etc/delete_catalog_backup"
Write Bootstrap = "/usr/local//var/bacula/working/BackupCatalog.bsr"
Priority = 11 # run after main backup
}
# Standard Restore template, to be changed by Console program
Job {
Name = "drakul_RestoreFiles"
Type = Restore
Client=drakul-fd
FileSet="drakul"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "amin_RestoreFiles"
Type = Restore
Client= amin
FileSet="amin"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "lenin_RestoreFiles"
Type = Restore
Client= lenin
FileSet="lenin"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "trotsky_RestoreFiles"
Type = Restore
Client= trotsky
FileSet="trotsky"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "mao_RestoreFiles"
Type = Restore
Client= mao
FileSet="mao"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "fidel_RestoreFiles"
Type = Restore
Client= fidel
FileSet="fidel"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "hella_RestoreFiles"
Type = Restore
Client= hella
FileSet="hella"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
Job {
Name = "RestoreFilesWindows"
Type = Restore
Client= sauron3
FileSet="win2003"
Storage = DLT-7000
Pool = Default
Messages = Standard
Where = "c:/bacula/restores"
}
# List of files to be backed up
FileSet {
Name = "drakul"
Include {
Options {
signature = MD5
}
#
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitons such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula build
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
File = /
File = /var
File = /usr
File = /usr/local
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "amin"
Include {
Options {
signature = MD5
}
File = /
File = /var
File = /usr
File = /usr/local
File = /home
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "lenin"
Include {
Options {
signature = MD5
}
File = /
File = /var
File = /usr
File = /usr/local
File = /home
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "trotsky"
Include {
Options {
signature = MD5
}
File = /
File = /var
File = /usr
File = /usr/local
File = /data
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "mao"
Include {
Options {
signature = MD5
}
File = /
File = /data1
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "fidel"
Include {
Options {
signature = MD5
}
File = /
File = /usr/local/apache
File = /usr/local/HelixUniversalServer9
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "hella"
Include {
Options {
signature = MD5
}
File = /
File = /var
File = /usr
File = /usr/local
File = /local
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "win2003"
Include {
Options {
signature = MD5
}
File = "c:/bacula"
File = "c:/install"
File = "d:/sauron2_backup.bkf"
}
Exclude {
# Most of these files are excluded not because we don't want
# them, but because Win2K won't allow them to be backed up
# except via proprietary Win32 API calls.
File = "c:/Documents and Settings/*/Application
Data/*/Profiles/*/*/Cache/*"
File = "c:/Documents and Settings/*/Local Settings/Application
Data/Microsoft/Windows/[Uu][Ss][Rr][Cc][Ll][Aa][Ss][Ss].*"
File = "c:/Documents and Settings/*/[Nn][Tt][Uu][Ss][Ee][Rr].*"
File = "c:/Documents and Settings/*/Cookies/*"
File = "c:/Documents and Settings/*/Local Settings/History/*"
File = "c:/Documents and Settings/*/Local Settings/Temporary Internet
Files/*"
File = "c:/Documents and Settings/*/Local Settings/Temp/*"
}
}
#
# When to do the backups, full backup on first sunday of the month,
# differential (i.e. incremental since full) every other sunday,
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
Run = Full fri at 1:05
# Run = Full wed at 1:05
Run = Differential mon-thu at 1:05
Run = Differential sat at 1:05
}
Schedule {
Name = "Win2003"
Run = Full tue at 3:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 1:15
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /usr/local//var/bacula/working/bacula.sql
}
}
# Client (File Services) to backup
Client {
Name = drakul-fd
Address = drakul
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = amin
Address = 10.250.0.17
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = lenin
Address = 10.250.0.40
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = trotsky
Address = 10.250.0.41
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = mao
Address = 10.250.0.15
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = fidel
Address = 10.250.0.14
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = hella
Address = 10.250.0.35
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 20 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = sauron3
Address = 10.250.0.6
FDPort = 9102
Catalog = MyCatalog
Password = "Zi9B/gCFxFqE2jAOjYPUzI8fz5Q9OZT5Iys7nOZ582Hd" # password
for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# Definiton of file storage device
Storage {
Name = DLT-7000
# Do not use "localhost" here
Address = drakul # N.B. Use a fully qualified name here
SDPort = 9103
Password = "3/Vv1dvWMMWM1hbZaOa/a5mCg3AlRal58TsdtFJ1vYkI"
Device = "Sun L280"
Media Type = tape
}
# Definition of DDS tape storage device
#Storage {
# Name = DDS-4
# Do not use "localhost" here
# Address = drakul # N.B. Use a fully qualified name here
# SDPort = 9103
# Password = "3/Vv1dvWMMWM1hbZaOa/a5mCg3AlRal58TsdtFJ1vYkI" #
password for Storage daemon
# Device = DDS-4 # must be same as Device in Storage
daemon
# Media Type = DDS-4 # must be same as MediaType in Storage
daemon
#}
# Definition of 8mm tape storage device
#Storage {
# Name = "8mmDrive"
# Do not use "localhost" here
# Address = drakul # N.B. Use a fully qualified name here
# SDPort = 9103
# Password = "3/Vv1dvWMMWM1hbZaOa/a5mCg3AlRal58TsdtFJ1vYkI"
# Device = "Exabyte 8mm"
# MediaType = "8mm"
#}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = ""
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
# to replace the %r in the from field (-f part) with a single valid
# email address in both the mailcommand and the operatorcommand.
#
mailcommand = "/usr/local//sbin/bsmtp -h smtp.synacor.com -f \"\(Bacula\)
%r\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/local//sbin/bsmtp -h smtp.synacor.com -f \"\(Bacula\)
%r\" -s \"Bacula: Intervention needed for %j\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle from
# time to time as it will grow indefinitely. However, it will
# also keep all your messages if they scroll off the console.
#
append = "/usr/local//var/bacula/working/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/local//sbin/bsmtp -h smtp.synacor.com -f \"\(Bacula\)
%r\" -s \"Bacula daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/usr/local//var/bacula/working/log" = all, !skipped
}
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Accept Any Volume = yes # write on any volume in the pool
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = drakul-mon
Password = "OfiEDXBASjwm59z44JjCMRAecL9dBc9CgkmK06b0pAbm"
CommandACL = status, .status
}
