[Bacula-users] Recommended version

2006-03-04 Thread David Raine
I have Bacula 1.38.2 throughout and need to backup and restore linux and 
Win32 machines. Is this version stable and able to restore to win32 and 
linux without issue? If not, what version should I move to for stability and 
safe operation?


Regards
David Raine

ps. Bacula helps me sleep better!




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


[Bacula-users] Device BLOCKED changing tapes

2005-12-08 Thread David Raine
I know this has been mentioned in the past, but I can't find anything other 
than Kern indicating that one should run through the tutorial (which I've 
done).


Bacula 1.38.2 on debian sarge, LTO-1 tape drive

When tape tape-0002 fills, I get a request to mount the next available 
volume (tape-0003, it is pre-labelled), I put tape-0003 in, wait a while 
then mount it. The mount succeeds but the backup does not continue. status 
stor gives this message:



Device status:
Device LTO-A (/dev/st0) open but no Bacula volume is mounted.
   Device is BLOCKED waiting for media.
   Total Bytes Read=0 Blocks Read=0 Bytes/block=0
   Positioned at File=0 Block=0


In Use Volume status:
tape-0003 on device LTO-A (/dev/st0)


Data spooling: 1 active jobs, 10,737,373,907 bytes; 27 total jobs, 
10,737,438,491 max bytes/job.

Attr spooling: 1 active jobs, 0 bytes; 27 total jobs, 41,456,838 max bytes.

What am I missing? I've tried re-mounting the tape a number of times, 
unmounting and then remounting does the same... Baffled, worked thru 
tutorial and still baffled.


Rgds
David




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO drive - End Of Volume error

2005-10-19 Thread David Raine

Thanks and apologies. I have now also joined the devel list.

Have also just completed my first full backup with bacula. Excellent - just 
what

is needed. Many thanks to all those involved with this top-class solution.



From: Arno Lehmann [EMAIL PROTECTED]
To: David Raine [EMAIL PROTECTED]
CC: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] LTO drive - End Of Volume error
Date: Wed, 19 Oct 2005 13:47:44 +0200

Hello,

On 19.10.2005 12:56, David Raine wrote:

Removing the following lines from line 497 of block.c, in 
write_block_to_dev() fixed the problem:


if (!do_dvd_size_checks(dcr)) {
 /* Error message already sent */
 return false;
}

Should this be prefixed with a check that a DVD is in use?


It looks like it should.

I forwarded your two messages to Nicolas Boichat, who should know more.

if you encounter more problems like these, or have more details to report, 
please send them to the bacula-devel list, too - after all, 1.37 is the 
development version, and such things are better discussed there.


Thanks for your report and analysis,

Arno


Regards
David



From: David Raine [EMAIL PROTECTED]
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] LTO drive - End Of Volume error
Date: Wed, 19 Oct 2005 11:48:57 +0100

I followed those steps but found no difference. Running btape with -d 999 
shows this curious message:


btape: dev.c:655 rewind_dev fd=3 LTO-A (/dev/st0)
btape: record.c:213 write_record_to_block() FI=0 SessId=0 Strm=0 
len=64412

rem=64488 remainder=0
btape: block.c:430 binbuf=64448 buf_len=64512
btape: block.c:816 Cannot get free space on the device ERR=.
btape: message.c:993 Enter Jmsg type=3
btape: message.c:565 Enter dispatch_msg type=3 msg=btape: btape Fatal 
error: End of Volume   at 0:0 on device LTO-A (/dev/st0) 
(part_size=0, free_space=0, free_space_errno=0, errmsg=).


I note that line 816 in block.c is within the function 
do_dvd_size_checks()... Does it think this tape is a DVD?


Regards
David


From: Kern Sibbald [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: bacula-users@lists.sourceforge.net
CC: David Raine [EMAIL PROTECTED], 
[EMAIL PROTECTED]

Subject: Re: [Bacula-users] LTO drive - End Of Volume error
Date: Wed, 19 Oct 2005 08:12:41 +0200

There is a tape testing chapter in the manual (use the development 
manual),

which gives if I remember right 9 steps for diagnosing tape problems ...


On Tuesday 18 October 2005 21:22, David Raine wrote:
 Good thought...

 OK - I have a new box of tapes and it gives the same error on three 
that

 I've tried from that box, too. Is there a way to get more info on the
 error? Am happy to compile with debug if that would help identify the
 cause...

 Regards
 David

 From: Phil Stracchino [EMAIL PROTECTED]
 To: David Raine [EMAIL PROTECTED]
 CC: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] LTO drive - End Of Volume error
 Date: Tue, 18 Oct 2005 14:45:55 -0400
 
 David Raine wrote:
   Phil,
  
   Thanks for the response and the useful info. Sadly, the error
 
 persists...
 
 Is it consistent across multiple tapes?
 
 
 --
   Phil Stracchino   [EMAIL PROTECTED]
  Renaissance Man, Unix generalist, Perl hacker
   Mobile: 603-216-7037 Landline: 603-886-3518

 ---
 This SF.Net email is sponsored by:
 Power Architecture Resource Center: Free content, downloads, 
discussions,

 and more. http://solutions.newsforge.com/ibmarch.tmpl
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users






---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users






---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

[Bacula-users] LTO drive - End Of Volume error

2005-10-18 Thread David Raine

Hi list,

Am totally new to bacula and have installed v1.37.41 from CVS. When I use 
the btape command and try to run test I get this message immediately and 
no other tests are performed. :


then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

18-Oct 14:58 btape: btape Fatal error: End of Volume  at 0:0 on device 
LTO-A (/dev/st0)

  (part_size=0,free_space=0, free_space_errno=0, errmsg=).
btape: btape.c:791 Error writing block to device.

The bacula-sd.conf device entry is shown below:

 Device {
Name = LTO-A
Media Type = LTO
Archive Device = /dev/st0
LabelMedia = yes;
Random Access = no;
AutomaticMount = yes;
RemovableMedia=yes;
AlwaysOpen = no;
}

The device is a Seagate LTO-1 drive. /proc/scsi/scsi lists it as:

Host: scsi6 Channel: 00 Id: 00 Lun: 01
   Vendor: SEAGATE  Model: ULTRIUM06242-XXX Rev: 1536
   Type:   Sequential-AccessANSI SCSI revision: 03

I have also tried various recommendations from the manual, such as setting
blksize to 0. There is a tape in the drive and I can write to it using tar.
mt, etc. I have also tried the Hardware end of file option in the device
entry with no change.

btape cap output is:

Configured device capabilities:
!EOF BSR BSF FSR FSF FASTFSF !BSFATEOM EOM REM !RACCESS AUTOMOUNT LABEL
!ANONVOLS  !ALWAYSOPEN MTIOCGET
Device status:
OPENED TAPE !LABEL MALLOC APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT
Device parameters:
Device name: /dev/st0
File=0 block=0
Min block=0 Max block=0
Status:
  Bacula status: file=0 block=0
  Device status: BOT ONLINE IM_REP_EN file=0 block=0
btape: btape.c:1759 Device status: 645. ERR=

Can anyone advise if there is something else I should be doing or anything 
else I can try?


Regards
David Raine




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO drive - End Of Volume error

2005-10-18 Thread David Raine

Phil,

Thanks for the response and the useful info. Sadly, the error persists...

Regards
David


 Am totally new to bacula and have installed v1.37.41 from CVS. When I
 use the btape command and try to run test I get this message
 immediately and no other tests are performed. :

 18-Oct 14:58 btape: btape Fatal error: End of Volume  at 0:0 on device
 LTO-A (/dev/st0)
   (part_size=0,free_space=0, free_space_errno=0, errmsg=).
 btape: btape.c:791 Error writing block to device.

 The bacula-sd.conf device entry is shown below:

  Device {
 Name = LTO-A
 Media Type = LTO
 Archive Device = /dev/st0
 LabelMedia = yes;
 Random Access = no;
 AutomaticMount = yes;
 RemovableMedia=yes;
 AlwaysOpen = no;
 }

 The device is a Seagate LTO-1 drive. /proc/scsi/scsi lists it as:

 Host: scsi6 Channel: 00 Id: 00 Lun: 01
Vendor: SEAGATE  Model: ULTRIUM06242-XXX Rev: 1536
Type:   Sequential-AccessANSI SCSI revision: 03

My new LTO1,
Host: scsi1 Channel: 00 Id: 08 Lun: 00
  Vendor: HP   Model: Ultrium 1-SCSI   Rev: E0AV
  Type:   Sequential-AccessANSI SCSI revision: 03

is working fine with this config:


Device {
  Name = Ultrium-LTO1
  Media Type = LTO1
  Archive Device = /dev/nst1
  Removable Media = yes
  RandomAccess = no
  Autochanger = no
  Backward Space Record = yes
  Automatic Mount = yes
  Offline On Unmount = yes
  Always Open = yes
  Close on Poll = yes
  Volume Poll Interval = 1m
}

and the following mt tweaks:

/etc/rc.d/rc.M:/bin/mt -f /dev/nst1 stsetoptions can-bsr
/etc/rc.d/rc.M:/bin/mt -f /dev/nst1 defblksize 0






---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO drive - End Of Volume error

2005-10-18 Thread David Raine

Good thought...

OK - I have a new box of tapes and it gives the same error on three that 
I've tried from that box, too. Is there a way to get more info on the error? 
Am happy to compile with debug if that would help identify the cause...


Regards
David


From: Phil Stracchino [EMAIL PROTECTED]
To: David Raine [EMAIL PROTECTED]
CC: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] LTO drive - End Of Volume error
Date: Tue, 18 Oct 2005 14:45:55 -0400

David Raine wrote:
 Phil,

 Thanks for the response and the useful info. Sadly, the error 
persists...


Is it consistent across multiple tapes?


--
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users