Bacula-users

Re: [Bacula-users] Job is waiting for a mount request

2011-06-28 22:39:22
Subject: Re: [Bacula-users] Job is waiting for a mount request
From: Venkatesh K Reddy <venkatesh AT kaevee DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Wed, 29 Jun 2011 08:06:25 +0530
I had used unmount. But, I nuked the whole configuration.

/etc/init.d/bacula-sd stop
/etc/init.d/bacula-dir stop
/usr/lib/bacula/drop_mysql_tables
/usr/lib/bacula/make_mysql_tables
rm -rf /var/lib/bacula/*
/etc/init.d/bacula-sd start
/etc/init.d/bacula-dir start

I did the same on the client.

Thanks,

Venkatesh K

On Wed, Jun 29, 2011 at 8:01 AM, John Drescher <drescherjm AT gmail DOT com> wrote:
2011/6/28 Venkatesh K Reddy <venkatesh AT kaevee DOT com>:
> Hi,
>
> I am a newbie to Bacula. I tried to find out what is happening in the list
> and could not get right answer. Probably I am not searching with right
> question or looking at right place.
>
> We have a test setup with File storage. All daemons are able to talk to each
> other and a small backup successfully finished. Here is the configuration of
> Pool and Storage.
>
> # 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
> }
>
> # File Pool definition
> Pool {
>   Name = File
>   Pool Type = Backup
>   Recycle = yes                       # Bacula can automatically recycle
> Volumes
>   AutoPrune = yes                     # Prune expired volumes
>   Volume Retention = 365 days         # one year
>   Maximum Volume Bytes = 50G          # Limit Volume size to something
> reasonable
>   Maximum Volumes = 100               # Limit number of Volumes in Pool
>   Label Format = FileShare
> }
>
> Here is the storage definition
>
> Storage {                             # definition of myself
>   Name = cincidr-sd
>   SDPort = 9103                  # Director's port
>   WorkingDirectory = "/var/lib/bacula"
>   Pid Directory = "/var/run"
>   Maximum Concurrent Jobs = 20
> }
>
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /home/backups/fileshare
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
>   Random Access = Yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = no;
>   Maximum File Size = 262144000;
>   Maximum Volume Size = 262144000;
> }
>
> I tried to backup a large file set (20+ GB). It stopped half way with the
> following message.
>
> Running Jobs:
> Console connected at 28-Jun-11 17:06
>  JobId Level   Name                       Status
> ======================================================================
>      1 Full    FileShare.2011-06-28_10.04.46_03 is waiting for a mount
> request
>
> Here is the status of storage.
>
> Device status:
> Device "FileStorage" (/home/backups/fileshare) open but no Bacula volume is
> currently mounted.
>     Device is BLOCKED waiting for mount of volume "FileShare0037",
>        Pool:        File
>        Media type:  File
>     Total Bytes Read=0 Blocks Read=0 Bytes/block=0
>     Positioned at File=0 Block=0
>
> I have already set Automatic Mount = Yes as part of configuration. I am not
> sure where I am going wrong. Please help me.
>

Did you use the umount command recently?

John

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users