Re: [Bacula-users] backup remote clients

2012-09-25 Thread Geert Stappers
Op 20120925 om 04:48 schreef Tim Dunphy:
  On Fri, Sep 21, 2012 at 3:48 AM, Geert Stappers wrote:
   Op 20120919 om 12:35 schreef Michael D. Wood:
   snip/
  
   I would start reading up, has all the information to backup directories
   on the client (if I'm following your question exactly)
   http://www.bacula.org/5.2.x-manuals/en/main/main/What_is_Bacula.html
   http://www.bacula.org/5.2.x-manuals/en/main/main/index.html
  
  
  Another good read is http://catb.org/~esr/faqs/smart-questions.html
  
 
 Well it seems that a good perusal of the docs was all I need. I appreciate all
 your input but ultimately all I had to do was read, slow down and think about
 what I was doing and then.. SUCCESS!!
 
 |69 | beta.mydomain.com  | 2012-09-24 21:55:37 | B| F |  265,960 
 | 7,766,476,900 | T |
 
 This is my remote client.. I'm so glad I got this worked out. The bacula
 command line environment rocks and I like it so much better than Amanda which
 is what I used to use.

Yes, I'm also very content with Bacula.
That is why I follow this mailinglist.

And to make this mailinglist more effective, I provide postings
that allow people to read in the discussion order. (reply below the text)

Cheers
Geert Stappers

--
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] problems with HP Tape Library MSL6000

2012-09-25 Thread lst_hoe02

Zitat von Tony Peña emperor...@gmail.com:

 hi, i try to make backup and i getting errors continues, with this messages

 19-Sep 07:52 bacula-sd JobId 56445: 3301 Issuing autochanger loaded?
 drive 0 command.
 19-Sep 07:52 bacula-sd JobId 56445: 3302 Autochanger loaded? drive
 0, result: nothing loaded.
 19-Sep 07:52 bacula-sd JobId 56445: 3304 Issuing autochanger load
 slot 2, drive 0 command.
 19-Sep 07:52 bacula-sd JobId 56445: Fatal error: 3992 Bad autochanger
 load slot 2, drive 0: ERR=Child exited with code 1.

Hello

Has it ever worked before? Best start would be to check your  
Autochanger like described here without Bacula running:

http://www.bacula.org/5.2.x-manuals/en/main/main/Autochanger_Resource.html

If that is all working start Bacula and try again.

Regards

Andreas



--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread lst_hoe02

Zitat von Stephen Thompson step...@seismo.berkeley.edu:

 Thanks for the info, John.

 Is there anyone else in the bacula community with LTO3's seeing this
 behaviour?  I don't believe (but am not 100% sure) that I'm having any
 hardware-related issues.

 Not sure what to make of this.  About 25% of tapes in a monthly run (70
 tapes) are under the 400Gb native, but then the other 75% are above it,
 some even hitting the 800Gb top.

As said by others. The native capacity is 400Gb and Bacula simply  
writes to the tape until the write does not succed which Bacula take  
as tape full. If you have some (full) tapes with less than 400Gb you  
either have some older tapes (LTO-2) or problem with your hardware or  
tapes. The tapes with more than 400Gb simply contains data which can  
be better compressed by the built-in compression of the drive.

Regards

Andreas




--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Jeremy Maes
Op 25/09/2012 2:03, James Harper schreef:
 Hello all,

 This is not likely a bacula questions, but in the chance that it is, or the
 experience on this list, I figured I would ask.

 We've been using LTO3 tapes with bacula for a few years now.  Recently I've
 noticed how variable our tape capacity it, ranging from 200-800 Gb.
Is that strictly governed by the compressibility of the actual data being
 backed up?  Or is there some chance that bacula isn't squeezing as much
 onto my tapes as I would expect?

 200Gb is not very much!

 I don't think this explains your issue, but LTO drives will write the data to 
 the tape, and then immediately read it again (the read head is placed such 
 that this is possible). If the read is bad the drive will rewrite the data. 
 This ensures that you get a good write, but obviously decreases the effective 
 capacity of your tape.

 Your tapes would have to be pretty worn out to drop the capacity to 25% 
 though.

 The tape and/or drive should record the margin and other figures, but I don't 
 know of any Linux tools to read that information.

 James
The tools depend on the brand. For HP drives ltt is nice and works 
flawlessly on linux command-line. It reports drive errors, tape errors 
for the past 4 tapes, tape and drive margin, and a lot of other info.
http://h18006.www1.hp.com/products/storageworks/ltt/

I know IBM has their own tool (ITDT), but as far as I know there is no 
command-line version of their tool.

Other brands, no clue.

Regards,
Jeremy

  DISCLAIMER 
http://www.schaubroeck.be/maildisclaimer.htm

--
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] The sizes do not match after cancel a job

2012-09-25 Thread John Drescher
 Hi, I manually ran a backup job for test purpose but it was taking too much
 time then I canceled the job, but now I'm having Error: Bacula cannot write
 on disk Volume x because: The sizes do not match! Volume=79435436944
 Catalog=78583814051 and the volume is marked with Error. How can I recover
 this volume to a usefull state? How can I properly cancel a backup job (I
 used the command cancel in bconsole)? Thanks.


I used to fix this by marking the tape append in bconsole however
bacula 5.2.10 seems to automatically fixes this now.

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] LTO3 tape capacity (variable?)

2012-09-25 Thread Alan Brown
On 25/09/12 09:08, Jeremy Maes wrote:

 The tape and/or drive should record the margin and other figures, but I don't 
 know of any Linux tools to read that information.

 The tools depend on the brand. For HP drives ltt is nice and works
 flawlessly on linux command-line. It reports drive errors, tape errors
 for the past 4 tapes, tape and drive margin, and a lot of other info.
 http://h18006.www1.hp.com/products/storageworks/ltt/

 I know IBM has their own tool (ITDT), but as far as I know there is no
 command-line version of their tool.

 Other brands, no clue.

Smartctl gives some usable information on each tape - certainly enough 
to assess if it's bad or not.






--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Cejka Rudolf
  We've been using LTO3 tapes with bacula for a few years now.  Recently I've
  noticed how variable our tape capacity it, ranging from 200-800 Gb.
Is that strictly governed by the compressibility of the actual data being
  backed up?

Hello,
  the lower bound 200 GB on 400 GB LTO-3 tapes is not possible due
to the drive compression, because it always compares, if compressed
data are shorter that original. In other case, it writes data uncompressed.
So, in all cases, you should see atleast 400 000 000 000 bytes written
on all tapes.

  Or is there some chance that bacula isn't squeezing as much
  onto my tapes as I would expect? 200Gb is not very much!

In bacula, look mainly for the reasons, why there is just 200 GB written.
If the tape is full, think about these:

- Weared tapes. Typical tape service life is written as 200 full cycles.
  However, read
  http://www.xma4govt.co.uk/Libraries/Manufacturer/ultriumwhitepaper_EEE.sflb
  where they experienced problems with some tapes just only after
  30 cycles! How many cycles could you have with your tapes?

- Do you use disk staging, so that tape writes are done at full speed?
  Do you have a good disk staging? Considering using SSDs for staging
  is very wise. If data rate is lower that 1/3 to 1/2 of native tape
  speed (based on drive vendor, HP or IBM), then drive has to perform
  tape repositions, which means another important excessive drive and
  tape wearing.

  My experiences are, that even HW RAID-0 with four 10k disks could not
  be sufficient and when there are data writes and reads in parallel,
  it could not put 80 MB/s to the drive, typically just 50-70 MB/s,
  which is still acceptable for LTO-3, but not good.

  Currently, I have 4 x 450 GB SSDs HW RAID-0 with over 1500 GB/s without
  problem running writes and reads in parallel and just after that I hope
  that it is really sufficient for = LTO-3 staging and putting drives and
  tapes wearing to minimum.

- Dirty heads. You can enforce cleaning cycle, but then return to the
  two points above and other suggestiong, like using some monitoring
  like ltt on Linux (or I have some home made reporting tool using
  camcontrol on FreeBSD), where it would be possible to ensure, that
  your problem are weared tapes, or something else.

Best regards.

-- 
Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic

--
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] problems with HP Tape Library MSL6000

2012-09-25 Thread Tony Peña
ok, i got my tapelibrary running again...
was my mistake, when i insert the new tape, can't see the driver with tape
where is slot empty, so driver-0 was imposible always to unload because
can't insert in the slot empty with the new :-), i remove the new, and
the arm unload ok the older,... so.. here can breath again :)
thanxs to all for help, and i guess this is the frequently for new. now
tapes is seeking spaces or something doing ...because status storage is
timeout to response, i guess the library is trying to doing jobs pending.
in any case if cont with other problems we see you again.. (i hope not)

c'y

-- 
Antonio Peña
Secure email with PGP 0x8B021001 available at http://pgp.mit.edu
Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001
--
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] Disaster Recovery Test

2012-09-25 Thread dweimer
Now that I have been running Bacula for several months, I was working 
on testing disaster recovery, just in case I need to.  I am a little 
lost though on what I need to do to get the database restored.  I am 
going on the assumption that All I will have is the off site data 
(hopefully not ever this bad as this is my home system).
I have a nightly admin job that kicks off a Python script on the server 
which creates a bzipped tar of my Bootstrap files, state files, and the 
server/client configuration files and emails that to my gmail account. 
So for my test I built a virtual machine (Original and test system 
running FreeBSD 9.0-RELEASE-p4), installed PostgreSQL, and Bacula, 
created the initial Bacula tables, restored the configuration, 
bootstrap, and state files from my emailed tar file.

Here's where things go a little wrong, I mount my external backup drive 
to the test server, launch bconsole, and issue the status command for 
the client, since I restored the state files, I can see the job ID of my 
last catalog Backup.  Then issue the run command, select restore, enter 
the job ID when prompted, and select mod, enter the bootstrap file from 
the catalog backup and start the job.

It returns pretty quick with Media record not found, so I am guessing I 
am missing a step that would load the volumes on my external backup 
drive to my new system before it can restore the catalog, from that 
volume, or am I missing something else?  Below is the output from the 
console messages on the restore attempt.


24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Start Restore Job 
RestoreFiles.2012-09-24_20.43.59_07
24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Using Device 
FileStorage
24-Sep 20:44 File JobId 1: Warning: acquire.c:208 Read acquire: Error 
getting Volume info: 1997 Volume BV37 not in catalog.
24-Sep 20:44 File JobId 1: Ready to read from volume BV37 on device 
FileStorage (/mnt/bacula/eSATA).
24-Sep 20:44 File JobId 1: Forward spacing Volume BV37 to file:block 
21:1319795790.
24-Sep 20:44 File JobId 1: End of Volume at file 21 on device 
FileStorage (/mnt/bacula/eSATA), Volume BV37
24-Sep 20:44 File JobId 1: End of all volumes.
24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Error: Unable to get 
Media record for Volume BV37: ERR=sql_get.c:1094 Media record for Volume 
BV37 not found.

24-Sep 20:44 File JobId 1: Fatal error: Error getting Volume info: 1991 
Catalog Request for vol=BV37 failed: 24-Sep 20:44 
bacula.dweimer.local-dir JobId 1: Error: Bacula bacula.dweimer.local-dir 
5.2.12 (12Sep12):
   Build OS:   amd64-portbld-freebsd9.0 freebsd 
9.0-RELEASE-p4
   JobId:  1
   Job:RestoreFiles.2012-09-24_20.43.59_07
   Restore Client: bacula.dweimer.local-fd
   Start time: 24-Sep-2012 20:44:01
   End time:   24-Sep-2012 20:44:25
   Files Expected: 0
   Files Restored: 1
   Bytes Restored: 562,544,754
   Rate:   23439.4 KB/s
   FD Errors:  1
   FD termination status:  OK
   SD termination status:  Error
   Termination:*** Restore Error ***

-- 
Thanks,
Dean E. Weimer
http://www.dweimer.net/

--
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] Bacula server for Windows

2012-09-25 Thread Milos Zupancic
Hi,

I have read somewhere that there used to be e Bacula Server for windows,
and that is was removed in later releases and that it is possible to
compile it yourself.
Did anyone try this with the current version of Bacula ?



Kind regards,
Milos Zupancic
--
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] Disaster Recovery Test

2012-09-25 Thread Carsten Jensen
On 2012-09-25 16:58, dweimer wrote:
 Now that I have been running Bacula for several months, I was working 
 on testing disaster recovery, just in case I need to.  I am a little 
 lost though on what I need to do to get the database restored.  I am 
 going on the assumption that All I will have is the off site data 
 (hopefully not ever this bad as this is my home system).
 I have a nightly admin job that kicks off a Python script on the server 
 which creates a bzipped tar of my Bootstrap files, state files, and the 
 server/client configuration files and emails that to my gmail account. 
 So for my test I built a virtual machine (Original and test system 
 running FreeBSD 9.0-RELEASE-p4), installed PostgreSQL, and Bacula, 
 created the initial Bacula tables, restored the configuration, 
 bootstrap, and state files from my emailed tar file.

 Here's where things go a little wrong, I mount my external backup drive 
 to the test server, launch bconsole, and issue the status command for 
 the client, since I restored the state files, I can see the job ID of my 
 last catalog Backup.  Then issue the run command, select restore, enter 
 the job ID when prompted, and select mod, enter the bootstrap file from 
 the catalog backup and start the job.

 It returns pretty quick with Media record not found, so I am guessing I 
 am missing a step that would load the volumes on my external backup 
 drive to my new system before it can restore the catalog, from that 
 volume, or am I missing something else?  Below is the output from the 
 console messages on the restore attempt.


 24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Start Restore Job 
 RestoreFiles.2012-09-24_20.43.59_07
 24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Using Device 
 FileStorage
 24-Sep 20:44 File JobId 1: Warning: acquire.c:208 Read acquire: Error 
 getting Volume info: 1997 Volume BV37 not in catalog.
 24-Sep 20:44 File JobId 1: Ready to read from volume BV37 on device 
 FileStorage (/mnt/bacula/eSATA).
 24-Sep 20:44 File JobId 1: Forward spacing Volume BV37 to file:block 
 21:1319795790.
 24-Sep 20:44 File JobId 1: End of Volume at file 21 on device 
 FileStorage (/mnt/bacula/eSATA), Volume BV37
 24-Sep 20:44 File JobId 1: End of all volumes.
 24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Error: Unable to get 
 Media record for Volume BV37: ERR=sql_get.c:1094 Media record for Volume 
 BV37 not found.

 24-Sep 20:44 File JobId 1: Fatal error: Error getting Volume info: 1991 
 Catalog Request for vol=BV37 failed: 24-Sep 20:44 
 bacula.dweimer.local-dir JobId 1: Error: Bacula bacula.dweimer.local-dir 
 5.2.12 (12Sep12):
Build OS:   amd64-portbld-freebsd9.0 freebsd 
 9.0-RELEASE-p4
JobId:  1
Job:RestoreFiles.2012-09-24_20.43.59_07
Restore Client: bacula.dweimer.local-fd
Start time: 24-Sep-2012 20:44:01
End time:   24-Sep-2012 20:44:25
Files Expected: 0
Files Restored: 1
Bytes Restored: 562,544,754
Rate:   23439.4 KB/s
FD Errors:  1
FD termination status:  OK
SD termination status:  Error
Termination:*** Restore Error ***

You might want to take a look at the bscan command.
as far as I understand it, it reads the tape catalog, and stores it in
the db
after doing this, you can restore files, like you would normally.

this is one way to do it atleast :-)




--
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] Disaster Recovery Test

2012-09-25 Thread lst_hoe02

Zitat von dweimer dwei...@dweimer.net:

 Now that I have been running Bacula for several months, I was working
 on testing disaster recovery, just in case I need to.  I am a little
 lost though on what I need to do to get the database restored.  I am
 going on the assumption that All I will have is the off site data
 (hopefully not ever this bad as this is my home system).
 I have a nightly admin job that kicks off a Python script on the server
 which creates a bzipped tar of my Bootstrap files, state files, and the
 server/client configuration files and emails that to my gmail account.
 So for my test I built a virtual machine (Original and test system
 running FreeBSD 9.0-RELEASE-p4), installed PostgreSQL, and Bacula,
 created the initial Bacula tables, restored the configuration,
 bootstrap, and state files from my emailed tar file.

 Here's where things go a little wrong, I mount my external backup drive
 to the test server, launch bconsole, and issue the status command for
 the client, since I restored the state files, I can see the job ID of my
 last catalog Backup.  Then issue the run command, select restore, enter
 the job ID when prompted, and select mod, enter the bootstrap file from
 the catalog backup and start the job.

Hello

I have myself not fully tested disaster recovery but as far as i know  
you need a valid bootstrap from your catalog (database) backup. With  
this you can first recover the catalog backup (ASCII dump) and then  
use the tools provided for you database to import this dump. After  
that you are up and running to restore from your volumes. If you don't  
have a recent catalog backup you might use bscan to create needed  
records by scanning your volumes.

Restore a bootstrap file is explained here:
http://www.bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION002914

Regards

Andreas





--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Stephen Thompson



Thanks everyone for the suggestions, they at least give me somewhere to 
look, as I was running low on ideas.


More info...

The tape in question have only been used once or twice.

The library is a StorageTek whose SLConsole reports no media (or drive) 
errors, though I will look into those linux-based tools.

Our Sun/Oracle service engineer claims that our drives do not require 
cleaning tapes.  Does that sound legit?

Our throughput is pretty reasonable for our hardware -- we do use disk 
staging and get something like 60Mb/s to tape.

Lastly, the tapes that get 200 vs 800 are from the same batch of tapes, 
same number of uses, and used by the same pair of SL500 drives.  That's 
primarily why I wondered if it could be data dependent (or a bacula bug).


thanks!
Stephen


On 09/25/12 02:29, Cejka Rudolf wrote:
 We've been using LTO3 tapes with bacula for a few years now.  Recently I've
 noticed how variable our tape capacity it, ranging from 200-800 Gb.
Is that strictly governed by the compressibility of the actual data being
 backed up?

 Hello,
the lower bound 200 GB on 400 GB LTO-3 tapes is not possible due
 to the drive compression, because it always compares, if compressed
 data are shorter that original. In other case, it writes data uncompressed.
 So, in all cases, you should see atleast 400 000 000 000 bytes written
 on all tapes.

 Or is there some chance that bacula isn't squeezing as much
 onto my tapes as I would expect? 200Gb is not very much!

 In bacula, look mainly for the reasons, why there is just 200 GB written.
 If the tape is full, think about these:

 - Weared tapes. Typical tape service life is written as 200 full cycles.
However, read
http://www.xma4govt.co.uk/Libraries/Manufacturer/ultriumwhitepaper_EEE.sflb
where they experienced problems with some tapes just only after
30 cycles! How many cycles could you have with your tapes?

 - Do you use disk staging, so that tape writes are done at full speed?
Do you have a good disk staging? Considering using SSDs for staging
is very wise. If data rate is lower that 1/3 to 1/2 of native tape
speed (based on drive vendor, HP or IBM), then drive has to perform
tape repositions, which means another important excessive drive and
tape wearing.

My experiences are, that even HW RAID-0 with four 10k disks could not
be sufficient and when there are data writes and reads in parallel,
it could not put 80 MB/s to the drive, typically just 50-70 MB/s,
which is still acceptable for LTO-3, but not good.

Currently, I have 4 x 450 GB SSDs HW RAID-0 with over 1500 GB/s without
problem running writes and reads in parallel and just after that I hope
that it is really sufficient for = LTO-3 staging and putting drives and
tapes wearing to minimum.

 - Dirty heads. You can enforce cleaning cycle, but then return to the
two points above and other suggestiong, like using some monitoring
like ltt on Linux (or I have some home made reporting tool using
camcontrol on FreeBSD), where it would be possible to ensure, that
your problem are weared tapes, or something else.

 Best regards.



-- 
Stephen Thompson   Berkeley Seismological Laboratory
step...@seismo.berkeley.edu215 McCone Hall # 4760
404.538.7077 (phone)   University of California, Berkeley
510.643.5811 (fax) Berkeley, CA 94720-4760

--
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] Disaster Recovery Test

2012-09-25 Thread Josh Fisher

On 9/25/2012 12:39 PM, lst_ho...@kwsoft.de wrote:
 Zitat von dweimer dwei...@dweimer.net:

 ...

 Here's where things go a little wrong, I mount my external backup drive
 to the test server, launch bconsole, and issue the status command for
 the client, since I restored the state files, I can see the job ID of my
 last catalog Backup.  Then issue the run command, select restore, enter
 the job ID when prompted, and select mod, enter the bootstrap file from
 the catalog backup and start the job.
 Hello

 I have myself not fully tested disaster recovery but as far as i know
 you need a valid bootstrap from your catalog (database) backup. With
 this you can first recover the catalog backup (ASCII dump) and then
 use the tools provided for you database to import this dump. After
 that you are up and running to restore from your volumes. If you don't
 have a recent catalog backup you might use bscan to create needed
 records by scanning your volumes.

I find it much easier to just manually save a bzip'd copy of the sql 
dump file. A daily admin job copies the sql dump file via NFS to another 
server and is used to restore the database in the even that the server 
running bacula-dir dies. For a true disaster resulting in the loss of 
all servers, I manually backup a copy of the sql dump file that gets 
stored along with the offsite backup media in a bank safe deposit box.


--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Alan Brown
On 25/09/12 17:43, Stephen Thompson wrote:
 Our Sun/Oracle service engineer claims that our drives do not require
 cleaning tapes.  Does that sound legit?

In general: true (as in, Don't do it as a scheduled item), but all LTO 
drives require cleaning tapes from time to time and sometimes benefit 
from loading one even if the clean light isn't on. It primarily 
depends on the cleanliness of the room where the drive is.

 Our throughput is pretty reasonable for our hardware -- we do use disk
 staging and get something like 60Mb/s to tape.

60Mb/s is _slow_ for LTO3. You need to take a serious look at what 
you're using as stage disk and consider using a raid0 array of SSDs in 
order to keep up.

 Lastly, the tapes that get 200 vs 800 are from the same batch of tapes,
same number of uses, and used by the same pair of SL500 drives.  That's
primarily why I wondered if it could be data dependent (or a bacula bug).


What happens if you mark the volumes as append and put them back in 
the library?

I've seen transient scsi errors result in tapes being marked as full.

What does smartctl show for the drive and tape in question? (run this 
against the /dev/sg of the tape drive)





--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Clark, Patricia A.
On 9/25/12 12:43 PM, Stephen Thompson step...@seismo.berkeley.edu
wrote:





Thanks everyone for the suggestions, they at least give me somewhere to
look, as I was running low on ideas.


More info...

The tape in question have only been used once or twice.

The library is a StorageTek whose SLConsole reports no media (or drive)
errors, though I will look into those linux-based tools.

Our Sun/Oracle service engineer claims that our drives do not require
cleaning tapes.  Does that sound legit?

Our throughput is pretty reasonable for our hardware -- we do use disk
staging and get something like 60Mb/s to tape.

Lastly, the tapes that get 200 vs 800 are from the same batch of tapes,
same number of uses, and used by the same pair of SL500 drives.  That's
primarily why I wondered if it could be data dependent (or a bacula bug).


thanks!
Stephen

I've found LTO drives of any variety rarely need cleaning.  I've found
that one cleaning tape will usually be sufficient for the life of a
library.  Your field support may very well be right.

Patti Clark
Linux Administrator
Research and Development Systems Support Oak Ridge National Laboratory







--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Stephen Thompson
On 09/25/2012 10:43 AM, Alan Brown wrote:
 On 25/09/12 17:43, Stephen Thompson wrote:
 Our Sun/Oracle service engineer claims that our drives do not require
 cleaning tapes.  Does that sound legit?

 In general: true (as in, Don't do it as a scheduled item), but all LTO
 drives require cleaning tapes from time to time and sometimes benefit
 from loading one even if the clean light isn't on. It primarily
 depends on the cleanliness of the room where the drive is.

 Our throughput is pretty reasonable for our hardware -- we do use disk
 staging and get something like 60Mb/s to tape.

 60Mb/s is _slow_ for LTO3. You need to take a serious look at what
 you're using as stage disk and consider using a raid0 array of SSDs in
 order to keep up.


Why do you say that's slow when the max speed appears to be 80?

http://en.wikipedia.org/wiki/Linear_Tape-Open




 Lastly, the tapes that get 200 vs 800 are from the same batch of tapes,
 same number of uses, and used by the same pair of SL500 drives.  That's
 primarily why I wondered if it could be data dependent (or a bacula bug).


 What happens if you mark the volumes as append and put them back in
 the library?

 I've seen transient scsi errors result in tapes being marked as full.

 What does smartctl show for the drive and tape in question? (run this
 against the /dev/sg of the tape drive)





-- 
Stephen Thompson   Berkeley Seismological Laboratory
step...@seismo.berkeley.edu215 McCone Hall # 4760
404.538.7077 (phone)   University of California, Berkeley
510.643.5811 (fax) Berkeley, CA 94720-4760

--
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] Disaster Recovery Test

2012-09-25 Thread dweimer
On 2012-09-25 11:39, lst_ho...@kwsoft.de wrote:
 Zitat von dweimer dwei...@dweimer.net:

 Now that I have been running Bacula for several months, I was 
 working
 on testing disaster recovery, just in case I need to.  I am a little
 lost though on what I need to do to get the database restored.  I am
 going on the assumption that All I will have is the off site data
 (hopefully not ever this bad as this is my home system).
 I have a nightly admin job that kicks off a Python script on the 
 server
 which creates a bzipped tar of my Bootstrap files, state files, and 
 the
 server/client configuration files and emails that to my gmail 
 account.
 So for my test I built a virtual machine (Original and test system
 running FreeBSD 9.0-RELEASE-p4), installed PostgreSQL, and Bacula,
 created the initial Bacula tables, restored the configuration,
 bootstrap, and state files from my emailed tar file.

 Here's where things go a little wrong, I mount my external backup 
 drive
 to the test server, launch bconsole, and issue the status command 
 for
 the client, since I restored the state files, I can see the job ID 
 of my
 last catalog Backup.  Then issue the run command, select restore, 
 enter
 the job ID when prompted, and select mod, enter the bootstrap file 
 from
 the catalog backup and start the job.

 Hello

 I have myself not fully tested disaster recovery but as far as i know
 you need a valid bootstrap from your catalog (database) backup. With
 this you can first recover the catalog backup (ASCII dump) and then
 use the tools provided for you database to import this dump. After
 that you are up and running to restore from your volumes. If you 
 don't
 have a recent catalog backup you might use bscan to create needed
 records by scanning your volumes.

 Restore a bootstrap file is explained here:
 
 http://www.bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION002914


After reading this over again for the hundredth time give or take a few 
times, I finally figured it out, if you keep going through the console 
log, it did actually restore a file despite the fatal error messages

local-dir 5.2.12 (12Sep12):
   Build OS:   amd64-portbld-freebsd9.0 freebsd 
9.0-RELEASE-p4
   JobId:  1
   Job:RestoreFiles.2012-09-24_20.43.59_07
   Restore Client: bacula.dweimer.local-fd
   Start time: 24-Sep-2012 20:44:01
   End time:   24-Sep-2012 20:44:25
   Files Expected: 0
   Files Restored: 1
   Bytes Restored: 562,544,754
   Rate:   23439.4 KB/s
   FD Errors:  1
   FD termination status:  OK
   SD termination status:  Error
   Termination:*** Restore Error ***

24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Begin pruning Jobs older 
than 20 days .
24-Sep 20:44 bacula.dweimer.local-dir JobId 1: No Jobs found to prune.
24-Sep 20:44 bacula.dweimer.local-dir JobId 1: Begin pruning Files.
24-Sep 20:44 bacula.dweimer.local-dir JobId 1: No Files found to prune.
24-Sep 20:44 bacula.dweimer.local-dir JobId 1: End auto prune.

I was not actually paying attention and processing this part of the 
page:

You will then need to follow the instructions for your database type to 
recreate the database from the ASCII backup file. See the Catalog 
MaintenanceCatMaintenanceChapter chapter of this manual for examples of 
the command needed to restore a database from an ASCII dump (they are 
shown in the Compacting Your XXX Database sections).

However if the job didn't give me a fatal error I might have looked on 
more since this was after the restore job information, when I checked 
the /tmp/bacula-restore folder, sure enough under a few more folders was 
the SQL dump of the database.  When I got to the fatal error in the 
restore console log, I just started back over at the top, thinking I 
missed something along the way, instead of looking farther to see if 
there was something after that part that still needed done, despite 
having the error message.

-- 
Thanks,
Dean E. Weimer
http://www.dweimer.net/

--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Stephen Thompson
On 09/25/2012 11:17 AM, Konstantin Khomoutov wrote:
 On Tue, 25 Sep 2012 11:00:07 -0700
 Stephen Thompson step...@seismo.berkeley.edu wrote:

 60Mb/s is _slow_ for LTO3. You need to take a serious look at what
 you're using as stage disk and consider using a raid0 array of SSDs
 in order to keep up.
 Why do you say that's slow when the max speed appears to be 80?
 http://en.wikipedia.org/wiki/Linear_Tape-Open
 It's quite logical, that to not starve the consumer, the producer
 should be at least as fast or faster, so you have to provide at least
 80 Mb/s sustained read rate from your spooling media to be sure the
 tape drive is kept busy.


No, I mean, there's slow and there's __SLOW__.  He seemed to be 
indicating that it was unacceptably slow.  I understand it's not optimal.

Stephen
-- 
Stephen Thompson   Berkeley Seismological Laboratory
step...@seismo.berkeley.edu215 McCone Hall # 4760
404.538.7077 (phone)   University of California, Berkeley
510.643.5811 (fax) Berkeley, CA 94720-4760

--
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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Jon Detert
Hello,

I'm new to bacula.  I have a Pool that was set to 50GB in size.  It's full now. 
 I'd like to increase it's size now.
I tried simply changing the 'Maximum Volume Bytes' attribute, and, in 
succession, a reload, force-reload, and restart of the bacula-dir service, and 
then also the bacula-sd service.  However, the bat still reports the Pool as 
the original size.  How can I change it?

Here is the pool definition in it's entirety, in case that helps:

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
}


Thanks,
-- 
Jon Detert
Sr. Systems Administrator
Infinity Healthcare
Milwaukee, Wisconsin
414-290-6759

--
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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Rodrigo Abrantes Antunes

Hi, you need to manually change the maximum volume bytes fot the volume
using the command update in bconsole. The values defined in the Pool
Resource have effect only in new volumes.

   Citando Jon Detert jdet...@infinityhealthcare.com:

Hello,

  I'm new to bacula.  I have a Pool that was set to 50GB in size.   
It's full now.  I'd like to increase it's size now.
  I tried simply changing the 'Maximum Volume Bytes' attribute, and,  
in succession, a reload, force-reload, and restart of the bacula-dir  
service, and then also the bacula-sd service.  However, the bat  
still reports the Pool as the original size.  How can I change it?


  Here is the pool definition in it's entirety, in case that helps:

  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
  }


  Thanks,
  --
  Jon Detert
  Sr. Systems Administrator
  Infinity Healthcare
  Milwaukee, Wisconsin
  414-290-6759

   
--

  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.nethttps://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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread John Drescher
On Tue, Sep 25, 2012 at 2:14 PM, Jon Detert
jdet...@infinityhealthcare.com wrote:
 Hello,

 I'm new to bacula.  I have a Pool that was set to 50GB in size.  It's full 
 now.  I'd like to increase it's size now.
 I tried simply changing the 'Maximum Volume Bytes' attribute, and, in 
 succession, a reload, force-reload, and restart of the bacula-dir service, 
 and then also the bacula-sd service.  However, the bat still reports the Pool 
 as the original size.  How can I change it?


In bconsole

update pool from resource

then

update all volumes in pool

and follow the prompts in both cases.

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] LTO3 tape capacity (variable?)

2012-09-25 Thread lst_hoe02

Zitat von Stephen Thompson step...@seismo.berkeley.edu:

 On 09/25/2012 10:43 AM, Alan Brown wrote:
 On 25/09/12 17:43, Stephen Thompson wrote:
 Our Sun/Oracle service engineer claims that our drives do not require
 cleaning tapes.  Does that sound legit?

 In general: true (as in, Don't do it as a scheduled item), but all LTO
 drives require cleaning tapes from time to time and sometimes benefit
 from loading one even if the clean light isn't on. It primarily
 depends on the cleanliness of the room where the drive is.

 Our throughput is pretty reasonable for our hardware -- we do use disk
 staging and get something like 60Mb/s to tape.

 60Mb/s is _slow_ for LTO3. You need to take a serious look at what
 you're using as stage disk and consider using a raid0 array of SSDs in
 order to keep up.


 Why do you say that's slow when the max speed appears to be 80?

 http://en.wikipedia.org/wiki/Linear_Tape-Open


The maximum *native* speed with uncompressed data is 80Mb/s. As the  
drives do compression to get more data to the tape the speed to  
deliver data must be higher. If you use the optimistic 2:1 compression  
from marketing your tape drive is actually crawling with 30Mb/s which  
is not even 50% of the native speed.
If you suspekt bacula bug you can still use dd to fill the tape and  
see what you get in speed/capacity.

Regards

Andreas



--
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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Diego Rubert
At bconsole:
*update pool=File
*update
Choose catalog item to update (1-4): 1
Select parameter to modify (1-18): 13
Select Pool resource (1-5): SELECT THE NUMBER OF YOUR POOL

However, probably you'll not be able to append data on Full volumes 
until you Recycle them. Don't know if you manually set them to Append 
status works...

Regards,

--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


Em 25-09-2012 14:14, Jon Detert escreveu:
 Hello,

 I'm new to bacula.  I have a Pool that was set to 50GB in size.  It's full 
 now.  I'd like to increase it's size now.
 I tried simply changing the 'Maximum Volume Bytes' attribute, and, in 
 succession, a reload, force-reload, and restart of the bacula-dir service, 
 and then also the bacula-sd service.  However, the bat still reports the Pool 
 as the original size.  How can I change it?

 Here is the pool definition in it's entirety, in case that helps:

 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
 }


 Thanks,

--
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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Jon Detert
- Original Message -
 From: Rodrigo Abrantes Antunes rodrigoantu...@pelotas.ifsul.edu.br
 To: bacula-users@lists.sourceforge.net
 Sent: Tuesday, September 25, 2012 1:57:29 PM
 Subject: Re: [Bacula-users] How to change Maximum Volume size in Pool 
 definition?
 
 
 
 
 Hi, you need to manually change the maximum volume bytes fot the
 volume using the command update in bconsole. The values defined in
 the Pool Resource have effect only in new volumes.


That explains what I observed.  Thanks.

--
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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Jon Detert
- Original Message -
 From: Diego Rubert dprub...@prms.mpf.gov.br
 To: bacula-users@lists.sourceforge.net
 Sent: Tuesday, September 25, 2012 2:07:42 PM
 Subject: Re: [Bacula-users] How to change Maximum Volume size in Pool 
 definition?
 
 At bconsole:
 *update pool=File
 *update
 Choose catalog item to update (1-4): 1
 Select parameter to modify (1-18): 13
 Select Pool resource (1-5): SELECT THE NUMBER OF YOUR POOL
 
 However, probably you'll not be able to append data on Full volumes
 until you Recycle them. Don't know if you manually set them to Append
 status works...

I think you are correct.  Even though I increased the Maximum Size, the existing
Volume still was reported as 'Full'.  I didn't try to manually set it to
Append status.  Instead, I added another volume, which I assume will be able to
grow to the increased Maximum Size I set.

Thanks,

JOn

--
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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread John Drescher
On Tue, Sep 25, 2012 at 4:32 PM, Jon Detert
jdet...@infinityhealthcare.com wrote:
 - Original Message -
 From: Diego Rubert dprub...@prms.mpf.gov.br
 To: bacula-users@lists.sourceforge.net
 Sent: Tuesday, September 25, 2012 2:07:42 PM
 Subject: Re: [Bacula-users] How to change Maximum Volume size in Pool 
 definition?

 At bconsole:
 *update pool=File
 *update
 Choose catalog item to update (1-4): 1
 Select parameter to modify (1-18): 13
 Select Pool resource (1-5): SELECT THE NUMBER OF YOUR POOL

 However, probably you'll not be able to append data on Full volumes
 until you Recycle them. Don't know if you manually set them to Append
 status works...

 I think you are correct.  Even though I increased the Maximum Size, the 
 existing
 Volume still was reported as 'Full'.  I didn't try to manually set it to
 Append status.  Instead, I added another volume, which I assume will be able 
 to
 grow to the increased Maximum Size I set.


The volumes are set to Full in the database. This will not be
reevalunated on the change of max size however the next time these
volumes recycle they will get the new size.

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] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Diego Rubert
Em 25-09-2012 16:32, Jon Detert escreveu:
 - Original Message -
 From: Diego Rubertdprub...@prms.mpf.gov.br
 To: bacula-users@lists.sourceforge.net
 Sent: Tuesday, September 25, 2012 2:07:42 PM
 Subject: Re: [Bacula-users] How to change Maximum Volume size in Pool
 definition?

 At bconsole:
 *update pool=File
 *update
 Choose catalog item to update (1-4): 1
 Select parameter to modify (1-18): 13
 Select Pool resource (1-5):SELECT THE NUMBER OF YOUR POOL

 However, probably you'll not be able to append data on Full volumes
 until you Recycle them. Don't know if you manually set them to Append
 status works...
 I think you are correct.  Even though I increased the Maximum Size, the 
 existing
 Volume still was reported as 'Full'.  I didn't try to manually set it to
 Append status.  Instead, I added another volume, which I assume will be able 
 to
 grow to the increased Maximum Size I set.

 Thanks,

 JOn

At bconsole, you can use:
*llist volume=YOUR NEW VOLUME
to check its MaxVolBytes

Diego

--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread Cejka Rudolf
Stephen Thompson wrote (2012/09/25):
 The tape in question have only been used once or twice.

Do you mean just one or two drive loads and unloads?

 The library is a StorageTek whose SLConsole reports no media (or drive) 
 errors, though I will look into those linux-based tools.

There are several types of errors, recoverable and non-recoverable, and
I'm afraid that you see just non-recoverable, but it is too late to see
them.

 Our Sun/Oracle service engineer claims that our drives do not require 
 cleaning tapes.  Does that sound legit?

If you are interested, you can study
http://www.tarconis.com/documentos/LTO_Cleaning_wp.pdf ;o)
So in HP case, it is possible to agree. However, you still
have to have atleast one cleaning cartridge prepared ;o)

 Our throughput is pretty reasonable for our hardware -- we do use disk 
 staging and get something like 60Mb/s to tape.

HP LTO-3 drive can slow down physical speed to 27 MB/s, IBM LTO-3
to 40 MB/s. Native speed is 80 MB/s, bot all these speeds are after
compression. If you have 60 MB/s before compression and there are
some places with somewhat better compression than 2:1, then you are not
able to feed HP LTO-3. For IBM drive, it is suffucient to have places
with just 2:1 to need repositions.

 Lastly, the tapes that get 200 vs 800 are from the same batch of tapes, 
 same number of uses, and used by the same pair of SL500 drives.  That's 
 primarily why I wondered if it could be data dependent (or a bacula bug).

And what about the reason to switch to the next tape? Do you have something
like this in your reports?

22-Sep 02:22 backup-sd JobId 74990: End of Volume 1 at 95:46412 on device 
drive0 (/dev/nsa0). Write of 65536 bytes got 0.
22-Sep 02:22 backup-sd JobId 74990: Re-read of last block succeeded.
22-Sep 02:22 backup-sd JobId 74990: End of medium on Volume 1 
Bytes=381,238,317,056 Blocks=5,817,238 at 22-Sep-2012 02:22.

Do not you use something from the following things in bacula configuration?
UseVolumeOnce
Maximum Volume Jobs
Maximum Volume Bytes
Volume Use Duration
?

-- 
Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic

--
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] LTO3 tape capacity (variable?)

2012-09-25 Thread James Harper
 
 I've found LTO drives of any variety rarely need cleaning.  I've found that 
 one
 cleaning tape will usually be sufficient for the life of a library.  Your 
 field
 support may very well be right.
 

The drive has an internal cleaning mechanism that is activated on load 
http://en.wikipedia.org/wiki/Linear_Tape-Open#Cleaning which is normally enough 
to keep the heads clean.

In my experience, when the drive starts telling you it needs cleaning, it's 
probably failing.

James

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