Hello,

On 3/20/2006 3:53 PM, Ger Apeldoorn wrote:
Hi Arno, Thanks for your response!


Baffled? Yes, that too, but don't forget it's been a weekend!

:)


The configuration only shows me that you've got the pools in question
defined... more interesting would be the information how you started the
job. If you do this via command line, or through a schedule, and what
the actual run command was...


I run it from a schedule, I even tried to specify the pool, but it does not work.

Schedule {
  Name = "WeeklyNASCycle"
  Run = Level=Full Pool=NAS-Files sun at 23:05
  Run = Level=Differential Pool=NAS-Files mon-sat at 23:05
}

Ok, so this looks like the SD is kind of confused.

I assume you do have volumes for both pools, and all the volumes are heoreticall (from Baculas point of view) available to the SD. This depends mainly on the media type, I think, but the storage the media is assigned to might also be important. So you should have the existing volume files for the pool you want to use in the directory /data/bacula (your configuration, though, shows this as /path/bacula, which might be related to this problem...)

What I would do, after checking the setup and possibly restarting he daemons: Try unmounting the storage device and mounting again. The SD should try to access the right volume then.

If this doesn't work, try running the SD with debug output and see what that reports. Your problem description is a little similar to one I observed with a beta version, by the way, but I'm using tape volumes.

The current -beta6 might resolve this problem, but I will know more tomorrow after my more difficult schedules are run...

Arno

Stat from SD:
----------------------------------------%<-------------------------------
Writing: Differential Backup job ntserv0NAS JobId=893 Volume=""
    pool="Default" device=""FileStorageNAS" (/data/bacula)"
    Files=0 Bytes=0 Bytes/sec=0
    FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
====

Jobs waiting to reserve a drive:
3608 JobId=977 wants Pool="NAS-Files" but have Pool="Default" on drive "FileStorageNAS" (/data/bacula). 3607 JobId=977 wants Vol="Volume0002" drive has Vol="" on drive "FileStorageNAS" (/data/bacula).
====
----------------------------------------%<-------------------------------

Thanks,
Ger.



Arno


This is the STAT from the SD:
----------------------------------------%<-------------------------------
------------ nas-sd Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu
debian testing/unstable
Daemon started 16-Mar-06 11:25, 1 Job run since started.

Running Jobs:
Writing: Full Backup job job1 JobId=838 Volume=""
  pool="Default" device=""FileStorageNAS" (/data/bacula)"
  Files=0 Bytes=0 Bytes/sec=0
  FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
Writing: Full Backup job job2 JobId=840 Volume=""
  pool="Default" device=""FileStorageNAS" (/data/bacula)"
  Files=0 Bytes=0 Bytes/sec=0
  FDReadSeqNo=6 in_msg=6 out_msg=4 fd=8

(%<)
====

Jobs waiting to reserve a drive:
 3608 JobId=888 wants Pool="NAS-Files" but have Pool="Default" on drive
"FileStorageNAS" (/data/bacula).
 3607 JobId=888 wants Vol="Volume0002" drive has Vol="" on drive
"FileStorageNAS" (/data/bacula).
====

Device status:
Device "FileStorageNAS" (/data/bacula) is not open or does not exist.
  Device is BLOCKED waiting for media.
====
----------------------------------------%<-------------------------------
------------

Here is relevant stuff from my bacula-sd.conf on the NAS:
It is configured to automatically create a new volume for each job.
----------------------------------------%<-------------------------------
------------ Storage {                             # definition of myself
Name = bigfilemachine-sd
SDPort = 9103                  # Director's port
WorkingDirectory = "/var/bacula/working"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}

Device {
Name = FileStorageNAS
Media Type = File
Archive Device = /path/bacula
LabelMedia = yes;                   # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes;               # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
----------------------------------------%<-------------------------------
------------

Here's the directors config:
----------------------------------------%<-------------------------------
------------ JobDefs {
Name = "DefaultNASJob"
Type = Backup
Level = Differential
Client = minime-fd
FileSet = "minime"
Schedule = "WeeklyCycle"
Storage = FileNAS
Messages = Standard
Pool = NAS-Files
Priority = 10
}

Job {
Name = "testmachineNAS"
Client = testmachine-fd
JobDefs = "DefaultNASJob"
FileSet = "testmachine"
Write Bootstrap = "/var/bacula/working/testmachine.bsr"
}

FileSet {
Name = "testmachine"
Include {
  Options { signature = MD5
            compression=GZIP }
  File = /etc
}
}

Client {
Name = testmachine-fd
Address = testmachine.whatever.com
FDPort = 9102
Catalog = MyCatalog
Password = "modified"          # password for FileDaemon
File Retention = 30 days            # 30 days
Job Retention = 6 months            # six months
AutoPrune = yes                     # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
Name = FileNAS
Address = bigfilemachine.whatever.com                # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "modified"
Device = FileStorageNAS
Media Type = File
}

Pool {
Name = NAS-Files
Maximum Volume Jobs = 1
Pool Type = Backup
Recycle = yes                       # Bacula can automatically recycle
Volumes
AutoPrune = yes                     # Prune expired volumes
VolumeRetention = 60 days
Accept Any Volume = yes             # write on any volume in the pool
Maximum Volumes = 100
LabelFormat = "Volume"
}
----------------------------------------%<-------------------------------
------------

Any help greatly appreciated!!

Many thanks,
Ger



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language that extends applications into web and mobile media. Attend the
live webcast and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language that extends applications into web and mobile media. Attend the
live webcast and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to