Weird dumpsize problem (symlinks??)

2005-10-24 Thread Jobst Schmalenbach

all,

I have got a weird problem and cant figure out whats wrong.


I get an error during a dump:

  FAILURE AND STRANGE DUMP SUMMARY:
lalalalala /samba lev 1 FAILED [dump larger than tape, 10101550 KB, 
skipping incremental]

so that means its 10.1GB, correct? (The tape is only 4/8gb, but thats not the 
questions here).


Yet when I do a du -s . inside that /samba directory:

  [EMAIL PROTECTED] /samba] #du -s .
  5.3G.

Thats HALF of what amanda is trying to backup!
I have no idea where the 5GB comes from amanda is trying to dump.



Does Amanda follow symlinks? I thought it does not!

I have two symlinks in there, which COULD encount for the incorrect sizes:

   [EMAIL PROTECTED] /samba] #find -lname * -exec ls -la {} \;
   lrwxrwxrwx  1 root root 6 Oct  8 17:20 ./Shares/SysAdmins/home - /home/
   lrwxrwxrwx  1 root root 16 Oct  8 17:20 ./Shares/SysAdmins/Profiles - 
/samba/Profiles/

I use these (if I am on a windows box and logged in as SysAdmin)
to fiddle with users profiles or with users home directories.












-- 
Computers run on smoke, once the smoke gets out they don't work anymore!

 __, Jobst Schmalenbach, Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L  The Meditation Room P/L  
 -(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia


Listing a tape content ?

2005-10-24 Thread Guy Dallaire
Is there an easy way to list the content of an amanda tape ?

I'd like to have the file / directory names and the last modification
dates of the files.

Thanks



Re: Tape size problem

2005-10-24 Thread Alexander Jolk

Lloyd Weehuizen wrote:

I have been using Amanda to automate backups to a Ultrium LTO 2 device
for about a year now. Up until now there have been no issues and the
backups were easily fitting on the tapes. However lately the datasize is
going above 100Gig and for some reason Amanda is reporting it has
reached the end of the device even though it is a 200G native tape.


Are you sure your drive and tapes are LTO-2?  I'm using LTO-2 with 
hardware compression off, and I routinely hit EOT around 206 million KB.


Alex





--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29



Don't understand what's happening specifying Samba shares to amadmin find

2005-10-24 Thread KEVIN ZEMBOWER
I don't understand what's happening when I try to specify Samba shares on the 
command line:

[EMAIL PROTECTED]:~$ amadmin DBackup find centernet  
Scanning /dumps/amanda2...
Scanning /dumps/amanda...
Scanning /dumps/amanda2...
Scanning /dumps/amanda...

date   host disk  lv tape or file 
file status
snip
2005-10-21 centernet.jhuccp.org //db/e$0 DBackup29  
 7 OK
snip
2005-10-21 centernet.jhuccp.org //db/f$0 DBackup29  
 9 OK
snip
[EMAIL PROTECTED]:~$ amadmin DBackup find centernet //db/e$
snip
No dump to list
[EMAIL PROTECTED]:~$ amadmin DBackup find centernet //db/f$
snip
No dump to list
[EMAIL PROTECTED]:~$ amadmin DBackup find centernet //db/f$
snip
No dump to list
[EMAIL PROTECTED]:~$ amadmin DBackup find centernet.jhuccp.org //db/f$
snip
No dump to list
[EMAIL PROTECTED]:~$ amadmin DBackup find centernet.jhuccp.org '//db/f$'
snip
No dump to list
[EMAIL PROTECTED]:~$ 

Why don't I ever list the backups done on 21-Oct?

Thanks for helping me with this.

-Kevin



Re: tapetype HP ultrium 3 ?

2005-10-24 Thread FM

Thank you for the reply,
I'm using amtapetype for 3 days now to have the right info, I'll post on 
the amanda tapetype list



Jon LaBadie wrote:


On Thu, Oct 20, 2005 at 06:28:49PM -0400, FM wrote:
 


Hello everybody,

Does some of you have the specs for HP ultrium 3 ?
   



Their website is a good starting point.  For example:

http://h18006.www1.hp.com/products/quickspecs/11739_na/11739_na.html#Technical%20Specifications

 



distlist order ?

2005-10-24 Thread FM

Hello,

Is there a way to backup backup server after all the others server and 
not in the same time ? I have perf issue because the backup server is 
backed up in the same time as the other servers ?


Re: tapetype HP ultrium 3 ?

2005-10-24 Thread Jon LaBadie
On Mon, Oct 24, 2005 at 12:27:34PM -0400, FM wrote:
 Thank you for the reply,
 I'm using amtapetype for 3 days now to have the right info, I'll post on 
 the amanda tapetype list
 

If you mean you have been running a single instance of amtapetype
for 3 days, abort it right now.  The results will be unreliable.
Amtapetype is not fast by anymeans, but it should not take longer
than approximately 3X the time it takes to write a full tape at
maximum interface speed.  Typically that might be 4 - 10 hrs total.

If your run is going much longer I'd guess you did not use the
estimated length option on your command line.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: tapetype HP ultrium 3 ?

2005-10-24 Thread FM

Yes,
I just read about it and I also disabled HW compression.
So now :
amtapetype -o -e 400g -f /dev/nst0
thanks again

Jon LaBadie wrote:


On Mon, Oct 24, 2005 at 12:27:34PM -0400, FM wrote:
 


Thank you for the reply,
I'm using amtapetype for 3 days now to have the right info, I'll post on 
the amanda tapetype list


   



If you mean you have been running a single instance of amtapetype
for 3 days, abort it right now.  The results will be unreliable.
Amtapetype is not fast by anymeans, but it should not take longer
than approximately 3X the time it takes to write a full tape at
maximum interface speed.  Typically that might be 4 - 10 hrs total.

If your run is going much longer I'd guess you did not use the
estimated length option on your command line.

 



Re: distlist order ?

2005-10-24 Thread Jean-Francois Malouin
Hello,

* FM [EMAIL PROTECTED] [20051024 12:40]:
 Hello,
 
 Is there a way to backup backup server after all the others server and 
 not in the same time ? I have perf issue because the backup server is 
 backed up in the same time as the other servers ?


If you have a tape changer with multiple drives I would suggest to
create 2 configurations, one for the server and the other for the rest
of the clients. You start one config while holding the other and once
done just remove the hold file and let the 2nd one have a go.

my 2¢
jf
-- 
Commitment to quality is our number one gaol.


Re: distlist order ?

2005-10-24 Thread Jon LaBadie
On Mon, Oct 24, 2005 at 01:13:46PM -0400, Jean-Francois Malouin wrote:
 Hello,
 
 * FM [EMAIL PROTECTED] [20051024 12:40]:
  Hello,
  
  Is there a way to backup backup server after all the others server and 
  not in the same time ? I have perf issue because the backup server is 
  backed up in the same time as the other servers ?
 
 
 If you have a tape changer with multiple drives I would suggest to
 create 2 configurations, one for the server and the other for the rest
 of the clients. You start one config while holding the other and once
 done just remove the hold file and let the 2nd one have a go.
 
 my 2¢

I've not used them, but aren't there some disklist config options
to specify do these at a specific time or delay these for some time
after starting amdump?

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: distlist order ?

2005-10-24 Thread Jean-Francois Malouin
* Jon LaBadie [EMAIL PROTECTED] [20051024 13:59]:
 On Mon, Oct 24, 2005 at 01:13:46PM -0400, Jean-Francois Malouin wrote:
  Hello,
  
  * FM [EMAIL PROTECTED] [20051024 12:40]:
   Hello,
   
   Is there a way to backup backup server after all the others server and 
   not in the same time ? I have perf issue because the backup server is 
   backed up in the same time as the other servers ?
  
  
  If you have a tape changer with multiple drives I would suggest to
  create 2 configurations, one for the server and the other for the rest
  of the clients. You start one config while holding the other and once
  done just remove the hold file and let the 2nd one have a go.
  
  my 2¢
 
 I've not used them, but aren't there some disklist config options
 to specify do these at a specific time or delay these for some time
 after starting amdump?

hmmm, I'm not aware of such a feature and I can't find nothing
regarding this in the NEWS file and the man pages in 2.4.5 ...


jf

 
 -- 
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)

-- 
° 


Re: distlist order ?

2005-10-24 Thread Matt Hyclak
On Mon, Oct 24, 2005 at 02:14:25PM -0400, Jean-Francois Malouin enlightened us:
  I've not used them, but aren't there some disklist config options
  to specify do these at a specific time or delay these for some time
  after starting amdump?
 
 hmmm, I'm not aware of such a feature and I can't find nothing
 regarding this in the NEWS file and the man pages in 2.4.5 ...
 

The starttime option in the disklist:

#   starttime   - delay the start of the dump?  Default: no delay

See the sample amanda.conf.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


Re: distlist order ?

2005-10-24 Thread Frank Smith
Jean-Francois Malouin wrote:
 * Jon LaBadie [EMAIL PROTECTED] [20051024 13:59]:
 On Mon, Oct 24, 2005 at 01:13:46PM -0400, Jean-Francois Malouin wrote:
 Hello,

 * FM [EMAIL PROTECTED] [20051024 12:40]:
 Hello,

 Is there a way to backup backup server after all the others server and 
 not in the same time ? I have perf issue because the backup server is 
 backed up in the same time as the other servers ?

 If you have a tape changer with multiple drives I would suggest to
 create 2 configurations, one for the server and the other for the rest
 of the clients. You start one config while holding the other and once
 done just remove the hold file and let the 2nd one have a go.

 my 2¢
 I've not used them, but aren't there some disklist config options
 to specify do these at a specific time or delay these for some time
 after starting amdump?
 
 hmmm, I'm not aware of such a feature and I can't find nothing
 regarding this in the NEWS file and the man pages in 2.4.5 ...

Look for starttime in the DUMPTYPE section of the Amanda man page.

Frank
 
 
 jf
 
 -- 
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)
 


-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501


Re: distlist order ?

2005-10-24 Thread Mike Delaney
On Mon, Oct 24, 2005 at 01:57:58PM -0400, Jon LaBadie wrote:
 
 I've not used them, but aren't there some disklist config options
 to specify do these at a specific time or delay these for some time
 after starting amdump?

There's the starttime dumptype option to specify a fixed not before time
of day, but using that for this purpose means estimating when the dumps of
all the other systems are likely to be done.


Re: distlist order ?

2005-10-24 Thread Jon LaBadie
On Mon, Oct 24, 2005 at 12:06:51PM -0700, Mike Delaney wrote:
 On Mon, Oct 24, 2005 at 01:57:58PM -0400, Jon LaBadie wrote:
  
  I've not used them, but aren't there some disklist config options
  to specify do these at a specific time or delay these for some time
  after starting amdump?
 
 There's the starttime dumptype option to specify a fixed not before time
 of day, but using that for this purpose means estimating when the dumps of
 all the other systems are likely to be done.
 

It's better than something that's worse ;)

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


RE: Tape size problem

2005-10-24 Thread Lloyd Weehuizen
Yes, heres /proc/scsi/devices:

Host: scsi2 Channel: 00 Id: 04 Lun: 00
  Vendor: HP   Model: Ultrium 2-SCSI   Rev: F5AH
  Type:   Sequential-AccessANSI SCSI revision: 03

And the tapes I'm using are Imation Black Watch 400GB/200GB Ultrium LTO
2.

Thanks,
Lloyd

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander Jolk
Sent: Tuesday, 25 October 2005 3:29 a.m.
To: Lloyd Weehuizen
Cc: amanda-users@amanda.org
Subject: Re: Tape size problem


Lloyd Weehuizen wrote:
 I have been using Amanda to automate backups to a Ultrium LTO 2 device

 for about a year now. Up until now there have been no issues and the 
 backups were easily fitting on the tapes. However lately the datasize 
 is going above 100Gig and for some reason Amanda is reporting it has 
 reached the end of the device even though it is a 200G native tape.

Are you sure your drive and tapes are LTO-2?  I'm using LTO-2 with 
hardware compression off, and I routinely hit EOT around 206 million KB.

Alex





-- 
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29




Re: distlist order ?

2005-10-24 Thread Deb Baddorf

On Mon, Oct 24, 2005 at 12:06:51PM -0700, Mike Delaney wrote:

 On Mon, Oct 24, 2005 at 01:57:58PM -0400, Jon LaBadie wrote:
 
  I've not used them, but aren't there some disklist config options
  to specify do these at a specific time or delay these for some time
  after starting amdump?

 There's the starttime dumptype option to specify a fixed not before time
 of day, but using that for this purpose means estimating when the dumps of

  all the other systems are likely to be done.




How about specifying  not before   cron-start-time  + 1 hour   for everything
*except*   the backup node itself?Force it to be the first one.It is
easier to estimate how long one node will take,than how long all 
the rest of

them will take.

Of course, that means specifying a starttime  for all nodes but one.

Deb


no backups M-T?

2005-10-24 Thread Cameron Matheson
Hi,

I just got my tape library back online, and I thought backups should be good
to go now, but it seems that maybe all those days that i missed out on backups
have confused amanda or something.  No backups occured over the weekend (I had
changed my crontab to make it run 7 days a week), but I didn't get any emails
from amanda over the weekend.  I tried running 'amadmin DailySet1 balance', and
it reports the following:

 due-date  #fsorig KB out KB   balance
--
10/24 Mon0  0  0  --- 
10/25 Tue0  0  0  --- 
10/26 Wed0  0  0  --- 
10/27 Thu0  0  0  --- 
10/28 Fri   20  182596290  182596290   +362.5%
10/29 Sat6   62085930   62085930+57.3%
10/30 Sun4   31671340   31671340-19.8%
--
TOTAL   30  276353560  276353560  39479080
  (estimated 7 runs per dumpcycle)

How come there is nothing scheduled for Monday-Friday?  My crontab is set back
to running amanda Monday-Saturday (does this utitity even read the crontab?
I'm not sure how it works).  Anyway, I flushed the old backups (from last week)
to tape w/ no difficulty, so I think it should be able to dump stuff to tape...
I'll run amdump manualy tonight if i can't figure this out, but it would be nice
to figure this thing out.

Thanks!
Cameron Matheson


amanda.conf

2005-10-24 Thread Tuan Quan
Anyone has a sample workingamanda.conf file?
I downloadedthe binary from SUN freeware, but do not know how to configure Amanda.

please help.
thanks.

		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 

Re: no backups M-T?

2005-10-24 Thread Gene Heskett
On Monday 24 October 2005 18:06, Cameron Matheson wrote:
Hi,

I just got my tape library back online, and I thought backups should be
 good to go now, but it seems that maybe all those days that i missed
 out on backups have confused amanda or something.  No backups occured
 over the weekend (I had changed my crontab to make it run 7 days a
 week), but I didn't get any emails from amanda over the weekend.  I
 tried running 'amadmin DailySet1 balance', and it reports the
 following:

 due-date  #fsorig KB out KB   balance
--
10/24 Mon0  0  0  ---
10/25 Tue0  0  0  ---
10/26 Wed0  0  0  ---
10/27 Thu0  0  0  ---
10/28 Fri   20  182596290  182596290   +362.5%
10/29 Sat6   62085930   62085930+57.3%
10/30 Sun4   31671340   31671340-19.8%
--
TOTAL   30  276353560  276353560  39479080
  (estimated 7 runs per dumpcycle)

How come there is nothing scheduled for Monday-Friday?  My crontab is
 set back to running amanda Monday-Saturday (does this utitity even read
 the crontab? I'm not sure how it works).  Anyway, I flushed the old
 backups (from last week) to tape w/ no difficulty, so I think it should
 be able to dump stuff to tape... I'll run amdump manualy tonight if i
 can't figure this out, but it would be nice to figure this thing out.

crontabs settings have little to do with amandas scheduleing other than
supplying the do it command at the specified time  dayofweek. You
probably want to check your dumpcycle, runspercycle and such in the
amanda/Dailyset1/amanda.config to make sure its doing an every day mode.
Although, I note that the above does indicate you do have a dumpcycle of 7
days, and a runspercycle of 7 also.  So now I'm scratching my head too.

And coming up empty unforch. 
Thanks!
Cameron Matheson

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.



Re: amanda.conf

2005-10-24 Thread Gene Heskett
On Monday 24 October 2005 18:25, Tuan Quan wrote:
Anyone has a sample working amanda.conf file?
I downloaded the binary from SUN freeware, but do not know how to
 configure Amanda.

please help.
thanks.

The man pages are available at amanda.org in case the Sun download didn't
include them with the binary.  There is quite a goodly number of them so
it will take a bit of time to read them all.

Read up on amanda for a background so that you can come back to the list
and ask more meaningfull questions.  This is so broadly worded that we
would have to retype about 100 pages of text to explain it all.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.



RE: Listing a tape content ?

2005-10-24 Thread Lloyd Weehuizen

It depends on how you backed up your disk. Assuming you're using GNU
tar, you'd want to do something like this:

amrestore -p /dev/nst0 server-name disk | tar -tvf -

That pipes the output of amrestore through tar which just displays the
contents. However this will not give you the modification dates of the
files and I'm not exactly sure how you'd do that :(

Lloyd

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guy Dallaire
Sent: Tuesday, 25 October 2005 2:28 a.m.
To: Amanda (E-mail)
Subject: Listing a tape content ?


Is there an easy way to list the content of an amanda tape ?

I'd like to have the file / directory names and the last modification
dates of the files.

Thanks




Re: Listing a tape content ?

2005-10-24 Thread Jon LaBadie
On Tue, Oct 25, 2005 at 04:47:47PM +1300, Lloyd Weehuizen wrote:
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Guy Dallaire
 Sent: Tuesday, 25 October 2005 2:28 a.m.
 To: Amanda (E-mail)
 Subject: Listing a tape content ?
 
 
 Is there an easy way to list the content of an amanda tape ?
 
 I'd like to have the file / directory names and the last modification
 dates of the files.
 
 It depends on how you backed up your disk. Assuming you're using GNU
 tar, you'd want to do something like this:
 
 amrestore -p /dev/nst0 server-name disk | tar -tvf -
 
 That pipes the output of amrestore through tar which just displays the
 contents. However this will not give you the modification dates of the
 files and I'm not exactly sure how you'd do that :(
 

You already did it.  The v option of tar.

For a file listing, the index files show what was backed up on what date.
But not their mod times.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)