Re: [Bacula-users] solaris zfs

2008-01-10 Thread Ken Gunderson
On Tue, 09 Oct 2007 18:08:32 +0200
Attila Fülöp [EMAIL PROTECTED] wrote:

 Markus,
 
 Markus Goldberg wrote:
  Hi,
  what is the status of backing up Solaris-10-zfs-filesystems?
  
  Files seems to be backuped but i get the following error-message(s):
  Warning: backup.c:974 Error reading ACL of /export/mail/filename
 
 the problem is that the ACL interface changed from ufs (posix style)
 to zfs (NFSv4). Bacula can handle posix style ACL, but not the new
 NFSv4 ones. I have written code (for the 2.0 HEAD) which fully
 supports NFSv4 ACL on Solaris 10. The problem is, the code isn't
 tested well enough and I need to write regression tests for the ACL
 handling.
 
 Since we postponed the use of NFSv4 ACL in one of our projects, I
 cannot do this in working hours anymore. Well, actually I ended up
 programing NFSv4 ACL support in my spare time anyhow.
 
 If there is enough interest I could port the code to the current
 HEAD and start writing regression tests. A backport to 2.2.x
 shouldn't be a big problem then. The drawback is that my spare time
 is quite limited, so this may take a while.
 
 Just a few further notes: Unless you are using ACL on your zfs your
 data schould be save. You just have to live with the annoying error
 messages. You can check for this: find /zfs_mount_point -acl prints
 all files with ACL, ls -V file_with_acl show the associated ACL.

Curious if there is any update on this?  I'm thinking about using some
ZFS mounts and it would be nice to back them up via Bacula.

-- 
Best regards,

Ken Gunderson

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Incorrect InChanger Flags Bug??

2007-07-22 Thread Ken Gunderson
 volumes:

*list volumes
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Pool: Default
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   1 | NNE440L2   | Append|   1 | 145,588,875,264 |  146 |   
31,536,000 |   1 |1 | 1 | LTO-2 | 2007-07-22 01:36:16 |
|   2 | NNE441L2   | Append|   1 |  64,512 |0 |   
31,536,000 |   1 |2 | 1 | LTO-2 | -00-00 00:00:00 |
|   3 | NNE442L2   | Append|   1 |  64,512 |0 |   
31,536,000 |   1 |3 | 0 | LTO-2 | -00-00 00:00:00 |
+-++---+-+-+--+--+-+--+---+---+-+


Okay, slot 1 is in the drive and slot 3, wh/is now occupied by it's
tape has InChanger flag set to 0.  What's up with this?

7) Okay let's update slots:

*update slots
Automatically selected Storage: Autochanger
Connecting to Storage daemon Autochanger at hamlet:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 12 slots.
Connecting to Storage daemon Autochanger at hamlet:9103 ...
3306 Issuing autochanger list command.
Catalog record for Volume NNE441L2 updated to reference slot 2.
Catalog record for Volume NNE442L2 updated to reference slot 3.
Volume NNE443L2 not found in catalog. Slot=4 InChanger set to zero.
Volume NNE444L2 not found in catalog. Slot=5 InChanger set to zero.
Volume NNE445L2 not found in catalog. Slot=6 InChanger set to zero.
Volume NNE446L2 not found in catalog. Slot=7 InChanger set to zero.
Volume NNE447L2 not found in catalog. Slot=8 InChanger set to zero.
Volume NNE448L2 not found in catalog. Slot=9 InChanger set to zero.
Volume NNE449L2 not found in catalog. Slot=10 InChanger set to zero.
Volume NNE450L2 not found in catalog. Slot=11 InChanger set to zero.
Volume NNE451L2 not found in catalog. Slot=12 InChanger set to zero.

Now bacula knows slot 3's InChanger is set to 1.  But... apparently
slot 1's InChanger is set to 0

8) Run another backup job:

*run
A job name must be specified.
The defined Job resources are:
 1: Client1
 2: BackupCatalog
 3: RestoreFiles
Select Job resource (1-3): 1
Run Backup job
JobName:  Client1
Level:Full
Client:   hamlet-fd
FileSet:  Full Set
Pool: Default (From Job resource)
Storage:  Autochanger (From Job resource)
When: 2007-07-22 02:11:10
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=2
*messages
22-Jul 02:11 hamlet-dir: Start Backup JobId 2,
Job=Client1.2007-07-22_02.11.15 *messages
22-Jul 02:11 hamlet-sd: 3307 Issuing autochanger unload slot 1, drive
0 command. 22-Jul 02:12 hamlet-sd: 3304 Issuing autochanger load slot
2, drive 0 command.

Bacula thinks slot 1 tape is not InChanger, even though it's in drive,
and loads slot 2 tape

9) List volumes again to confirm Slot 1 InChanger flag status:

*list volumes
Pool: Default
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   1 | NNE440L2   | Append|   1 | 145,588,875,264 |  146 |   
31,536,000 |   1 |1 | 0 | LTO-2 | 2007-07-22 01:36:16 |
|   2 | NNE441L2   | Append|   1 |  64,512 |0 |   
31,536,000 |   1 |2 | 1 | LTO-2 | -00-00 00:00:00 |
|   3 | NNE442L2   | Append|   1 |  64,512 |0 |   
31,536,000 |   1 |3 | 1 | LTO-2 | -00-00 00:00:00 |
+-++---+-+-+--+--+-+--+---+---+-+



Any insights as to what is going on here?


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com

Re: [Bacula-users] btape test works;backup works;restore doesn't

2007-07-14 Thread Ken Gunderson
On Wed, 11 Jul 2007 17:11:05 -0500
Michael Hughes [EMAIL PROTECTED] wrote:

 On Tue, 10 Jul 2007 16:36:59 -0500
 Michael Hughes [EMAIL PROTECTED] wrote:
 
I have loaded Bacula 2.0.3 from source on my FreeBSD system.  I ran
  btape test and it passed all the tests.  Also ran the autoloader test
  and that passed.
[snip]
 
   Well I think I figured out what my problem was.  It turned out to be
 a SCSI cable problem.  I got to looking in the logs and found this
 error:
 
  /kernel: sym0: unexpected disconnect
 
   After doing some re-cabling, it start to work without any errors.  I
 don't understand why restore(8) was able to read from that drive and
 both dunp(8) and Bacula were able to write to the drive.

This doesn't seem to make any sense.  Would you elaborate on
re-cabling?  New cables, connected differently, different terminator,
or you just removed and reattached same, etc.?  Was there a reboot
thrown in there?  Maybe triggered a camcontrol reset??

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Invalid slot=0 defined, cannot autoload Volume

2007-07-13 Thread Ken Gunderson
Hello All:

Upon testing some restores I sometimes get messages like this:

Job queued. JobId=29
*messages
13-Jul 18:46 hamlet-sd: Invalid slot=0 defined, cannot autoload Volume.
13-Jul 18:46 hamlet-sd: Please mount Volume NNE440L2 on Storage
Device Drive-1 (/dev/nsa0) for Job RestoreFiles.2007-07-13_18.44.36


While others it works just fine - unmounts and remounts correct volume
as appropriate in autochanger no problem.


*list volumes
Pool: Default
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   1 | NNE440L2   | Full  |   1 | 738,356,097,024 |  743 |   
31,536,000 |   1 |1 | 1 | LTO-2 | 2007-07-12 16:33:17 |
|   2 | NNE441L2   | Full  |   1 | 861,623,175,168 |  873 |   
31,536,000 |   1 |2 | 0 | LTO-2 | 2007-07-12 12:24:09 |
|   3 | NNE442L2   | Append|   1 |  55,494,190,080 |   56 |   
31,536,000 |   1 |3 | 1 | LTO-2 | 2007-07-12 17:30:28 |
+-++---+-+-+--+--+-+--+---+---+-+

This is with fbsd, arcvault12, and rc-chio-changer.  rc-chio-changer
example usage says:


So slot=0 is indicative of empty drive?  But in this case slot 2 is
definitely loaded and slot 3 is what's needed to do the restore.

# ./rc-chio-changer /dev/ch0 loaded
2


Any ideas?

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] btape and bsr sd.conf tweaks

2007-07-11 Thread Ken Gunderson
On Wed, 11 Jul 2007 13:23:47 +0100
Martin Simmons [EMAIL PROTECTED] wrote:

  On Tue, 10 Jul 2007 18:15:06 -0600, Ken Gunderson said:
  
  On Tue, 10 Jul 2007 18:59:37 +0100
  Martin Simmons [EMAIL PROTECTED] wrote:
  
On Tue, 10 Jul 2007 09:10:24 -0600, Ken Gunderson said:

On Tue, 10 Jul 2007 11:12:35 +0100
Martin Simmons [EMAIL PROTECTED] wrote:

  On Mon, 9 Jul 2007 20:27:23 -0600, Ken Gunderson said:
  
  Greetings:
[snip]
  
  But is not the drive itself responsible for sending eom so that changer
  device knows it's time to swap tapes?
 
 Yes, but you said that the btape fill test worked, so that suggests eom
 handling is working.

Yes, it works with btape but wasn't when running actual backups.

 I don't think you ever posted any logs showing exactly what doesn't work!

Just kept writing and writing to same tape, well over 1TB of data to
LTO-2 drive.  Didn't bother testing any restores on these though.

 Also, does a backup load the correct tape at the start?

Yes.

Also, I think I've got it working now.  Testing now. Will know before
too long.

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] btape and bsr sd.conf tweaks

2007-07-10 Thread Ken Gunderson
On Tue, 10 Jul 2007 11:12:35 +0100
Martin Simmons [EMAIL PROTECTED] wrote:

  On Mon, 9 Jul 2007 20:27:23 -0600, Ken Gunderson said:
  
  Greetings:
  
  Since my baffled post I've been doing some testing w/various sd.conf
  tweaks.  btape results and fbsd ports message initially recommended:
  
  Due to lack of some features in the FreeBSD tape driver
  implementation you MUST add some OS dependent options to
  the bacula-sd.conf file:
  
Hardware End of Medium = no;
Backward Space Record  = no;
Backward Space File= no;
  
  With 2 filemarks at EOT (see man mt):
Fast Forward Space File = no;
BSF at EOM = yes;
TWO EOF= yes;
  
  
  While btape completes w/above no problem, from man mt it looks like FBSD
  supports bsr, however, and a few tests from command line seem to
  confirm so I trimmed sd.conf down thusly:
  
Hardware End of Medium = no;
Fast Forward Space File = no;
BSF at EOM = yes;
TWO EOF = yes;
  
  btape test completes fine and no longer recommend the bsr related
  tweaks.  Maybe they're not necessary and btape should be modified?
  Don't know about fill results yet - running now.  Hopefully I'll
  encounter the magic incantation to get my autochanger to actually
  change tapes...
 
 In the current Bacula tape driver, Backward Space Record is only used to
 verify that the last block has been written correctly when a tape gets full,
 it is not strictly necessary.  In addition, the setting of Backward Space File
 is ignored (bsf must work).
 
 You might be able to use these settings on some FBSD tape drives:
 
   Fast Forward Space File = yes
   BSF at EOM = no
   TWO EOF = no
 
 __Martin

Thanks. I know that it's optional and not needed.  But it seems btape's
suggestions regarding sd.conf tweaks may be a bit inconsistent depending
upon what flags are already set.

This is all a bit confusing on FBSD because per mtio man page various
calls referenced in sd.conf docs are supported, e.g. mtiocget, mtbsr,
mtfsf, etc.  Whether they're supported by SCSI device/driver remains
uncertain, as I don't know how to test.  In this case I'm using LSI
controller and mpt driver.  My assumption was that since btape said I
needed sd flags such as Backward Space Record, etc. that it did not.
But it looks like it does.  So I'm wondering whether the issue is with
btape erroneously reporting or the mpt driver.

To recap, btape and manual backups and restores work but Autochanger is
not changing tapes when it should so I suspected something was not
quite right in sd.conf.

To follow up, btape completed fine.  In this case drive is ARCVault12
w/LTO-2 Drive.  Drive in this one is an HP.  But since HP does no
longer make their own drives who knows...



-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] btape and bsr sd.conf tweaks

2007-07-10 Thread Ken Gunderson
On Tue, 10 Jul 2007 18:59:37 +0100
Martin Simmons [EMAIL PROTECTED] wrote:

  On Tue, 10 Jul 2007 09:10:24 -0600, Ken Gunderson said:
  
  On Tue, 10 Jul 2007 11:12:35 +0100
  Martin Simmons [EMAIL PROTECTED] wrote:
  
On Mon, 9 Jul 2007 20:27:23 -0600, Ken Gunderson said:

Greetings:

Since my baffled post I've been doing some testing w/various sd.conf
tweaks.  btape results and fbsd ports message initially recommended:

Due to lack of some features in the FreeBSD tape driver
implementation you MUST add some OS dependent options to
the bacula-sd.conf file:

  Hardware End of Medium = no;
  Backward Space Record  = no;
  Backward Space File= no;

With 2 filemarks at EOT (see man mt):
  Fast Forward Space File = no;
  BSF at EOM = yes;
  TWO EOF= yes;


While btape completes w/above no problem, from man mt it looks like FBSD
supports bsr, however, and a few tests from command line seem to
confirm so I trimmed sd.conf down thusly:

  Hardware End of Medium = no;
  Fast Forward Space File = no;
  BSF at EOM = yes;
  TWO EOF = yes;

btape test completes fine and no longer recommend the bsr related
tweaks.  Maybe they're not necessary and btape should be modified?
Don't know about fill results yet - running now.  Hopefully I'll
encounter the magic incantation to get my autochanger to actually
change tapes...
   
   In the current Bacula tape driver, Backward Space Record is only used to
   verify that the last block has been written correctly when a tape gets 
   full,
   it is not strictly necessary.  In addition, the setting of Backward Space 
   File
   is ignored (bsf must work).
   
   You might be able to use these settings on some FBSD tape drives:
   
 Fast Forward Space File = yes
 BSF at EOM = no
 TWO EOF = no
   
   __Martin
  
  Thanks. I know that it's optional and not needed.  But it seems btape's
  suggestions regarding sd.conf tweaks may be a bit inconsistent depending
  upon what flags are already set.
  
  This is all a bit confusing on FBSD because per mtio man page various
  calls referenced in sd.conf docs are supported, e.g. mtiocget, mtbsr,
  mtfsf, etc.  Whether they're supported by SCSI device/driver remains
  uncertain, as I don't know how to test.  In this case I'm using LSI
  controller and mpt driver.  My assumption was that since btape said I
  needed sd flags such as Backward Space Record, etc. that it did not.
  But it looks like it does.  So I'm wondering whether the issue is with
  btape erroneously reporting or the mpt driver.
  
  To recap, btape and manual backups and restores work but Autochanger is
  not changing tapes when it should so I suspected something was not
  quite right in sd.conf.
 
 AFAIK, problems with the mechanics of tape changing in the autochanger will
 not be affected by any of the mtio options.  The changer is a separate device
 with its own protocol.
 
 __Martin

But is not the drive itself responsible for sending eom so that changer
device knows it's time to swap tapes?

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] baffled - fbsd and arcvault12 issues

2007-07-09 Thread Ken Gunderson
On Mon, 9 Jul 2007 10:45:11 +0100 (BST)
Alan Brown [EMAIL PROTECTED] wrote:

 On Sun, 8 Jul 2007, Ken Gunderson wrote:
 
  I've got an Overland ARCvault12 w/single LTO-2 drive.  SCSI
  controller is an LSI using mpt driver (wh/seems to be a pos and not
  something i'd user again).  btape test and fill complete but when I
  run successive backups the tape never changes - same result w/both
  mtx-changer and rc-chio-changer.  Both scripts work correctly
  from command line.
 
 Try running them as the bacula user.
 
 9 out of 10 times this is a permissions problem.
 

Thanks for the suggestion.  The scripts are 0550 and root:bacula
so should run fine by bacula user.  Default install of fbsd bacula port
creates bacula user with nologin shell so one cannot simply su to
bacula.  Replacing with a login shell the scripts run fine from command
line as bacula user.

Yesterday I did an mt erase on the tapes in first two slots and reran
btape tests.  btape reports:

Wrote blk_block=316, dev_blk_num=8500 VolBytes=203,857,855,488
rate=19650.8 KB/s 09-Jul 05:38 btape: End of Volume TestVolume1 at
296:10032 on device Drive-1 (/dev/nsa0). Write of 64512 bytes got 0.
btape: btape.c:2343 Last block at: 296:10031 this_dev_block_num=10032
btape: btape.c:2377 End of tape 298:0. VolumeCapacity=203,956,687,872.
Write rate = 19639.5 KB/s 09-Jul 05:38 btape: End of medium on Volume
TestVolume1 Bytes=203,956,687,872 Blocks=3,161,531 at 09-Jul-2007
05:38. 09-Jul 05:39 btape: 3307 Issuing autochanger unload slot 1,
drive 0 command. 09-Jul 05:40 btape: 3304 Issuing autochanger load
slot 2, drive 0 command. 09-Jul 05:41 btape: 3305 Autochanger load
slot 2, drive 0, status is OK. 09-Jul 05:41 btape: 3301 Issuing
autochanger loaded? drive 0 command. 09-Jul 05:41 btape: 3302
Autochanger loaded? drive 0, result is Slot 2. 09-Jul 05:41 btape:
Fatal Error at dev.c:1670 because: dev.c:1669 Attempt to WEOF on
non-appendable Volume 09-Jul 05:41 btape: 3301 Issuing autochanger
loaded? drive 0 command. 09-Jul 05:41 btape: 3302 Autochanger
loaded? drive 0, result is Slot 2. Wrote Volume label for volume
TestVolume2. 09-Jul 05:41 btape: Wrote label to prelabeled Volume
TestVolume2 on device Drive-1 (/dev/nsa0) 09-Jul 05:41 btape: New
volume TestVolume2 mounted on device Drive-1 (/dev/nsa0) at
09-Jul-2007 05:41. Done writing 0 records ... Wrote End of Session
label. Wrote state file last_block_num1=10031 last_block_num2=11


05:41:37 Done filling tapes at 0:13. Now beginning re-read of first
tape ... 09-Jul 05:41 btape: 3307 Issuing autochanger unload slot 2,
drive 0 command. 09-Jul 05:42 btape: 3304 Issuing autochanger load
slot 1, drive 0 command. 09-Jul 05:43 btape: 3305 Autochanger load
slot 1, drive 0, status is OK. 09-Jul 05:43 btape: 3301 Issuing
autochanger loaded? drive 0 command. 09-Jul 05:43 btape: 3302
Autochanger loaded? drive 0, result is Slot 1. 09-Jul 05:43 btape:
Ready to read from volume TestVolume1 on device
Drive-1 (/dev/nsa0). Rewinding. Reading the first 1 records from
0:0. 1 records read now at 1:5084
Reposition from 1:5084 to 296:10031
Reading block 10031.

The last block of the first tape matches.

09-Jul 08:25 btape: 3307 Issuing autochanger unload slot 1, drive 0
command. 09-Jul 08:27 btape: 3304 Issuing autochanger load slot 2,
drive 0 command. 09-Jul 08:28 btape: 3305 Autochanger load slot 2,
drive 0, status is OK. 09-Jul 08:28 btape: 3301 Issuing autochanger
loaded? drive 0 command. 09-Jul 08:28 btape: 3302 Autochanger
loaded? drive 0, result is Slot 2. 09-Jul 08:28 btape: Ready to read
from volume TestVolume2 on device Drive-1 (/dev/nsa0). Reposition
from 0:0 to 0:1 Reading block 1.

The first block on the second tape matches.

Reposition from 0:2 to 0:11
Reading block 11.

The last block on the second tape matches. Test succeeded.

Why the Fatal Error at dev.c:1670 because: dev.c:1669 Attempt to WEOF
on non-appendable Volume?  mt erase should have erased any previous
label params, no?  

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] baffled - fbsd and arcvault12 issues

2007-07-09 Thread Ken Gunderson
On Mon, 9 Jul 2007 10:45:11 +0100 (BST)
Alan Brown [EMAIL PROTECTED] wrote:

 On Sun, 8 Jul 2007, Ken Gunderson wrote:
 
  I've got an Overland ARCvault12 w/single LTO-2 drive.  SCSI
  controller is an LSI using mpt driver (wh/seems to be a pos and not
  something i'd user again).  btape test and fill complete but when I
  run successive backups the tape never changes - same result w/both
  mtx-changer and rc-chio-changer.  Both scripts work correctly
  from command line.
 
 Try running them as the bacula user.
 
 9 out of 10 times this is a permissions problem.
 

Sorry to follow up twice but one more thing here.  Any ideas why btape
fill is writing only 200GB when hardware compression is turned on?

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] btape and bsr sd.conf tweaks

2007-07-09 Thread Ken Gunderson
Greetings:

Since my baffled post I've been doing some testing w/various sd.conf
tweaks.  btape results and fbsd ports message initially recommended:

Due to lack of some features in the FreeBSD tape driver
implementation you MUST add some OS dependent options to
the bacula-sd.conf file:

  Hardware End of Medium = no;
  Backward Space Record  = no;
  Backward Space File= no;

With 2 filemarks at EOT (see man mt):
  Fast Forward Space File = no;
  BSF at EOM = yes;
  TWO EOF= yes;


While btape completes w/above no problem, from man mt it looks like FBSD
supports bsr, however, and a few tests from command line seem to
confirm so I trimmed sd.conf down thusly:

  Hardware End of Medium = no;
  Fast Forward Space File = no;
  BSF at EOM = yes;
  TWO EOF = yes;

btape test completes fine and no longer recommend the bsr related
tweaks.  Maybe they're not necessary and btape should be modified?
Don't know about fill results yet - running now.  Hopefully I'll
encounter the magic incantation to get my autochanger to actually
change tapes...

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] baffled - fbsd and arcvault12 issues

2007-07-08 Thread Ken Gunderson
-freebsd6.2] Copyright (C) 2002-6
Bruce Allen Home page is http://smartmontools.sourceforge.net/

Device: HP   Ultrium 2-SCSI   Version: S33H
(pass0:mpt0:0:1:0): MODE SENSE(06). CDB: 1a 0 1c 0 40 0 
(pass0:mpt0:0:1:0): CAM Status: SCSI Status Error
(pass0:mpt0:0:1:0): SCSI Status: Check Condition
(pass0:mpt0:0:1:0): UNIT ATTENTION asc:28,0
(pass0:mpt0:0:1:0): Not ready to ready change, medium may have changed
Serial number: HU10642DJ0
Device type: tape
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Sun Jul  8 15:20:33 2007 EDT
TapeAlert Supported
TapeAlert: OK

Current Drive Temperature: 44 C
Drive Trip Temperature:255 C

Error counter log:
   Errors Corrected by   Total   Correction
GigabytesTotal ECC  rereads/errors   algorithm
processeduncorrected fast | delayed   rewrites  corrected
invocations   [10^9 bytes]  errors read:  00
0 0  0  0.000   0 write:
00 0 0  0  0.000   0


I wonder wtf is up with that?  I've run that same check before and not
gotten the error..  I'm going to run a camcontrol reset and play with
this some more.  In the meantime any help appreciated.

oh yeah,one more thing; I can run an mt erase 0 w/o error but a full
erase mt erase yields bunches of this in the logs:

Jul  7 17:00:00 hamlet kernel: mpt0: attempting to abort req
0xc4fac4f0:11612 function 0 Jul  7 17:00:00 hamlet kernel: mpt0: abort
of req 0xc4fac4f0:11612 completed Jul  7 17:00:00 hamlet kernel: mpt0:
attempting to abort req 0xc4fac4f0:11612 function 0 Jul  7 17:00:00
hamlet kernel: mpt0: abort of req 0xc4fac4f0:11612 completed

TIA-

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] baffled - fbsd and arcvault12 issues

2007-07-08 Thread Ken Gunderson
On Sun, 08 Jul 2007 19:21:25 -0400
Dan Langille [EMAIL PROTECTED] wrote:

 On 8 Jul 2007 at 19:18, Dan Langille wrote:
 
  On 8 Jul 2007 at 13:32, Ken Gunderson wrote:
  
   Hello:
   
   I've got an Overland ARCvault12 w/single LTO-2 drive.  SCSI
   controller is an LSI using mpt driver (wh/seems to be a pos and not
   something i'd user again).  btape test and fill complete but when I
   run successive backups the tape never changes - same result w/both
   mtx-changer and rc-chio-changer.  Both scripts work correctly
   from command line.
  
  That btape test, was it a two tape test?

Yes.

  
  Did you also run the autochanger tests?

Yes.

  
  Here is the full test I did with my tape library.
 
 Nice test?  Like it?  You'll love this one:
 
http://www.freebsddiary.org/digital-tl891.php

Thanks.  A goldmine for fbsd user looking to set up bacula autoloader.
Have read it before though.  This is perplexing because all looks well
from btape tests but then when running under bacula daemons I can write
a TB to same tape w/o the next being loaded.  And yes, the the volumes
are in the pool and marked InChanger.


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Supported LTO3/LTO4 Libraries

2007-07-07 Thread Ken Gunderson
On Fri, 06 Jul 2007 16:43:48 -0300
Heitor Medrado de Faria [EMAIL PROTECTED] wrote:

 Hi folks,
 
 Does anyone can tell me what LTO3/LTO4 Libraries in the market are 
 supported by Bacula?
 
 Best regards,

Overland ARCVault 12.  Nice unit but as of yet do not have everything
working.

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] printing barcodes and quantum superloader 3

2007-06-26 Thread Ken Gunderson
On Tue, 26 Jun 2007 14:30:18 +0100 (BST)
Alan Brown [EMAIL PROTECTED] wrote:

 On Tue, 26 Jun 2007, Arno Lehmann wrote:
 
  If you print them to 1/2 inch label tape, the barcode printer
  generated ones should work. If you prefer labels on paper, use a
  program like barcode and place the labels on the sheet.
 
 Lest anyone worry that they need to keep typing and pressing print on the 
 labellers...
 
 My laballer allows me to setup what I need and then just print N more with 
 increasing sequence numbers.
 
 It's very easy to generate 100 precut labels at a time. The hard part is 
 rigging something to catch the output and keep it in order - surprisingly 
 a small plastic coffee cup works quite well.
 
 The only gotcha on label printing is to use narrow or no tape feed 
 (the distance between cuts), else you will end up with labels slightly too 
 long for the tapes. These tend to delaminate over time because they get 
 bent.
 
 Same applies for DATs, but with 6mm labels - although they are fiddly to 
 stick on...

What model are you using?  I have one, I forget which, but I don't
recall printing barcode labels as being one of it's features.


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] barcodes and pools

2007-06-26 Thread Ken Gunderson
On Mon, 25 Jun 2007 22:34:58 +0200
Arno Lehmann [EMAIL PROTECTED] wrote:

 Hi,
 
 25.06.2007 17:45,, Ken Gunderson wrote::
  Hello
  
  Is there someway to be using label barcodes with multiple pools?  My
  initial thoughts are to load up a few slots, run label barcodes, choose
  the appropriate pools I want those volumes assigned to and then repeat
  for the next pool?  
 
 That would work. You can also give a range of slots to label to the 
 command, IIRC.

I'm not sure I understand you correctly here.  I've tried, for example,
label slot=1 barcodes and label barcodes slot=1 but bconsole ignores
the slot part and still wants to label all volumes in the magazine.  If
such is not the case then an example of correct syntax would be
welcome:)
 
  The objective is to have a monthly pool for offsite archival that will
  be recycled after something like 12-18 months, weekly full pool
  (perhaps also stored offsite) recycled every 5 weeks, and daily
  incremental pool that gets recycled every week with minimal
  intervention and chance for confusion from non technical types. Yeah,
  very similar to example in the docs only with multiple clients and a
  barcode reading autoloader.
 
 Yes, you do this with different pools, and you can label the volumes 
 from barcodes, even assigning them to different pools.
 
 In multiple label command runs, of course.

Yes, this much I figured out but it's a bit of a PITA to have to do
that way so I was hoping for something a bit more automagical

 
 Arno

This is the first time I've had a barcode reader on a unit that I was
responsible for so maybe I'm operating under some misinformation but I
seem to recall reading somewhere in the docs that the label from the
barcode had to match the label given in bacula?  It doesn't seem like
such should need to be the case, as once labeled bacula should be able
to associate barcode x with label y but that would depend on the db
schema, wh/I've not examined in any depth. The bacula docs are
extensive and I'm sure it's all there but important tidbits are
sometimes spread out so if you could provide any pointers...;)


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] barcodes and pools

2007-06-26 Thread Ken Gunderson
On Tue, 26 Jun 2007 13:23:39 -0400
Flak Magnet [EMAIL PROTECTED] wrote:

 On Tuesday 26 June 2007 11:08:46 am Ken Gunderson wrote:
 
  I'm not sure I understand you correctly here.  I've tried, for example,
  label slot=1 barcodes and label barcodes slot=1 but bconsole ignores
  the slot part and still wants to label all volumes in the magazine.  If
  such is not the case then an example of correct syntax would be
  welcome:)
 
 Instead of slot use slots (note the plural).

Sweet!  Exactly what I need. Thanks bunches.  Just out of
curiosity, is this undocumented or did I miss it?
 
 The great thing about computers is they do exactly what you tell them to.
 The maddening thing about computers is they do EXACTLY what you tell them to.
 
 rm -rf . /*
 Wait, what?  No

Ha! That's what I get for ftfm'ing before posting.:

label
This command is used to label physical volumes. The full form of
this command is:

label storage=\lt{}storage-name\gt{} volume=\lt{}volume-name\gt{}
  slot=\lt{}slot\gt{}


Thanks again!  I guess I read it too literal and didn't even occur to
me to try using the plural.

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FreeBSD and Authochangers

2007-06-25 Thread Ken Gunderson
On Mon, 25 Jun 2007 15:19:06 +0200
Rudolf Cejka [EMAIL PROTECTED] wrote:

 Bill Moran wrote (2007/06/25):
   i am using freebsd 6.2 with mtx-changer and barcodes and its all fine
   (the only one problem was with access for bacula to autochenger node in
   /dev)
   autochanger is Quantum superloader 3
  We're using chio-changer with FreeBSD 6 and a Dell LTO2 drive.  Works just
  dandy, but we're not doing barcodes, so I can't comment on that.
 
 Hello, I have FreeBSD 6.2 with library with barcodes and two tape drives,
 and I fixed chio-changer for this purpose in script named rc-chio-changer.
 There should not be reason to install third-party mtx, because chio is
 very sufficient.

Thanks to all who replied:)

I've subsequently been doing some preliminary testing with
rc-chio-changer and looks to be working.  Good to have confirmation.
It would be great if this got documented somewhere.

Another related question - Comments in sd.conf reference uncommenting
Tape Alert if using mtx-changer but it seems I should be able to use
either smartctl or tapeinfo for tape alerts with this script as well,
no?  Or is there something I'm missing?

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] barcodes and pools

2007-06-25 Thread Ken Gunderson
Hello

Is there someway to be using label barcodes with multiple pools?  My
initial thoughts are to load up a few slots, run label barcodes, choose
the appropriate pools I want those volumes assigned to and then repeat
for the next pool?  

The objective is to have a monthly pool for offsite archival that will
be recycled after something like 12-18 months, weekly full pool
(perhaps also stored offsite) recycled every 5 weeks, and daily
incremental pool that gets recycled every week with minimal
intervention and chance for confusion from non technical types. Yeah,
very similar to example in the docs only with multiple clients and a
barcode reading autoloader.


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FreeBSD and Authochangers

2007-06-24 Thread Ken Gunderson
Hello List:

I've posted before regarding chio vs mtx-changer and got reply from Arno
but I'd love to hear from some FreeBSD users who are using
authochangers.  So here goes again...

Are you using chio or mtx-changer, and why?  I've looked at the chio
example scripts and seems that chio-bacula simulates barcodes and
rc-chio-changer handles real  barcodes but that chio-changer ignores
them... The latter makes mention of FBSD-5.2 so that puts it a couple
years old. rc-chio-changer has a cvs id of 2006-02-23 and looks to me
most recent?  Or are all of these abandoned in favor of mtx and
mtx-changer?

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FreeBSD and Authochangers

2007-06-24 Thread Ken Gunderson
On Sun, 24 Jun 2007 18:12:59 -0600
Ken Gunderson [EMAIL PROTECTED] wrote:

 On Sun, 24 Jun 2007 22:06:38 +0100
 tomasz [EMAIL PROTECTED] wrote:
 
  Ken Gunderson wrote:
   Hello List:
   
   I've posted before regarding chio vs mtx-changer and got reply from Arno
   but I'd love to hear from some FreeBSD users who are using
   authochangers.  So here goes again...
   
   Are you using chio or mtx-changer, and why?  I've looked at the chio
   example scripts and seems that chio-bacula simulates barcodes and
   rc-chio-changer handles real  barcodes but that chio-changer ignores
   them... The latter makes mention of FBSD-5.2 so that puts it a couple
   years old. rc-chio-changer has a cvs id of 2006-02-23 and looks to me
   most recent?  Or are all of these abandoned in favor of mtx and
   mtx-changer?
   
  i am using freebsd 6.2 with mtx-changer and barcodes and its all fine
  (the only one problem was with access for bacula to autochenger node in
  /dev)
  autochanger is Quantum superloader 3
  
 
 Thanks for the reply.  I can configure either mtx-changer or
 rc-chio-changer and both seem to work.  From what I can see chio can
 work with autoloaders with  1 drive while mtx-changer works only
 with single drive autochangers.  I've only single drive autochanger
 but being a FreeBSD guy since late 2.x my inclination is to go with the
 chio based stuff.  Googling bacula and chio doesn't turn up much
 though so I wondered if it was actually in use by anyone?

Ugh!  Hate replying to myself but also found this in bacula list
archives back in Feb. 2006:

http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg09273.html

So here's a question for you Dan - are you still using rc-chio-changer
w/FBSD-6.x or is mtx-changer now preferred?  All other things being
equal it's nice to have one less port to worry about...

And I also note that there is yet another chio script in the port's
files directory wh/is also called chio-bacula wh/is updated version of 
chio-bacula from examples directory to support multiple drive indexes?
One might expect the files/chio-bacula would be the preferred chio
script?  Were it not for Dan's comments about rc-chio-changer in link
above...


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] need help managing disk configuration

2007-06-21 Thread Ken Gunderson
On Thu, 21 Jun 2007 08:30:20 -0400
John Drescher [EMAIL PROTECTED] wrote:

 
  I know that RAID5 is very appealing 'cause you end with 'a lot of usable
  disk space' but, I always discourage to use it.
 
  Each chunk of data to be written to disk is divided in Numer of physical
  RAID disks writes  - 1 plus another write to store CRC on to the remaining
  disk ( the CRC chunk is written in a round-robin model using all RAID disks
  ). For write changed data, the RAID logic must locate where the data was,
  rewrite it and calculate the changes to the parity to reflect the changes
 
  Another important point is the time spend on rebuild a previously failed
  disk ( data is not copied from antoher disk, is regenerated using the data
  in CRC chunks )
 
  And another tip, If fails 2 disks, good by data, must restore from backup
 
 
 How about raid 6? With raid 6 you can loose 2 disks and you loose nothing. I
 have around 10TB mostly on raid 6 using 250GB and 330 GB SATA  drives and
 they work great. I have had to replace a disk from time to time but I have
 never  had 2 go bad at once.
 
 Always try to use any more 'friendly' RAID as RAID1 / RAID10
 
  But then you throw away 1/2 the space.

We can argue/discuss this until we're blue in the face but IMHO RAID10
is the way to go. Better performance, better redundancy, and better
reliability.  And increasingly I want to do in in software rather than
hardware.


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Benchmarking Bacula

2007-06-16 Thread Ken Gunderson
On Sat, 16 Jun 2007 12:40:52 +0530
Gaurav Pruthi [EMAIL PROTECTED] wrote:

 Hi,
 
 I have installed bacula but before taking it online to take backups of
 servers, I would like to test the throughput of Bacula. I have to test it
 with storage as File. I am looking for a script using which i could check
 the throughput of Bacula  (Atleast 3-5 GB bacuup/restore) and convince the
 mgmt to implement bacula as network backup system. I shall be grateful if
 anyone provide me the required script.

I'm not much knowledge w.r.t. bacula performance (so take this w/a
grain of salt) but am pretty experienced sysadmin and suspect it would
be influenced by factors such as: 

1) backup type, i.e. full, diff, or incremental.  For example, I would
expect full to be fastest because no need for any comparisons of
files.  

2) Since need to do sql inserts, etc, on 

a) how high zoot a machine you were using for db server duties.

b) whether or not using dedicated database server.

c) the db engine itself, i.e. MySQL vs. PostgreSQL (I've never been fan
of SQLite).

d) and possibly how well indexes are maintained.

3) disk type, i.e. SCSI vs. SATA and level of backup client concurrency

And that is just off top of my head, for starters...  Somethings for
you to think about...

If you want input for the bacula gurus here you may want to detail your
specifics a bit more.


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Overland ArcVault12 btape issues

2007-06-16 Thread Ken Gunderson
On Fri, 15 Jun 2007 15:03:28 -0600
Ken Gunderson [EMAIL PROTECTED] wrote:


[snip]
 
 Relevant bacula-sd.conf config:
 
 
 Autochanger {
   Name = Autochanger
   Device = Drive-1
   Changer Command = /usr/local/etc/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/pass1
 }
 
 Device {
   Name = Drive-1  #
   Drive Index = 0
   Media Type = LTO-2
   Archive Device = /dev/nsa0
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 # btape test results advise tweaking thusly...
   Hardware End of Medium = No
   Fast Forward Space File = No
   BSF at EOM = yes
   Backward Space Record = No
 }

Following up on myself here

If I change conf above to comment out Fast Forward Space File = No then
btape fill succeeds.  

Note that previously I'd read in bacula btape docs:

When I set Hardware End of Medium = no  and Fast Forward Space File =
no  file positioning was very slow on my LTO-3 (about ten to 100
minutes), but

with Hardware End of Medium = no and Fast Forward Space File = yes, the
time is ten to 100 times faster (about one to two minutes). 

I'm using LTO-2 drive but had waited 3-4 hours w/the Fast Forward Space
File = No setting so figured, perhaps mistakenly, that that should have
been enough??


 -- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] freebsd - chio vs mtx-changer

2007-06-16 Thread Ken Gunderson
Hello:

Some experience fbsd user can provide me with some insights of chio vs.
mtx-changer?  I know mtx-changer works but haven't yet done anything
with chio.  Which is preferred under fbsd?

TIA--

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Overland ArcVault12 btape issues

2007-06-15 Thread Ken Gunderson
Hello List:

I have an Overland Storage ArcVault12 w/single LTO-2 drive that's
giving me issues when running btape fill.  

The unit is presently at a remote site.  I don't think it is related but
just to be complete, upon arrival and powering up the ArcVault12
exhibited an identity crisis and thought it was an ArcVault24 w/2
drives.  Tweaking a setting in RMU remedied this but I wondered about
it because it knew it was an ArcVault12 when I shipped it.  Techs on
other end say box did not exhibit signs of damage or abuse during
shipping. I ran through the RMU diagnostics and all tests succeeded.

The backup server the unit is connected to is a 1U Tyan B5151, running
FreeBSD 6.2-RELEASE-p5, GENERIC kernel, i386 bits. SCSI controller is a
LSI-20320 (U320, PCI-X), wh/uses the mpt driver on FBSD.

Bacula version is bacula-server-2.0.3 built from ports w/o any special
flags passed during make.

Relevant bacula-sd.conf config:


Autochanger {
  Name = Autochanger
  Device = Drive-1
  Changer Command = /usr/local/etc/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/pass1
}

Device {
  Name = Drive-1  #
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/nsa0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
# btape test results advise tweaking thusly...
  Hardware End of Medium = No
  Fast Forward Space File = No
  BSF at EOM = yes
  Backward Space Record = No
}

Addition of above tweaks and btape test completes w/o complaint.

When doing a btape fill, however, the tape fills but then btape just
waits forever, as evidenced here:

btape: btape.c:2343 Last block at: 296:10031 this_dev_block_num=10032
btape: btape.c:2377 End of tape 297:0. VolumeCapacity=203,956,687,872.
Write rate = 19749.8 KB/s Done writing 0 records ...
Wrote state file last_block_num1=10031 last_block_num2=0


15:46:54 Done filling tape at 297:0. Now beginning re-read of tape ...
15-Jun 15:47 btape: 3301 Issuing autochanger loaded? drive 0 command.
15-Jun 15:47 btape: 3302 Autochanger loaded? drive 0, result is Slot
1. 15-Jun 15:47 btape: 3301 Issuing autochanger loaded? drive 0
command. 15-Jun 15:47 btape: 3302 Autochanger loaded? drive 0, result
is Slot 1. 15-Jun 15:48 btape: Ready to read from volume TestVolume1
on device Drive-1 (/dev/nsa0). Rewinding.
Reading the first 1 records from 0:0.
1 records read now at 1:5084
Reposition from 1:5084 to 296:10031


Any hints what might be causing this?  I tested the ArcVault prior to
shipping with an old Adaptec 2940 SCSI Card and to the best of my
recollection things just worked.

I read in Bacula docs:

Figure out how to configure your SCSI driver to keep track of
the file position during the MTEOM request. This is the preferred
solution.

versus setting Hardware End of File = no and wonder if this might
perhaps be mpt scsi driver related?  Anyone else using an ArcVault
w/FreeBSD can confirm a working configuration?


TIA :)

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-06 Thread Ken Gunderson
On Wed, 06 Jun 2007 15:51:27 -0400
Ryan Novosielski [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Ken Gunderson wrote:
  On Mon, 04 Jun 2007 22:08:18 +0200
  Arno Lehmann [EMAIL PROTECTED] wrote:
  
  Hi,
 
  On 6/4/2007 6:11 PM, Ken Gunderson wrote:
  On Mon, 04 Jun 2007 12:26:20 +0200
  Arno Lehmann [EMAIL PROTECTED] wrote:
 
  Hi,
 
  [snip]
  A couple php based that would make my short list:
 
  -e107
[snip]
  It was either Drupal or Joomla that won.  Point being here that e107 is
  up there with the big boys.  But then again, as you've noted, a full
  blown CMS may well be overkill for your objectives.  OTOH, once you've
  set one up you leverage a scalable foundation where you can easily add
  more features as the need arises.  In the interim, you can disable
  those that you don't need.
 
 You know, it may be overkill... but then again, haven't we as a
 community sort of been clamoring for a Bacula-official wiki for awhile?
 I know you may not want to be the one doing that work, but I wonder if
 we can't kill two birds here with one stone.

IMHO Wiki's suck.  Dokuwiki sucking less than most.


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-06 Thread Ken Gunderson
On Wed, 06 Jun 2007 22:21:54 +0200
Arno Lehmann [EMAIL PROTECTED] wrote:

 Hi,
 
 On 6/6/2007 9:51 PM, Ryan Novosielski wrote:
 ... using a CMS for voting only?
 
  You know, it may be overkill... but then again, haven't we as a
  community sort of been clamoring for a Bacula-official wiki for awhile?
  I know you may not want to be the one doing that work, but I wonder if
  we can't kill two birds here with one stone.
 
 
 Good point... if someone set up a CMS or Wiki with the (probably) 
 necessary modules to support the voting process, I'd manage the feature 
 requests and voting itself.
 
 (But I do prefer something much more structured than a bare wiki.)

+1 

Wiki != CMS and definitely NOT the way to go, IMHO.

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-06 Thread Ken Gunderson
On Mon, 04 Jun 2007 12:26:20 +0200
Arno Lehmann [EMAIL PROTECTED] wrote:

 Hi,
 
 On 6/4/2007 2:47 AM, Ken Gunderson wrote:
  On Mon, 4 Jun 2007 00:38:00 +0200
  Steen [EMAIL PROTECTED] wrote:
  
  On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
  Hello,
 
  On 5/29/2007 11:44 AM, Steen wrote:
  Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
  ...
[snip]

 What i'd like to achieve is to set up something which supports voting on 
 feature request.
 
 A feature request has to be stored and presented in a formalized way, 
 and each voter must be able to enter several weighted votes once per 
 voting period.
 
 If noone finds a suitable solution with some readily available software 
 I'll start thinking how to implement something myself in a few days.
 
 Arno

Another option that may be worth considering is Trac.

http://trac.edgewall.org/

Trac Demo Site:

http://www.hosted-projects.com/trac/TracDemo/Demo

It has built in wiki, bug tracker, svn browsing, etc.  Do not run on
sqlite db backend though for anything more than testing.  Production =
MySQL or PostgreSQL.

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-05 Thread Ken Gunderson
On Mon, 04 Jun 2007 22:08:18 +0200
Arno Lehmann [EMAIL PROTECTED] wrote:

 Hi,
 
 On 6/4/2007 6:11 PM, Ken Gunderson wrote:
  On Mon, 04 Jun 2007 12:26:20 +0200
  Arno Lehmann [EMAIL PROTECTED] wrote:
  
  Hi,
 
[snip]
  A couple php based that would make my short list:
  
  -e107
  
  http://e107.org/news.php
 
 That one is unknown to me, I'll give it a look.

About a year ago there was a competition for open source cms.  I'm
forgetting the name but the award was several thousand US dollars.  5
finalist were:

Joomla
Drupal
Plone
e107
??? I forget...

It was either Drupal or Joomla that won.  Point being here that e107 is
up there with the big boys.  But then again, as you've noted, a full
blown CMS may well be overkill for your objectives.  OTOH, once you've
set one up you leverage a scalable foundation where you can easily add
more features as the need arises.  In the interim, you can disable
those that you don't need.

 -- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Ken Gunderson
On Mon, 04 Jun 2007 12:26:20 +0200
Arno Lehmann [EMAIL PROTECTED] wrote:

 Hi,
 
 On 6/4/2007 2:47 AM, Ken Gunderson wrote:
  On Mon, 4 Jun 2007 00:38:00 +0200
  Steen [EMAIL PROTECTED] wrote:
  
  On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
  Hello,
 
  On 5/29/2007 11:44 AM, Steen wrote:
  Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
  ...
 
  To clarify things a bit:
 
[snip]
 What i'd like to achieve is to set up something which supports voting on 
 feature request.
 
 A feature request has to be stored and presented in a formalized way, 
 and each voter must be able to enter several weighted votes once per 
 voting period.
 
 If noone finds a suitable solution with some readily available software 
 I'll start thinking how to implement something myself in a few days.

Hello Arno:

What is the present site based on?  Straight html/css or is there some
CMS backend already in place?  

There are lots of CMS solutions out there, many of wh/look attractive
on first blush but start showing assorted warts once you start using in
production.  Given this, Plone makes my short list.  It's not a quick
and dirty solution, however, as it involves setting up (and
maintaining) Zope application server, ZEO DB backend (not strictly
necessary but I recommend using for production sites), Plone, various
Plone Products (e.g. Polls), and http proxy front end, so if you're
looking for relatively quick fix then perhaps better off w/something
php based, particularly if you're also interested in implementing other
features like forum boards.


Some links (don't go too crazy exploring...):

-CMS Matrix

http://www.cmsmatrix.org/matrix


-Opensource CMS (good place to demo various offerings)

http://www.opensourcecms.com/index.php


A couple php based that would make my short list:

-e107

http://e107.org/news.php

-Joomla:

http://www.joomla.org/

Joomla gives you more eye candy but I prefer e107 (better security
track record - at least last I checked).


I've got project deadlines and going to be swamped the next day or
two.  Afterwards I'll still be pretty busy but should be able to
squeeze some time.  


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-03 Thread Ken Gunderson
On Mon, 4 Jun 2007 00:38:00 +0200
Steen [EMAIL PROTECTED] wrote:

 On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
  Hello,
 
  On 5/29/2007 11:44 AM, Steen wrote:
   Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
 
  ...
 
   To clarify things a bit:
  
   Currently, I only plan to manage the feature requests and the voting
   process.
  
   For that purpose, I'm looking for a solution to collect and present
   feature requests, preferrably in the format they are in now (i.e.
   Description, detailed notes, status and people working on it). The
   voting functionality should be included, so that, for each voting
   period, any (registered) user can vote for a number of features, can
   assign weights to the votes, and the solution adds the votes up
   correctly.
  
   I'm not too eager to install a complete CMS plus add-ons, or bugzilla,
   or something similarly oversized. As of now, I don't see an out-of-the
   box solution, and I think that creating a tailored voting solution would
   not be unrealistic, but I'm still open for suggestions.
  
   Arno
  
   I have a plone server - I have no experience with the polling/voting
   products, but there are a few:
 
  Thanks for the suggestions!
 
   http://www.contentmanagementsoftware.info/plone/PlonePopoll
 
  This one allows users to vote for an answer out of a prepared list. For
  us, that would meant that I'd have to prepare a list of all feature
  requests for the voting, each user could only vote for one feature, and
  weigthed votes would not be possible.
 
   http://plone.org/products/rating-engine
 
  No released files, and no usable example. The description sounds good,
  though.
 
   http://www.contentmanagementsoftware.info/plone/usability-issue-tracker
   and more:
   http://plone.org/products/by-category/poll
 
  Hmmm... I found ploneSurvey, but there is no usable documentation.
 
   It is normally quite easy to install a product, and also very easy to add
   a new site to the server and do some minor adaptations to the looks -
   clolour, logo etc
  
   So asuming that there will not be heavy traffic I could host the list if
   you should favour that - only I'm in the process of upgrading the server
   - so it will only be possible to go into production some weeks from now
 
  That would not be a problem, I think... would you be willing to install
  the rating-engine plugin for testing purposes?
 
  Arno
 
 I tried, but there were errors. Maybe my plone version is too old, I will try 
 to install on the new server  - see if installs there.
 
 -- 
 Regards

I'm pretty familiar w/Plone.  Just resubscribed to this list, however,
so not up on what you're objectives are here in this thread. Feel free
to contact me off list if you'd like to elaborate.

-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

Never hold discussions with the monkey when the organ grinder is in
the room. - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FreeBSD-6.x Autochanger - Overland ArcVault??

2006-08-19 Thread Ken Gunderson
Greets All:

I'm looking for an autochanger that works well w/the latest and
greatest releases of Bacula and FreeBSD.  I'm unsure as of yet
whether the autochanger will end up connected to an amd64 or i386 bit
machine (but these days we run mostly amd64). Overland's new
ArcVaults are looking attractive but apparently still too new for
googling.  From past track record one may posit that it's generally
safe going w/Overland storage but I'm open to other suggestions.  If
Dan and some others from Bacula on FBSD crew could please provide a few
pointers I'd appreciate it.

TIA--

-- 

Best regards,

Ken Gunderson

The course of history shows that as a government grows, liberty 
decreases.  (Thomas Jefferson)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FreeBSD-6.x Autochanger - Overland ArcVault??

2006-08-19 Thread Ken Gunderson
On Sat, 19 Aug 2006 15:33:35 -0700
Jo Rhett [EMAIL PROTECTED] wrote:

 On Sat, Aug 19, 2006 at 04:15:13PM -0600, Ken Gunderson wrote:
  I'm looking for an autochanger that works well w/the latest and
  greatest releases of Bacula and FreeBSD.  I'm unsure as of yet
 
 Uh... I don't have any really modern autochangers, but so far I haven't
 found any that *don't* work with FreeBSD.  (that are known to work at all
 for unix, etc)

That would be my assumption as well but it would still be _really_ nice
if I lucked across a FBSD/Bacula user who's already been there and done
that before I plop down the ducats;-)

 -- 

Best regards,

Ken Gunderson

The course of history shows that as a government grows, liberty 
decreases.  (Thomas Jefferson)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users