Re: [Bacula-users] Please mount Volume or label a new one

2012-06-18 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 10.52 -0400, John Drescher ha scritto:
> No this is absolutely not normal. Although I am not sure what caused
> that. Do you have the recycle flag set on your volumes?

Yes, recycle flag is set but in this case I've manually purged
a volume.

The only way to restore the situation was to delete volume from
catalog and then relabel.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 10.52 -0400, John Drescher ha scritto:
> No this is absolutely not normal. Although I am not sure what caused
> that. Do you have the recycle flag set on your volumes?

Yes, recycle flag is set but in this case I've manually purged
a volume.

The only way to restore the situation was to delete volume from
catalog and then relabel.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread John Drescher
>> Suddenly, our tests with autochanger hangs with
>> message
>>
>> "Please mount Volume "001004L4" or label a new one for"
>
> I had to delete the volume and relabel again to get it working.
> Is this normal? To recycle a volume I have to delete it ?
>
No this is absolutely not normal. Although I am not sure what caused
that. Do you have the recycle flag set on your volumes?

>

John

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 15.15 +0200, Gandalf Corvotempesta ha
scritto:
> Suddenly, our tests with autochanger hangs with
> message 
> 
> "Please mount Volume "001004L4" or label a new one for"

I had to delete the volume and relabel again to get it working.
Is this normal? To recycle a volume I have to delete it ?


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread Gandalf Corvotempesta
Suddenly, our tests with autochanger hangs with
message 

"Please mount Volume "001004L4" or label a new one for"

Slots seems to be ok and properly labeled:


 Slot |   Volume Name|   Status  | Media Type   |  Pool
|
--+--+---+--+|
1 | 001001L4 |Append | LTO4 |
TapeFullPool |
2 | 001002L4 |Purged | LTO4 |
TapeFullPool |
3 | 001003L4 |Purged | LTO4 |
TapeFullPool |
4 | 001004L4 |   Recycle | LTO4 |
TapeFullPool |
5 | 001005L4 |Purged | LTO4 |
TapeFullPool |
6 | 001006L4 |Purged | LTO4 |
TapeFullPool |
7 | 001007L4 |Purged | LTO4 |
TapeFullPool |
8 | 001008L4 |Purged | LTO4 |
TapeFullPool |
9 | 001009L4 |Purged | LTO4 |
TapeFullPool |
   10 | 001010L4 |Purged | LTO4 |
TapeFullPool |
   11 | 001011L4 |Purged | LTO4 |
TapeFullPool |
   12 | 001012L4 |Purged | LTO4 |
TapeFullPool |




This started to happen after a purge of our volumes.

Tapes are labeled properly:

Media record for Slot 1 Volume "001001L4" already exists.
Media record for Slot 2 Volume "001002L4" already exists.
Media record for Slot 3 Volume "001003L4" already exists.
Media record for Slot 4 Volume "001004L4" already exists.
Media record for Slot 5 Volume "001005L4" already exists.
Media record for Slot 6 Volume "001006L4" already exists.
Media record for Slot 7 Volume "001007L4" already exists.
Media record for Slot 8 Volume "001008L4" already exists.
Media record for Slot 9 Volume "001009L4" already exists.
Media record for Slot 10 Volume "001010L4" already exists.
Media record for Slot 11 Volume "001011L4" already exists.
Media record for Slot 12 Volume "001012L4" already exists.





Any hint?







--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-09 Thread John Drescher
On Tue, Aug 9, 2011 at 5:20 PM, Jeff Shanholtz  wrote:
> I knew my problem was state related. I figured it out! I had killed a job
> while testing some changes and it left a phantom, unused volume in the
> catalog (I had deleted the file since I killed the job).
>
> This is what I found when I did a "list media" on this client's pool:
>
> | MediaId | VolumeName                        | VolStatus | Enabled |
> VolBytes  | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType
> | LastWritten         |
> +-+---+---+-+---
> --+--+--+-+--+---+---+--
> ---+
> | 3254    | client                             | Append    | 1       | 181
> | 0        | 31536000     | 0       | 0    | 0         | File      | 0
>
> Deleted the volume from the catalog and I just ran a backup successfully
> without any intervention. :)
>

Thanks for reporting back.  I will try to remember this post next time
the same problem hits the mailing list..

John

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-09 Thread Jeff Shanholtz
I knew my problem was state related. I figured it out! I had killed a job
while testing some changes and it left a phantom, unused volume in the
catalog (I had deleted the file since I killed the job).

This is what I found when I did a "list media" on this client's pool:

| MediaId | VolumeName| VolStatus | Enabled |
VolBytes  | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType
| LastWritten |
+-+---+---+-+---
--+--+--+-+--+---+---+--
---+
| 3254| client | Append| 1   | 181
| 0| 31536000 | 0   | 0| 0 | File  | 0

Deleted the volume from the catalog and I just ran a backup successfully
without any intervention. :)

-Original Message-
From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Monday, August 08, 2011 12:52 PM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] please mount volume or label a new one

>> I have always kept Maximum Volume Jobs at 1 for this and all other
>> (working) clients. One file per job is the way I do it.
>>
> Do you have a limit on the # of volumes in the pool?

Not to my knowledge. Here's the relevant info from my conf files.

 Director:

Director {# define myself
  Name = server-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "C:\\Program Files (x86)\\Bacula\\bin\\query.sql"
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  PidDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
  Password = "password" # Console password
  Messages = Daemon
  FD Connect Timeout = 43200 # 12 hrs
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  FileSet = "Windows Full Set"
  Schedule = "WeeklyCycle"
  Messages = Standard
  Priority = 10
}

Job {
  Name = "client"
  Client = client -fd
  JobDefs = "DefaultJob"
  Write Bootstrap = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work\\ client.bsr"
  ClientRunBeforeJob="cmd.exe /c C:\\Utils\\BeforeBackup.bat"
  ClientRunAfterJob="cmd.exe /c C:\\Utils\\AfterBackup.bat"
  Pool = client
  Storage = FileClient
}

# Client (File Services) to backup
Client {
  Name = client -fd
  Address = client
  FDPort = 9102
  Catalog = MyCatalog
  Password = "password"  # password for FileDaemon
  File Retention = 6 months
  Job Retention = 6 months
  AutoPrune = yes # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
  Name = FileClient
# Do not use "localhost" here
  Address = server# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "password"
  Device = FileStorageClient
  Media Type = File
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = client
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Maximum Volume Jobs = 1
  Label Format =
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}"
}

 Storage:

Storage { # definition of myself
  Name = server-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
}

Device {
  Name = FileStorageClient
  Media Type = File
  Archive Device = "H:\\Bacula\ Backup\ Volumes"
  LabelMedia = yes   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes   # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
}




--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The
must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
uberSVN's rich system 

Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Jeff Shanholtz
>> I have always kept Maximum Volume Jobs at 1 for this and all other 
>> (working) clients. One file per job is the way I do it.
>>
> Do you have a limit on the # of volumes in the pool?

Not to my knowledge. Here's the relevant info from my conf files.

 Director:

Director {# define myself
  Name = server-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "C:\\Program Files (x86)\\Bacula\\bin\\query.sql"
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  PidDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
  Password = "password" # Console password
  Messages = Daemon
  FD Connect Timeout = 43200 # 12 hrs
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  FileSet = "Windows Full Set"
  Schedule = "WeeklyCycle"
  Messages = Standard
  Priority = 10
}

Job {
  Name = "client"
  Client = client -fd
  JobDefs = "DefaultJob"
  Write Bootstrap = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work\\ client.bsr"
  ClientRunBeforeJob="cmd.exe /c C:\\Utils\\BeforeBackup.bat"
  ClientRunAfterJob="cmd.exe /c C:\\Utils\\AfterBackup.bat"
  Pool = client
  Storage = FileClient
}

# Client (File Services) to backup
Client {
  Name = client -fd
  Address = client
  FDPort = 9102
  Catalog = MyCatalog
  Password = "password"  # password for FileDaemon
  File Retention = 6 months
  Job Retention = 6 months
  AutoPrune = yes # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
  Name = FileClient
# Do not use "localhost" here
  Address = server# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "password"
  Device = FileStorageClient
  Media Type = File
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = client
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Maximum Volume Jobs = 1
  Label Format =
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}"
}

 Storage:

Storage { # definition of myself
  Name = server-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
}

Device {
  Name = FileStorageClient
  Media Type = File
  Archive Device = "H:\\Bacula\ Backup\ Volumes"
  LabelMedia = yes   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes   # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
}



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread John Drescher
2011/8/8 Jeff Shanholtz :
> I have always kept Maximum Volume Jobs at 1 for this and all other (working)
> clients. One file per job is the way I do it.
>
Do you have a limit on the # of volumes in the pool?

John

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Jeff Shanholtz
I have always kept Maximum Volume Jobs at 1 for this and all other (working)
clients. One file per job is the way I do it.

 

From: Kleber Leal [mailto:kleber.l...@gmail.com] 
Sent: Monday, August 08, 2011 11:29 AM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] please mount volume or label a new one

 

Verify if Maximum Volumes parameter.
Maybe your client overflow this setting.

Kleber



2011/8/8 Jeff Shanholtz 

Weekday bump. :)

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Saturday, August 06, 2011 9:27 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] please mount volume or label a new one

 

Something happened to cause bacula to stop auto-labeling for one of my
clients. I've manually labeled it 2 or 3 days in a row now, initially
thinking it just needed a kick start for some reason to get back on track. I
think this started because I was doing some testing of some settings and
then ended up deleting an unwanted backup file that bacula created but never
started filling with backup data.

 

All other clients auto-label just fine every day and all clients, including
the faulty one, are configured exactly the same. Plus the faulty client was
auto-labeling prior to this event perfectly fine as well. So I'm inclined to
believe that this problem is state-related rather than configuration
related.

 

I am running version 3.0.3.

 

Can anyone tell me what I must do to correct this problem?



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Kleber Leal
Verify if *Maximum Volumes* parameter.
Maybe your client overflow this setting.

Kleber


2011/8/8 Jeff Shanholtz 

> Weekday bump. :)
>
> ** **
>
> *From:* Jeff Shanholtz [mailto:jeffs...@shanholtz.com]
> *Sent:* Saturday, August 06, 2011 9:27 AM
> *To:* Bacula-users@lists.sourceforge.net
> *Subject:* [Bacula-users] please mount volume or label a new one
>
> ** **
>
> Something happened to cause bacula to stop auto-labeling for one of my
> clients. I’ve manually labeled it 2 or 3 days in a row now, initially
> thinking it just needed a kick start for some reason to get back on track. I
> think this started because I was doing some testing of some settings and
> then ended up deleting an unwanted backup file that bacula created but never
> started filling with backup data.
>
> ** **
>
> All other clients auto-label just fine every day and all clients, including
> the faulty one, are configured exactly the same. Plus the faulty client was
> auto-labeling prior to this event perfectly fine as well. So I’m inclined to
> believe that this problem is state-related rather than configuration
> related.
>
> ** **
>
> I am running version 3.0.3.
>
> ** **
>
> Can anyone tell me what I must do to correct this problem?
>
>
> --
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Jeff Shanholtz
Weekday bump. :)

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Saturday, August 06, 2011 9:27 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] please mount volume or label a new one

 

Something happened to cause bacula to stop auto-labeling for one of my
clients. I've manually labeled it 2 or 3 days in a row now, initially
thinking it just needed a kick start for some reason to get back on track. I
think this started because I was doing some testing of some settings and
then ended up deleting an unwanted backup file that bacula created but never
started filling with backup data.

 

All other clients auto-label just fine every day and all clients, including
the faulty one, are configured exactly the same. Plus the faulty client was
auto-labeling prior to this event perfectly fine as well. So I'm inclined to
believe that this problem is state-related rather than configuration
related.

 

I am running version 3.0.3.

 

Can anyone tell me what I must do to correct this problem?

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] please mount volume or label a new one

2011-08-06 Thread Jeff Shanholtz
Something happened to cause bacula to stop auto-labeling for one of my
clients. I've manually labeled it 2 or 3 days in a row now, initially
thinking it just needed a kick start for some reason to get back on track. I
think this started because I was doing some testing of some settings and
then ended up deleting an unwanted backup file that bacula created but never
started filling with backup data.

 

All other clients auto-label just fine every day and all clients, including
the faulty one, are configured exactly the same. Plus the faulty client was
auto-labeling prior to this event perfectly fine as well. So I'm inclined to
believe that this problem is state-related rather than configuration
related.

 

I am running version 3.0.3.

 

Can anyone tell me what I must do to correct this problem?

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users