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

2011-06-30 Thread Geert Stappers
Op 20110629 om 15:00 schreef John Drescher:
  Tons of thanks for your valuable time and pointing me to right direction. I
  am glad to be part of wonderful Bacula community.
 
  Thanks again,
 
 You are welcome. I am glad I could help.
 
 John

Hello John,

Here a public compliment from me.

I appriciate your contributions to the Bacula mailinglist.

Especial that you make it possible to read in the discussion order
for the ML subscribers and the ML archive readers
by replying below the text.

It is good to see good practice in action.


Cheers
Geert Stappers
Fan of the guide lines from 
http://en.opensuse.org/openSUSE:Mailing_list_netiquette


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-30 Thread John Drescher
 Here a public compliment from me.

 I appriciate your contributions to the Bacula mailinglist.

 Especial that you make it possible to read in the discussion order
 for the ML subscribers and the ML archive readers
 by replying below the text.

 It is good to see good practice in action.


Thank You. :)

I am a long time bacula user (8 years now at work and home) and I try
to give back whenever I can.

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-29 Thread John Drescher
 Tons of thanks for your valuable time and pointing me to right direction. I
 am glad to be part of wonderful Bacula community.

 Thanks again,

You are welcome. I am glad I could help.

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread Venkatesh K Reddy
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 FullFileShare.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.

thanks,

Venkatesh
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread John Drescher
2011/6/28 Venkatesh K Reddy venkat...@kaevee.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread Venkatesh K Reddy
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 dresche...@gmail.com wrote:

 2011/6/28 Venkatesh K Reddy venkat...@kaevee.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 FullFileShare.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread John Drescher
On Tue, Jun 28, 2011 at 10:36 PM, Venkatesh K Reddy
venkat...@kaevee.com wrote:
 I had used unmount. But, I nuked the whole configuration.


If you ever use umount then the next volume that bacula will want you
will have to mount it since umount takes the storage device out of
bacula's control. If you just want to unload a volume without bacula
giving up control on the storage device use the release command
instead.

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread Venkatesh K Reddy
I don't think I have used unmount after removing old state files and nuking
all data in sql database.

I had started afresh and backup ran smoothly and created about 30 volumes
(256MB each) and then stopped with following message.

Running Jobs:
Console connected at 28-Jun-11 18:45
 JobId Level   Name   Status
==
 1 FullFileShare.2011-06-28_10.04.46_03 is waiting for a mount
request

When I checked the storage status I got the following info.

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 tried to look up in mailing lists and could not find any post similar to
problem I am facing.

Thanks,

Venkatesh K

On Wed, Jun 29, 2011 at 8:13 AM, John Drescher dresche...@gmail.com wrote:

 On Tue, Jun 28, 2011 at 10:36 PM, Venkatesh K Reddy
 venkat...@kaevee.com wrote:
  I had used unmount. But, I nuked the whole configuration.
 

 If you ever use umount then the next volume that bacula will want you
 will have to mount it since umount takes the storage device out of
 bacula's control. If you just want to unload a volume without bacula
 giving up control on the storage device use the release command
 instead.

 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread John Drescher
On Tue, Jun 28, 2011 at 10:59 PM, Venkatesh K Reddy
venkat...@kaevee.com wrote:
 I don't think I have used unmount after removing old state files and nuking
 all data in sql database.

 I had started afresh and backup ran smoothly and created about 30 volumes
 (256MB each) and then stopped with following message.

 Running Jobs:
 Console connected at 28-Jun-11 18:45
  JobId Level   Name   Status
 ==
  1 Full    FileShare.2011-06-28_10.04.46_03 is waiting for a mount
 request

 When I checked the storage status I got the following info.

 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 tried to look up in mailing lists and could not find any post similar to
 problem I am facing.


Does the volume FileShare0037 exist in /home/backups/fileshare?

Do you have any limits on how many volumes in your pool?

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread Venkatesh K Reddy
Hi,

On Wed, Jun 29, 2011 at 8:52 AM, John Drescher dresche...@gmail.com wrote:

 On Tue, Jun 28, 2011 at 10:59 PM, Venkatesh K Reddy
 venkat...@kaevee.com wrote:
  I don't think I have used unmount after removing old state files and
 nuking
  all data in sql database.
 
  I had started afresh and backup ran smoothly and created about 30 volumes
  (256MB each) and then stopped with following message.
 
  Running Jobs:
  Console connected at 28-Jun-11 18:45
   JobId Level   Name   Status
  ==
   1 FullFileShare.2011-06-28_10.04.46_03 is waiting for a mount
  request
 
  When I checked the storage status I got the following info.
 
  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 tried to look up in mailing lists and could not find any post similar
 to
  problem I am facing.
 

 Does the volume FileShare0037 exist in /home/backups/fileshare?


No. It does not exist.



 Do you have any limits on how many volumes in your pool?


Yes. The limit is 100.

# 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
}

Thanks,

Venkatesh K
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread John Drescher
On Tue, Jun 28, 2011 at 11:36 PM, Venkatesh K Reddy
venkat...@kaevee.com wrote:
 Hi,

 On Wed, Jun 29, 2011 at 8:52 AM, John Drescher dresche...@gmail.com wrote:

 On Tue, Jun 28, 2011 at 10:59 PM, Venkatesh K Reddy
 venkat...@kaevee.com wrote:
  I don't think I have used unmount after removing old state files and
  nuking
  all data in sql database.
 
  I had started afresh and backup ran smoothly and created about 30
  volumes
  (256MB each) and then stopped with following message.
 
  Running Jobs:
  Console connected at 28-Jun-11 18:45
   JobId Level   Name   Status
  ==
   1 Full    FileShare.2011-06-28_10.04.46_03 is waiting for a mount
  request
 
  When I checked the storage status I got the following info.
 
  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 tried to look up in mailing lists and could not find any post similar
  to
  problem I am facing.
 

 Does the volume FileShare0037 exist in /home/backups/fileshare?

 No. It does not exist.


I believe it should at that point. You may want to look at the logs to
see if there were any error messages. You are sure you did not run out
of space?


 Do you have any limits on how many volumes in your pool?

 Yes. The limit is 100.


Does that volume exist in the output of:

list media pool=Backup

You can execute that in bconsole. If it does exist is this the last volume?

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2011-06-28 Thread Venkatesh K Reddy
John,

Please accept my apologies. It was disk space issue after all. The server
had 1.7T and our administrator mounted the backup partition in wrong path. I
was stupid enough not to check the mount points.

Tons of thanks for your valuable time and pointing me to right direction. I
am glad to be part of wonderful Bacula community.

Thanks again,

Venkatesh K

On Wed, Jun 29, 2011 at 9:14 AM, John Drescher dresche...@gmail.com wrote:

 On Tue, Jun 28, 2011 at 11:36 PM, Venkatesh K Reddy
 venkat...@kaevee.com wrote:
  Hi,
 
  On Wed, Jun 29, 2011 at 8:52 AM, John Drescher dresche...@gmail.com
 wrote:
 
  On Tue, Jun 28, 2011 at 10:59 PM, Venkatesh K Reddy
  venkat...@kaevee.com wrote:
   I don't think I have used unmount after removing old state files and
   nuking
   all data in sql database.
  
   I had started afresh and backup ran smoothly and created about 30
   volumes
   (256MB each) and then stopped with following message.
  
   Running Jobs:
   Console connected at 28-Jun-11 18:45
JobId Level   Name   Status
   ==
1 FullFileShare.2011-06-28_10.04.46_03 is waiting for a mount
   request
  
   When I checked the storage status I got the following info.
  
   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 tried to look up in mailing lists and could not find any post
 similar
   to
   problem I am facing.
  
 
  Does the volume FileShare0037 exist in /home/backups/fileshare?
 
  No. It does not exist.
 

 I believe it should at that point. You may want to look at the logs to
 see if there were any error messages. You are sure you did not run out
 of space?

 
  Do you have any limits on how many volumes in your pool?
 
  Yes. The limit is 100.
 

 Does that volume exist in the output of:

 list media pool=Backup

 You can execute that in bconsole. If it does exist is this the last volume?

 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users