Re: exclude lists on server

2003-01-30 Thread Leonid Mamtchenkov
John R. Jackson [EMAIL PROTECTED] wrote:
JRJ Is there any amanda-way to have exclude lists on the server and update
JRJ them on the client before each backup?  ...
JRJ I have not tried this, but if you're running 2.4.3 (server and client)
JRJ and don't have an excessive number of exclusions, you can set up a
JRJ dummy dumptype with the information, then inherit it into each real
JRJ dumptype as needed:
JRJ 
JRJ   define dumptype exclude-stuff {
JRJ exclude file append pattern1
JRJ exclude file append pattern2
JRJ exclude file append pattern3
JRJ exclude file append pattern4
JRJ   }
[SKIP]
JRJ And so on.  You can, of course, have more than one fake dumptype with
JRJ different sets of exclude patterns.  And, since append is used, you
JRJ may reference more than one in a real dumptype -- the entries will be
JRJ merged into a single large list.
JRJ 
JRJ As I said, I haven't even faintly tried this.  It's just an idea based
JRJ on how I'm pretty sure this all works.

Looks like exactly what I need :)  Thanks.  I will try it and see if
it'll actually work.  Looks OK to me, though :)

-- 
Best regards,
  Leonid Mamtchenkov, RHCE
  System Administrator
  Francoudi  Stephanou Ltd.




Alternitif Bitkisel kanser ilaci Carctol Alternative Cancer Healing

2003-01-30 Thread carctol2005
Eger kemoterapi yada radyoterapinin  yan etkileri ile bogusan bir yakininiz varsa, 
üzülmeyin ancak bitkisel kanser ilaci Carctol'u yakindan tanimak için  zaman ayirarak 
asagidaki link'e tiklayin.
http://www.kanser-tedavisi.com 
Listeden adinizin silinmesini istiyorsaniz [EMAIL PROTECTED]  a bos e posta 
yollayin. Tesekkürler

Hello, if you have got an acquaintance or a friend who is  suffering from the side 
effects of chemotherapy, please visit the site below to see the truths about 
alternative herb cancer medicine Carctol.
http://www.kanser-tedavisi.com/English_homepage.html 
If you wish to be removed from our list, please send us an email at this address  
[EMAIL PROTECTED]   so that we may remove your name. Thank you.



LTO internal vs external labels

2003-01-30 Thread Brian Cuttler

Hello there,

Wanted to say thank you, with much help we are now running two
StorEdge 9 Jukeboxes with LTO drives (one drive per jukebox)
with two Amanda configurations on the same host, one for the
local client and one for remote clients.

Now I have only more more question...

The barcode labels, are they actually used to speed locating
which tape is which in the jukebox ?

If not, maybe I'll replace the labels with something more standard
to our site NEWTONLnn, NEWTONRnn (local/remote, left/right drive,
your choice).

If the barcode labels are, or will be, used, then we need to find
a way to also apply a more meaningful (in terms of our site) label
to the outside of the tape.

We are a little reluctant to stick extra labels on the tapes, its
not recommended by the vendor. I'd though of creating new barcodes
that match our naming scheme, but don't know how to accomplish that.

What experiences/solutions have other amanda_users come across ?

thanks,

Brian

---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773





Splitting a big directory (disklist question)

2003-01-30 Thread Jeff Borders
Hello,

I've got a dds2 drive and need to split up a big directory so the images
will fit on a tape.  I've read posts and docs but I'm not doing
something right.  I don't understand the example of this in the
amanda-2.4.3/example/disklist file.  Here is a sample of what I'm trying
to do:

curly   /data/apps/[0-9]*   high-tar
curly   /data/apps/[A-H]*   high-tar
curly   /data/apps/[I-P]*   high-tar
curly   /data/apps/[Q-Z]*   high-tar
curly   /data/apps/[a-z]*   high-tar
curly   /data/linux high-tar
curly   /data/pics  high-tar
curly   /data/mydocshigh-tar

The linux, pics, and mydocs are correct.

Any guidance would be appreciated.

Thank you, Jeff Borders





Re: Splitting a big directory (disklist question)

2003-01-30 Thread Chris Dahn
On Thursday 30 January 2003 10:23 am, Jeff Borders wrote:
 Hello,

 I've got a dds2 drive and need to split up a big directory so the images
 will fit on a tape.  I've read posts and docs but I'm not doing
 something right.  I don't understand the example of this in the
 amanda-2.4.3/example/disklist file.  Here is a sample of what I'm trying
 to do:

 curly /data/apps/[0-9]*   high-tar
 curly /data/apps/[A-H]*   high-tar
 curly /data/apps/[I-P]*   high-tar
 curly /data/apps/[Q-Z]*   high-tar
 curly /data/apps/[a-z]*   high-tar
 curly /data/linux high-tar
 curly /data/pics  high-tar
 curly /data/mydocshigh-tar

 The linux, pics, and mydocs are correct.

 Any guidance would be appreciated.

 Thank you, Jeff Borders

  From the man page (of 2.4.2), it doesn't look like you can specify regular 
expressions for the diskdevice. Thus, linux, pics and mydocs are okay, but 
the others are failing (if I'm mistaken about this for 2.4.3, please correct 
me). You are correct, however, in using tar. You should just need to split 
those regular expressions into real directories that exist in /data/apps/.

-- 
 
|Christopher Dahn  | Software Engineering Research Group,|
|3141 Chestnut St. |   Feel the SERG!|
|Attn: CS Dept., CAT 186   | http://serg.cs.drexel.edu/  |
|Philadephia, PA  19104 -- --
|  | OpenPGP public key:  |
|  | http://search.keyserver.net/ |
|  |  |
 -



Re: Splitting a big directory (disklist question)

2003-01-30 Thread Joshua Baker-LePain
On 30 Jan 2003 at 10:23am, Jeff Borders wrote

 I've got a dds2 drive and need to split up a big directory so the images
 will fit on a tape.  I've read posts and docs but I'm not doing
 something right.  I don't understand the example of this in the
 amanda-2.4.3/example/disklist file.  Here is a sample of what I'm trying
 to do:
 
 curly /data/apps/[0-9]*   high-tar
 curly /data/apps/[A-H]*   high-tar
 curly /data/apps/[I-P]*   high-tar
 curly /data/apps/[Q-Z]*   high-tar
 curly /data/apps/[a-z]*   high-tar

You can't put wildcards and regexy type stuff in the directory entry.  You 
need to do the top level directory there, and then modify the dumptype 
(that's the stuff inside curly brackets in the examples) using include and 
exclude statements.  Those are explained in the amanda(8) man page.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: HP Ultrium LTO 1 : ERROR taper no-tape

2003-01-30 Thread annefacq
 
 As others have said, chg-zd-mtx or chg-scsi are probably what you want.

Many thanks to you 5 for your advice !

Each of you advised me to use the tpchanger chg-zd-mtx script as tpchanger.
 
I did it and I can now load or unload (with amtape) without problem the tape 
from any slot

I had to take the last version of chg-zd-mtx (given with amanda-2.4.3) because 
I had some problems with the previous one (given with amanda-2.4.2)

Best regards

Anne

-- 
Anne Facq
CRPP - Centre de Recherche Paul Pascal
115 Avenue Schweitzer
33600 PESSAC - FRANCE
Mel : [EMAIL PROTECTED]
Tel : 05 56 84 56 62
Fax : 05 56 84 56 00
http://www.crpp.u-bordeaux.fr





Re: Splitting a big directory (disklist question)

2003-01-30 Thread Nick Russo
On Thu, 30 Jan 2003, Chris Dahn wrote:

   From the man page (of 2.4.2), it doesn't look like you can specify regular
 expressions for the diskdevice. Thus, linux, pics and mydocs are okay, but
 the others are failing (if I'm mistaken about this for 2.4.3, please correct
 me). You are correct, however, in using tar. You should just need to split
 those regular expressions into real directories that exist in /data/apps/.

I actually just did this a few weeks ago for one of the partitions
on our home directory fileserver. Now I have 80 more diskdevices
than I used to have ;)

In my case, it wasn't the size of the whole partition that was
prohibitive. Rather, I was getting a timeout error from tar, and
couldn't track down what file was causing it. So rather than lose
the whole partition each time as the tar failed, I split it into
80 little filesystems, and now each one gets backed up independently,
except, of course, for the one which is causing the error.

The only drawback I see is that my disklist file and my email reports
are longer, but it seems worth it to me.

Nick


 Nick Russo   email: [EMAIL PROTECTED]   phone: 773.702.3438
Computer Science Department   The University of Chicago
 Associate Director of Computing Systems, Systems Lead





columm widths in daily mail report

2003-01-30 Thread stan
I have run into this question before, and I remember getting an answer on it,
but unfortunately, I can't find the answer :-(, so i;m afraid I have to ask
again.

I've got a situation where some of the fields reported in the daily mail
report, are bigger that there is space for. I need to know how to make
these columns wider.

Thanks.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin



Re: columm widths in daily mail report

2003-01-30 Thread bukys
Here's what's in my amanda.conf to adjust the column widths.
YMMV.

columnspec OutKB=1:7,Compress=1:6,DumpTime=1:7,DumpRate=1:6,TapeRate=1:6



Re: columm widths in daily mail report

2003-01-30 Thread Joshua Baker-LePain
On Thu, 30 Jan 2003 at 11:46am, stan wrote

 I have run into this question before, and I remember getting an answer on it,
 but unfortunately, I can't find the answer :-(, so i;m afraid I have to ask
 again.
 
 I've got a situation where some of the fields reported in the daily mail
 report, are bigger that there is space for. I need to know how to make
 these columns wider.

Look at columnspec in amanda.conf

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University





Re: columm widths in daily mail report

2003-01-30 Thread Don Carlton
Has anyone changed the mail report to produce html?

On Thu, 30 Jan 2003 12:09:12 -0500
 [EMAIL PROTECTED] wrote:
 Here's what's in my amanda.conf to adjust the column widths.
 YMMV.
 
 columnspec OutKB=1:7,Compress=1:6,DumpTime=1:7,DumpRate=1:6,TapeRate=1:6




Re: columm widths in daily mail report

2003-01-30 Thread Gordon Pritchard
On Thu, 2003-01-30 at 08:46, stan wrote:

 I remember getting an answer on it, but unfortunately, I can't
 find the answer :-(
 
 I've got a situation where some of the fields reported in the daily mail
 report, are bigger that there is space for. I need to know how to make
 these columns wider.

I am also interested in this.  Much of the data (statistics) smush the
'time' into the KB/s field; my mail-client will accept *much* longer
lines (although the stock width is probably an excellent default).

-Gord

-- 
Gordon Pritchard, P.Eng. | Institute of Electrical and
Research Labs Manager|  Electronics Engineers
Simon Fraser University, Surrey  | Quarter Century Wireless Ass'n
[EMAIL PROTECTED]   | Telephone Pioneers of America
phone:  604.586.6186




Re: columm widths in daily mail report

2003-01-30 Thread Gene Heskett
On Thursday 30 January 2003 11:46, stan wrote:
I have run into this question before, and I remember getting an
 answer on it, but unfortunately, I can't find the answer :-(, so
 i;m afraid I have to ask again.

I've got a situation where some of the fields reported in the
 daily mail report, are bigger that there is space for. I need to
 know how to make these columns wider.

Thanks.

From my amanda.conf here:
-
# The format for a ColumnSpec is a ',' seperated list of triples.
# Each triple consists of
#   + the name of the column (as in ColumnNameStrings)
#   + prefix before the column
#   + the width of the column, if set to -1 it will be recalculated
# to the maximum length of a line to print.
# Example:
#   Disk=1:17,HostName=1:10,OutKB=1:7
# or
#   Disk=1:-1,HostName=1:10,OutKB=1:7
#
# You need only specify those colums that should be changed from
# the default. If nothing is specified in the configfile, the
# above compiled in values will be in effect, resulting in an
# output as it was all the time.
# The names of the colums are:
# HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
# TapeTime and TapeRate.
#   ElB, 1999-02-24.
columnspec 
Disk=1:18,HostName=0:10,Level=1:3,OrigKB=1:9,OutKB=1:9,Compress=1:7,DumpTime=1:7,DumpRate=1:7,TapeTime=1:7,TapeRate=1:7
---
which works pretty good here.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.22% setiathome rank, not too shabby for a WV hillbilly



RE: columm widths in daily mail report

2003-01-30 Thread Cassidy Kern
From the sample amanda.conf

# The format for a ColumnSpec is a ',' seperated list of triples.
# Each triple consists of
#   + the name of the column (as in ColumnNameStrings)
#   + prefix before the column
#   + the width of the column, if set to -1 it will be recalculated
# to the maximum length of a line to print.
# Example:
#   Disk=1:17,HostName=1:10,OutKB=1:7
# or
#   Disk=1:-1,HostName=1:10,OutKB=1:7
#
# You need only specify those colums that should be changed from
# the default. If nothing is specified in the configfile, the
# above compiled in values will be in effect, resulting in an
# output as it was all the time.
# The names of the colums are:
# HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
# TapeTime and TapeRate.
#   ElB, 1999-02-24.
# columnspec Disk=1:18,HostName=0:10,OutKB=1:7

--Cassidy Kern

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of stan
Sent: Thursday, January 30, 2003 10:46 AM
To: amanda users list
Subject: columm widths in daily mail report


I have run into this question before, and I remember getting an answer
on it,
but unfortunately, I can't find the answer :-(, so i;m afraid I have to
ask
again.

I've got a situation where some of the fields reported in the daily mail
report, are bigger that there is space for. I need to know how to make
these columns wider.

Thanks.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin




Re: columm widths in daily mail report

2003-01-30 Thread Joshua Baker-LePain
On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote

 Has anyone changed the mail report to produce html?

Oh, the horror!  ;)

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




html reports (Was: columm widths)

2003-01-30 Thread Gordon Pritchard
On Thu, 2003-01-30 at 09:47, Don Carlton wrote:

 Has anyone changed the mail report to produce html?

Now, this is interesting!

Currently, I'm e-mail bound, so currently when I have html reports, I
used wget and sed/awk to reduce the data to an email.

However, we're moving to a web-info page, which will be loaded with
tons of mrtg graphs and all sorts of GUI info-at-a-glance.  So, in 6
months time, amanda with html out, or snmp capability, would be cool!

-Gord

-- 
Gordon Pritchard, P.Eng. | Institute of Electrical and
Research Labs Manager|  Electronics Engineers
Simon Fraser University, Surrey  | Quarter Century Wireless Ass'n
[EMAIL PROTECTED]   | Telephone Pioneers of America
phone:  604.586.6186




Weekly archive, RAIT ?

2003-01-30 Thread Brian Cuttler

Givens: Solaris 8, StorEdge 9 (HP C7145) jukebox - with LTO drive
Amanda 2.4.2p2.

We are considering running, well, have already configured, two
separate amanda servers, one to access jukebox A and service
the single amanda-client which resides on the amanda-server
machine and a second amands-server to service amands-clients
that are _not_ on the amanda-server machine.

We are considering leaving most of the tapes in the jukeboxes
alone week to week. Providing ready access to one week's data.

We are thinking of using the remaining slots in the jukebox
for weekly archive tapes.

I couldn't think of a good way to mechanistically implement
this until I realized that I could have a 3rd amanda-server.

This would run on the weekend when the other 2 amanda-servers
where quiesent. It would back up the combined disklists of
the 1st 2 servers but to an alternate tape pool. Ideally I
could install amanda 2.4.3 and have 2 tapes in each jukebox,
4 tapes in all, to write the output to.

Am I making any sense ? I'd thought someone said last week that
I couldn't walk by amanda run from one jukebox to the other.

Anyone have any ideas ? It just seems potentially inefficient
to break my partitions arbitrarilly across two different configs.

thanks,

Brian

---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773




Re: columm widths in daily mail report

2003-01-30 Thread Mitch Collinsworth

On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:

 On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote

  Has anyone changed the mail report to produce html?

 Oh, the horror!  ;)

Agreed if sent by e-mail,  but if it were instead dumped into a web-served
directory...

-Mitch



Re: columm widths in daily mail report

2003-01-30 Thread Joshua Baker-LePain
On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote

 On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:
 
  On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
 
   Has anyone changed the mail report to produce html?
 
  Oh, the horror!  ;)
 
 Agreed if sent by e-mail,  but if it were instead dumped into a web-served
 directory...

Well, IMO it's still unnecessary.  Webservers serve out plain text just 
fine.

Sometimes I feel like such a curmudgeon.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




question

2003-01-30 Thread David . Lee
I  login as 'amanda' to run 'amdump' and 'amrestore'.
The utility is GNUTAR.
The command 'amrestore -p ...| tar xvf -'  works, but the owner of  restored
files were changed 
to 'amanda'.
How to prevent to change 'owner'?

Thanks!

David




Re: columm widths in daily mail report

2003-01-30 Thread Darin Dugan
At 01:33 PM 1/30/2003, Joshua Baker-LePain wrote:

On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote

 On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:

  On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
 
   Has anyone changed the mail report to produce html?
 
  Oh, the horror!  ;)

 Agreed if sent by e-mail,  but if it were instead dumped into a web-served
 directory...

Well, IMO it's still unnecessary.  Webservers serve out plain text just
fine.

Sometimes I feel like such a curmudgeon.


Agreed. (the first part, not the curmudgeon) But there's a difference 
between needed features and desired features. HTML formatted reports 
probably fall into the desired category.

That said, web-based Amanda reports could be useful for those who would 
rather check a central web site than read yet another piece of mail. My 
first order of business in the day is to open a central console that fires 
off to MRTG graphs, big brother reports, a call database, etc. Amanda could 
be another one of those.

But I'm not certain that this needs to be a part of Amanda either. Anyone 
could write up a quick perl script to take amreport -f and html-ize it. 
Stick that in your backup script and be done.

I keep thinking there must be an obvious way to integrate Amanda reports 
with Big Brother somehow... Have to think on this.


--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


--
Darin Dugan, System Admin
Iowa State University Extension
www.extension.iastate.edu





Re: question

2003-01-30 Thread Chris Dahn
On Thursday 30 January 2003 03:11 pm, [EMAIL PROTECTED] wrote:
 I  login as 'amanda' to run 'amdump' and 'amrestore'.
 The utility is GNUTAR.
 The command 'amrestore -p ...| tar xvf -'  works, but the owner of 
 restored files were changed
 to 'amanda'.
 How to prevent to change 'owner'?

 Thanks!

 David

Run as root should fix that, or at least, on my system, when you untar things 
as root, it doesn't change their ownership to root.



RE: columm widths in daily mail report

2003-01-30 Thread Keith Higgs
I have to agree.  While the package names escape me at the moment there
are already lots of toys for converting text files to other formats,
including HTML.

D. Keith Higgs mailto:[EMAIL PROTECTED] x0559
 Case Western Reserve University, Webmaster - University Library
 Additional Information at http://www.cwru.edu/UL/ and
http://keith.cwru.edu/
Follow the white rabbit.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Darin Dugan
 Sent: Thursday, January 30, 2003 03:16 PM
 To: Joshua Baker-LePain; Mitch Collinsworth
 Cc: Don Carlton; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
 [EMAIL PROTECTED]
 Subject: Re: columm widths in daily mail report
 
 
 But I'm not certain that this needs to be a part of Amanda either. 
Anyone could write up a quick perl script to take amreport -f and
html-ize it. 
Stick that in your backup script and be done.




Re: question

2003-01-30 Thread barryc

man tar
SNIP
  Function Modifiers
 The characters below may be used  in  conjunction  with  the
 letter that selects the desired function.

 p Restore the named files to their original  modes,  and
   ACLs  if  applicable,  ignoring  the present umask(1).
   This is the default behavior if invoked as  super-user
   with  the  x function letter specified. If super-user,
   SETUID and sticky information are also extracted,  and
   files are restored with their original owners and per-
   missions, rather than owned by root. When  this  func-
   tion  modifier  is  used with the c function, ACLs are
   created in the tarfile along with  other  information.
   Errors   will  occur  when  a  tarfile  with  ACLs  is
   extracted by previous versions of tar.
SNIP
also note
SNIP
 o Ownership. Assign to  extracted  files  the  user  and
   group  identifiers  of  the  user running the program,
   rather than those on  tarfile.  This  is  the  default
   behavior  for users other than root. If the o function
   modifier  is  not  set  and  the  user  is  root,  the
   extracted  files will take on the group and user iden-
   tifiers of the files on tarfile (see chown(1) for more
   information).  The  o  function modifier is only valid
   with the x function.
SNIP

You will likely also need to run amrestore as root.

I  login as 'amanda' to run 'amdump' and 'amrestore'.
The utility is GNUTAR.
The command 'amrestore -p ...| tar xvf -'  works, but the owner of  restored
files were changed 
to 'amanda'.
How to prevent to change 'owner'?




Quantum SDLT 320 tape drive.

2003-01-30 Thread lone_wolf_20
Hello.  I've used Amanda in the past, and I'm going to
migrate my current backup system to Amanda.  My
questions are really about Quantum SDLT tapes and
Amanda configuration.  

I've got about 220 or so GB which need weekly full
dumps performed, and nightly incremental.  I am
planning on using a Quantum SDLT 320 tape drive in
conjunction w/ a large hard disk (approx 200 GB).  The
HD will serve as storage for the incremental runs in
this case.  Our current setup is a single DSS-4 tape,
which was fine about a year ago, but the drive space
has grown rapidly while the backup capacity hasn't. My
questions are as follows:

1) Is there a way to specify incremental runs to dump
to the holding disk as opposed to the tape within the
config files?  I could just not change the tape until
the weekly full dump is scheduled and turn on the
auto-flush, but I'm not sure if this is the best way
to do things.  Running Amanda with a large tape size
means consolidating incremental dumps to be flushed at
the time of the full run, otherwise I waste a huge
amount of tape space.

2) Has anyone used the SDLT 320 drives w/ Amanda?  I
searched the group archives and didn't get much from
them on these drives, same with the FAQ (tape-info
would be nice for these drives).

3) I am planning on using a Linux box (running RedHat
8.0) with sufficient power to do software compression.
 I’m wondering if this configuration makes sense for
the size / time restrictions on the running of full
and incremental backups.  Just bouncing the idea off
of the group to see if there's any issues involved
with this setup.

Thanks for your time.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Re: Quantum SDLT 320 tape drive.

2003-01-30 Thread Jason L Tibbitts III
 lw == lone wolf [EMAIL PROTECTED] writes:

lw 2) Has anyone used the SDLT 320 drives w/ Amanda?  I searched the
lw group archives and didn't get much from them on these drives, same
lw with the FAQ (tape-info would be nice for these drives).

I have an SDLT220 drive; it works just fine.  The only issue I have is
with compression: I do software compression but I can't seem to get
the drive to turn off its internal compression properly.  This seems
to result in erratic tape capacity.

lw 3) I am planning on using a Linux box (running RedHat 8.0) with
lw sufficient power to do software compression.

Well, I back up a couple of terabytes of disk to a single SDLT220
drive without problems; the dumps can sometimes take six hours or so
but they're always finished by the morning.

 - J



Kontakt Lenste Yeni Yil Firsati 1 Kutu Lens 35 Milyon USTELIK ADRESE TESLIM KACIRMAYIN________

2003-01-30 Thread lens111
En ucuz lensler icin lutfen tiklayin. 
Bir telefonla adrese teslim.

http://www.akdenizgoz.com

 Akdeniz Goz Merkezi 
Fevzipaþa No:73 Fatih0 212 635 74 74




Listeden cikmak icin[EMAIL PROTECTED] adresine bos mail gonderiniz



Re: NO_AMANDA (was Re: RAIT in 2.4.3b4)

2003-01-30 Thread Marc W. Mengel

 one more thing I'm curious about: is the backwards C idiom

if (0 != sometestfunc())

 instead of the usual

if (sometestfunc() != 0)

 preferred by amanda developers, or Mr. Mengel? It's very strange to
 read, I've never seen it before :)

Well, I can't speak for the other developers but putting the constant on
the left is just good C coding practice. It avoids == vs = typographical
errors.  Put simply:
   if ( 0 = x )
is a syntax error while
   if ( x = 0 )
is not; so if you accidentally type = instead of != or ==, you
get an error message, instead of unintentionally making an
assignment.




Re: RAIT in 2.4.3b4

2003-01-30 Thread Marc W. Mengel

On Mon, 27 Jan 2003, Scott Mcdermott wrote:

 I'm not talking about multiple writes to the same tape happening at
 once.  With a single parity tape, all writes to any drive in the set
 block on writes from any of the other drives, since they all wait on the
 same drive head used to record parity information.  This limits write
 speed to all the drives in the data set combined, to that of the single
 parity drive.

That would be true, except *every* drive out there
1) buffers writes
2) writes really slowly, relative to the bus speed.
So the fact that you are writing round-robin rather than in parallel
(which you can really only do if you have distinct SCSI bus/fiber
paths to your various drives anyway) doesn't in practice make
much difference.

 Read operations can still go in parallel with RAIT4, but the write case
 is of course what needs optimizing for a tape backup system.

The RAIT code also does round-robin reads; once again drive buffering
makes it work quite well in practice.

 ok, I just read the RAIT code.  A few things, which I'm sure you are
 already aware of already (and now your comments make a lot of sense):

- it doesn't have any parallelism at all, so it gains no concurrency
  advantages; it simply loops among the data set members, does one
  write, blocks, does the other, etc then write the parity tape.

The parallelism you get is that the drives buffer before writing; and
write much more slowly than the buffers can be filled.

- it's limited to RAIT4, and additionally:

- it has the divisor limitation you mention due to this code:

data_fds = pr-nfds - 1;
 if (0 != len % data_fds) {
 errno = EDOM;
 rait_debug((stderr, rait_write:returning %d: %s\n,
 -1,
 strerror(errno)));
 return -1;
 }
 /* each slice gets an even portion */
 len = len / data_fds;

  (and the rest of the write implementation)

The reason for that was to avoid the overhead of adding a descriptor
and pad bytes to the end of the frames; this is particularly important
when you want it to work with fixed-1k-block drives and the default
amanda blocksizes...

- the #ifdef NO_AMANDA stuff is pretty much exact duplication.
  Anyone consider just moving this out into a library instead of
  duplicating whole routines in rait-*.c ?

The RAIT code was initially done to be part of a different package
(the Fermi Tape Tools package) and got migrated to amanda, the
idea was to be able to move it back the other way some day.

 I guess there isn't any way, then, to employ multiple write heads at
 once, without having different sets of backups that use different tape
 devices.  This sounds like it would be really hard to set up with a
 changer.

That's not true at all, which you'll see if you try it...

 Effectively enough, though.  If no one speaks up about RAIT, it means no
 one is using it.  And if they are using it in isolation, they may as
 well not be using it.

Well, it may just mean no one who is using it happens to be reading
just this minute.  I would be interested to know how many folks
are acutally using it, though.

 I'm just saying, when considering it for a production deployment,
 measuring list response to questions about it is a valid measure of its
 maturity, if not an exact one.

Ah, but what attribute of list response do you measure?  Initial response
time? Quality of answers? Quantity of answers?




Re: Is tapeio included in 2.4.3?

2003-01-30 Thread Marc W. Mengel
On Wed, 29 Jan 2003, Tommy F. Eriksen wrote:

 We've been running amanda-2.4.2p2-tapeio for quite a while now and have been very 
happy with it.
 I'm now setting up a new backupserver and am planning to run 2.4.3 on it (of course) 
- which leads me to this quick (and possibly dumb) question:
 Is tapeio included with 2.4.3 or do I need extra patches?

Tapeio *is* included in 2.4.3.

 Anything else I need to pay attention to when switching?
 The plan is to make a new configuration etc, so I won't need to re-use indexes and 
the likes.

I'm not thinking of any stumbling blocks; there are some new features
to some of the commands, mostly.

-
Marc Mengel [EMAIL PROTECTED]





Re: exclude lists on server

2003-01-30 Thread Marc W. Mengel

On Wed, 29 Jan 2003, Joshua Baker-LePain wrote:

 On Wed, 29 Jan 2003 at 3:13am, Leonid Mamtchenkov wrote

  Is there any amanda-way to have exclude lists on the server and update
  them on the client before each backup?  I think, it would be easier to
  manage exlude list from the central location, rather then manually copy
  them over to all clients every time a change is introduced.

 Well, you could always set up passwordess ssh and scp them over at the
 beginning of your backup script.

Or put them on a read-only NFS export...

Marc





Re: Tape and disk mirror configuration

2003-01-30 Thread Marc W. Mengel

On Wed, 29 Jan 2003 [EMAIL PROTECTED] wrote:

 Hi,
 I have seen a number of suggetstions that it is
 possible to configure the rait driver to mirror
 backups to disk and tape. I have tried
 unsuccessfully to get this going for a while now.

 Is there anyone out there that has this going that
 can post their exact config and procedures?

 I am running amanda-2.4.3 on a Sun Solaris server,
 with a sigle tape drive - no changer :-( and I want
 to duplicate the backups to a local disk (for in
 house backups and offsites).

 I have successfully configured both backups to tape
 and backups to disk separately, but not to both with
 the rait driver.

So that means you should have 2 configs, which when diff-ed,
yeild something like:

5c5
 tapedev tape:/foo
---
 tapedev file:/bar

for suitable values foo and bar.

What you then want is a config, like those two, whose tapedev
line looks like:

 tapedev rait:{tape:/foo,file:/bar}

Marc




Re: Quantum SDLT 320 tape drive.

2003-01-30 Thread Gene Heskett
On Thursday 30 January 2003 18:09, Jason L Tibbitts III wrote:
 lw == lone wolf [EMAIL PROTECTED] writes:

lw 2) Has anyone used the SDLT 320 drives w/ Amanda?  I searched
 the lw group archives and didn't get much from them on these
 drives, same lw with the FAQ (tape-info would be nice for these
 drives).

I have an SDLT220 drive; it works just fine.  The only issue I
 have is with compression: I do software compression but I can't
 seem to get the drive to turn off its internal compression
 properly.  This seems to result in erratic tape capacity.

This sounds as if that drive type uses a scheme similar to the DDS 
drives use, wherein the compression state in effect when that tape 
was first written, is recorded in a hidden header only the drive 
can access. So when a tape that been compressed before is 
re-inserted and recognized, even if the dip switch setting is off, 
it will turn the compression back on in the process of recognizing 
the tape.

For a DDS drive, one must use mt to turn it off, and then force 
enough data to the drive to cause it to have to flush the buffers 
to tape.  This then will rewrite that hidden header with the 
compression flag bits turned off, and you should then have an 
uncompressed tape.

To preserve the tape label, do it something like this, commands 
adjusted for your environment of course.

mt -f /dev/device rewind
#save the tapes label
dd if=/dev/device of=scratch bs=32k
mt -f /dev/device rewind
# shut the compression off
mt -f /dev/device compression off
# now force a buffer flush to update the flags
dd if=/dev/zero of=/dev/device bs=32k count=10
mt -f /dev/device rewind
# restore the tapes label
dd if=./scratch of=/dev/device bs=32k
mt -f /dev/device rewind

One could clean this up and make it work then put this into a script 
and run it 30 minutes before amdump is fired off.

lw 3) I am planning on using a Linux box (running RedHat 8.0)
 with lw sufficient power to do software compression.

Well, I back up a couple of terabytes of disk to a single SDLT220
drive without problems; the dumps can sometimes take six hours or
 so but they're always finished by the morning.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.22% setiathome rank, not too shabby for a WV hillbilly



Re: columm widths in daily mail report

2003-01-30 Thread Tom Schutter
On Thu, 2003-01-30 at 13:16, Darin Dugan wrote:
 At 01:33 PM 1/30/2003, Joshua Baker-LePain wrote:
 On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote
 
   On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:
  
On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
   
 Has anyone changed the mail report to produce html?
   
Oh, the horror!  ;)
  
   Agreed if sent by e-mail,  but if it were instead dumped into a web-served
   directory...
 
 Well, IMO it's still unnecessary.  Webservers serve out plain text just
 fine.
 
 Sometimes I feel like such a curmudgeon.
 
 Agreed. (the first part, not the curmudgeon) But there's a difference 
 between needed features and desired features. HTML formatted reports 
 probably fall into the desired category.
 
 That said, web-based Amanda reports could be useful for those who would 
 rather check a central web site than read yet another piece of mail. My 
 first order of business in the day is to open a central console that fires 
 off to MRTG graphs, big brother reports, a call database, etc. Amanda could 
 be another one of those.

A good reason to have HTML reports is features, not prettyness.  Use the
hypertext part of HTML.

For example, error messages could be links to doc that explains in
detail what the error means, and how to fix it.

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)