variable in disklist file?

2008-09-24 Thread Yu Chen

Can you put variable in disklist file? Like:

set disk="/computer/home/mydir/"
host.mydomain   ${disk}/backup1  comp-server-tar -1 eth2

Chen


Re: Amanda on Macos X

2008-08-22 Thread Yu Chen

yes i followed the instruction of this page.

This system (authentification with SSH) is oK on a Linux fedora client.

But this client is Macos X leopard, i have the problem !!!

With the user amanda on the server, i write

ssh [EMAIL PROTECTED]

In this case, it's ok !!

But with amacheck, i have this problem

On the server, in the /tmp/amanda/server/saroumane, i have this :

amcheck: debug 1 pid 18120 ruid 33 euid 0: start at Thu Aug 21 21:49:19 2008
amcheck: debug 1 pid 18120 ruid 33 euid 33: rename at Thu Aug 21 21:49:19 
2008

security_getdriver(name=ssh) returns 0x2b122b60
security_handleinit(handle=0x61f790, driver=0x2b122b60 (SSH))
security_streaminit(stream=0x620310, driver=0x2b122b60 (SSH))
changer_query: changer return was 6 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
security_stream_seterr(0x620310, SOCKET_EOF)
security_seterror(handle=0x61f790, driver=0x2b122b60 (SSH) error=EOF on 
read from saroumane.nt.fr)

security_close(handle=0x61f790, driver=0x2b122b60 (SSH))
security_stream_close(0x620310)
amcheck: pid 18120 finish time Thu Aug 21 21:49:19 2008


But on the maxos X Leopard, idon't find any logs
Why 


Is there a /tmp/amanda directory on your Leopard box?

Chen





thanks,


julien


Le 21 août 08 à 17:40, Yu Chen a écrit :


Thank alo for your response

I used Launcctl to run the script.

When i taped on my server

$ amcheck saroumane

I obtained an error

Amanda Tape Server Host Check
-
Holding disk /dumps/amandatapes/saroumane: 166641 MB disk space available, 
using 166541 MB

slot 6: read label `saroumane-06', date `X'
NOTE: skipping tape-writable test
Tape saroumane-06 label ok
NOTE: host info dir 
/usr/local/amanda/etc/amanda/saroumane/curinfo/saroumane does not exist

NOTE: it will be created on the next run.
NOTE: index dir /usr/local/amanda/etc/amanda/saroumane/index/saroumane 
does not exist

NOTE: it will be created on the next run.
Server check took 0.137 seconds
Host key verification failed.

Amanda Backup Client Hosts Check

WARNING: saroumane: selfcheck request failed: EOF on read from 
saroumane.nt.fr

Client check: 1 host checked in 0.094 seconds, 1 problem found

(brought to you by Amanda 2.5.1p3)

Why 

If i taped
-bash-3.1$ ssh [EMAIL PROTECTED]
Last login: Thu Aug 21 17:12:28 2008 from backup
saroumane:~ amanda$

I connedted without problems and without password.

But by amcheck, i have this error : Host key verification failed.


But this error seems from the server check, not client check, right?
For client error, check /tmp/amanda directory on the client to see what 
exactly happened.


So I am assuming you are using SSH authention. I am not familar with it. 
But just to check, that you followed the instruction at 
"http://wiki.zmanda.com/index.php/How_To:Set_up_transport_encryption_with_SSH";

right?






Thanks,


Julien




Le 21 août 08 à 16:00, Yu Chen a écrit :


I installed amanda on macos X.
I followed the instruction of this page :
Installation/OS Specific Notes/Installing Amanda on Mac OS X
All is ok.
I compiled the source and installed the program.
But, on leopard, what is the next step ?
In the documentation, there is this sentence :
Leopard
At least one user is successfully using Amanda on Leopard, though he is 
using SSH authentication, not BSD*. (I am testing with BSD, passed 
amcheck phase, will see how the backup goes tonight (08/20/2008))

Ok for the authentication but how do you run the amandad server ?
Like Tiger ?

First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the plist 
file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda 
without server on Leopard.
And just to report, my backup finished just fine. I will do a restore 
today, see if the backup really works. Then report back (probably on wiki 
too).

Chen

thank you for your help
Julien

=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250


Re: Amanda on Macos X

2008-08-21 Thread Yu Chen

I installed amanda on macos X.
I followed the instruction of this page :

Installation/OS Specific Notes/Installing Amanda on Mac OS X

All is ok.
I compiled the source and installed the program.

But, on leopard, what is the next step ?
In the documentation, there is this sentence :


Leopard

At least one user is successfully using Amanda on Leopard, though he is using 
SSH authentication, not BSD*. (I am testing with BSD, passed amcheck phase, 
will see how the backup goes tonight (08/20/2008))


Ok for the authentication but how do you run the amandad server ?
Like Tiger ?


First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the plist 
file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda 
without server on Leopard.


And just to report, my backup finished just fine. I will do a restore 
today, see if the backup really works. Then report back (probably on wiki 
too).


Chen



thank you for your help


Julien




===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Amanda on Macos X (fwd)

2008-08-21 Thread Yu Chen
Seems my first reply didn't get through, I am sending it again. Sorry if 
you get duplicates.


-- Forwarded message --
Date: Thu, 21 Aug 2008 10:00:06 -0400 (EDT)
From: Yu Chen <[EMAIL PROTECTED]>
To: Nouveaux Territoires <[EMAIL PROTECTED]>
Cc: Amanda user's group 
Subject: Re: Amanda on Macos X


I installed amanda on macos X.
I followed the instruction of this page :

Installation/OS Specific Notes/Installing Amanda on Mac OS X

All is ok.
I compiled the source and installed the program.

But, on leopard, what is the next step ?
In the documentation, there is this sentence :


Leopard

At least one user is successfully using Amanda on Leopard, though he is using 
SSH authentication, not BSD*. (I am testing with BSD, passed amcheck phase, 
will see how the backup goes tonight (08/20/2008))


Ok for the authentication but how do you run the amandad server ?
Like Tiger ?


First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the plist file, 
then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda without 
server on Leopard.


And just to report, my backup finished just fine. I will do a restore today, 
see if the backup really works. Then report back (probably on wiki too).


Chen



thank you for your help


Julien




=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Tape Open, Input/Output Error

2008-03-21 Thread Yu Chen

Amanda Tape Server Host Check
-
WARNING: holding disk /opt/amanda: only 15564476 KB free, using nothing
ERROR: /dev/nst0: tape_rdlabel: tape open: /dev/nst0: Input/output error
  (expecting tape Daily-002 or a new tape)


use "mt -f /dev/nst0 status" to see if it shows anything, it might be the 
tape door is not closed. And check "dmesg" output, see if any tape related 
error.




NOTE: skipping tape-writable test
Server check took 0.648 seconds

Amanda Backup Client Hosts Check

Client check: 3 hosts checked in 16.401 seconds, 0 problems found

(brought to you by Amanda 2.4.4p1)

Recommendations on best way to proceed?  Thanx in advance.







===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: mutiple network interfaces

2007-10-09 Thread Yu Chen

How do I tell Amanda to use a specific network interface if 2 exist on
the system.


I think you define it in amanda.conf like:
define interface eth2 {
comment "1000 Mbps ethernet"
use 4000 kbps
}
then use it in disklist file, put eth2 at the end of each list you want it 
to be used.




For instance I would like Amanda to only use the ce4 interface..
ce0: flags=1000843 mtu 1500 index 2
   inet 10.20.1.181 netmask  broadcast 10.20.255.255
   ether 0:3:ba:9a:4f:6f
ce4: flags=1000843 mtu 1500 index 3
   inet 172.23.1.73 netmask ff00 broadcast 172.23.1.255
   ether 0:3:ba:9a:4f:6f
Thanks,
Anderson





=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: gtar still running after amdump was done

2007-09-26 Thread Yu Chen
I am running amanda 2.5.2p1 with "-o tpchanger= -o tapedev=" options, my 
holding disk is 100GB. The server/client is on the same computer. After 
amdump finished, I found there are still two "gtar" running. I checked 
amanda log file, it says

"...
FAIL driver [host] [disk1] [date] 0 [no more holding disk space]
FAIL driver [host] [disk2] [date] 0 [no more holding disk space]
"
at the end, and the two disks are corresponding to the two "gtar" 
processes.


Is this right? Is it should be automatically killed/aborted if this 
happens?


I've seen and reported this problem many times, in this exact instance
(holddisk filled up) and also when there is a data timeout either
during the estimate phase or with amdump. Thing is that it's not 100%
reproducible in my local setup so I suspect that some other
condition(s) must be met for this to happen.


The problem is known, but difficult to solve.
It means that the server should contact the client (which in the
current implementation is not expecting such actions) and the
client should find the related running processes, and kill them.
The situation is sufficiently rare, and the solution sufficiantly
complicated, that a fix is not yet implemented.  Anyway, a fix
on the server would not work any existing client either.
What the server does now, is close the TCP-connection.
And whenever the other side notices the closed connection, any program
depending on it should stop.  But it seems that some clients fail
to detect this (OS dependend?) or, at least, take a long time after
the fact to detect this.  When this happens, you usually get the
cryptic error message in the client debug files "connection reset
by peer". It's sometimes difficult to relate this to a server
problem some time before.


Thank for the detailed explanation. So this seems radom. Yesterday, my 
backup was done fine. The log still gave the error for the exact same two 
diskes:

"...
FAIL driver [host] [disk1] [date] 0 [no more holding disk space]
FAIL driver [host] [disk2] [date] 0 [no more holding disk space]
" 
Yet, no 'gtar' was left running.


CY




--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***





===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: gtar still running after amdump was done

2007-09-25 Thread Yu Chen

I am running amanda 2.5.2p1 with "-o tpchanger= -o tapedev=" options, my
holding disk is 100GB. The server/client is on the same computer. After
amdump finished, I found there are still two "gtar" running. I checked
amanda log file, it says
"...
FAIL driver [host] [disk1] [date] 0 [no more holding disk space]
FAIL driver [host] [disk2] [date] 0 [no more holding disk space]
"
at the end, and the two disks are corresponding to the two "gtar"
processes.

Is this right? Is it should be automatically killed/aborted if this
happens?


I've seen and reported this problem many times, in this exact instance
(holddisk filled up) and also when there is a data timeout either
during the estimate phase or with amdump. Thing is that it's not 100%
reproducible in my local setup so I suspect that some other
condition(s) must be met for this to happen.


Hmm... have searched archive before posting, didn't find your post, 
although there is another post with same symptoms, but different cause 
with no solution. I will see if it happens again.




You don't specify your OS though...I've seen this on a server running
irix-6.5.19 (old!) and amanda 2.5.2p1.



Mine is Red Hat Enterprise Linux AS release 3 (Taroon Update 9) and 
amanda2.5.2p1.



jf



Thanks in advance.

CY


===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
=======






===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


gtar still running after amdump was done

2007-09-25 Thread Yu Chen

Hi,

I am running amanda 2.5.2p1 with "-o tpchanger= -o tapedev=" options, my 
holding disk is 100GB. The server/client is on the same computer. After 
amdump finished, I found there are still two "gtar" running. I checked 
amanda log file, it says

"...
FAIL driver [host] [disk1] [date] 0 [no more holding disk space]
FAIL driver [host] [disk2] [date] 0 [no more holding disk space]
"
at the end, and the two disks are corresponding to the two "gtar" 
processes.


Is this right? Is it should be automatically killed/aborted if this 
happens?


Thanks in advance.

CY


===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Dump to holding disk only?

2007-09-12 Thread Yu Chen

On 9/12/07, Yu Chen <[EMAIL PROTECTED]> wrote:

Actually this is where puzzled me. My server is my client as well, so
basically it dumps itself. The disks are on a RAID 5 array directly
connected to the server through SCSI. But it seems it never can keep up
with the tape. Don't know where I missed something or is this right?


Ah -- in that case you probably want to avoid holding-disk altogether.
Chris posted on the topic just a few minutes ago, but basically your
RAID-5 is being asked to work overtime -- read (as client), write (to
holding), and read (from holding).  If you move holding to another
disk -- a single fast drive, or a RAID1 array, or the like, you should
see your performance improve.


Thanks, Dustin and Chris.

That IS my problem! I will try no-holding disk see if it can catch up with 
tape drive.


Chen


Dustin





=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Dump to holding disk only?

2007-09-12 Thread Yu Chen

I am wondering if there is a way to tell amanda to dump to holding disk
only. Then I will amflush it to tape, this way I can keep the tape busy
all time as I understand to prevent shoe-shinning for sure. I understand
if I don't put any tapes in the drive, this will be done. But I have a
tape library can hold 16 tapes, I would like to take advantage of that
without changing tape everyday manually like a single tape drive.


The idea of the holding disk is to prevent such shoe-shining.  If your
holding disk is large enough, and if your server can dump clients
faster than the tape can write, then it will collect dumps in holding
and write them out when they are complete, just as you'd like.


Thanks, Dustin
Actually this is where puzzled me. My server is my client as well, so 
basically it dumps itself. The disks are on a RAID 5 array directly 
connected to the server through SCSI. But it seems it never can keep up 
with the tape. Don't know where I missed something or is this right?


 >

That said, this is an often-requested feature.  You can get what you want with

amdump CONFIG -otpchanger= -otapedev=

which basically "nulls out" the tape device and tape changer in the
configuration.


Thanks, I am going to try that.



Dustin





===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Dump to holding disk only?

2007-09-12 Thread Yu Chen

Hi,

I am wondering if there is a way to tell amanda to dump to holding disk 
only. Then I will amflush it to tape, this way I can keep the tape busy 
all time as I understand to prevent shoe-shinning for sure. I understand 
if I don't put any tapes in the drive, this will be done. But I have a 
tape library can hold 16 tapes, I would like to take advantage of that 
without changing tape everyday manually like a single tape drive.


Thanks in advance.
Chen


=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: amanda on Mac OS X

2006-05-16 Thread Yu Chen

Good to know, Michael, I am still using the xtar trick, didn't even check,
, and amanda works on Intel chipped Mac just fine.

Chen


Hello Karel,
Hello list,

FYI: I'm happily running amanda-2.5.0 on Mac OS X 10.4.6. No compile
problems whatsoever and as a special treat, Apple has updated their UNIX
utilities in 10.4 to properly work with HFS+ and resource forks. So no
hfstar/xtar is needed any more. I've tested this quite a bit and found
it to work nicely, although I haven't tested a full system recovery.

An update to
https://webserver.brandeis.edu/pages/view/Bio/AmandaMacOSXCompileNotes
or http://www.amanda.org/docs/systemnotes.html#id2526824 to reflect this
change might be nice.

Since Apple has retired init and xinetd and replaced them by launchd,
I've written a proper LaunchDaemon-File for it. It's attached to this
mail. I also have small scripts enableamanda and disableamanda to switch
it on and off at runtime using launchctl using a command like:

echo "load -w /System/Library/LaunchDaemons/org.amanda.amandad.plist" | 
launchctl

and

echo "unload -w /System/Library/LaunchDaemons/org.amanda.amandad.plist" | 
launchctl

Thanks and keep up the great work!




===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


out of tape but actually not?

2005-06-29 Thread Yu Chen

Hi,

I got this strange error, couldn't understand why. It says out of tape, 
but it actually only used 14% of the AIT-3 tape which has 100GB native 
capacity, the directory failed is about 25GB, which should fit into the 
tape with plenty space left, am I right?


Here is the output from amdump, thanks for any help.

-
master.cl. /iridium/raid4/p2/Tang/raid3/p8 lev 0 FAILED [out of 
tape]



STATISTICS:
  Total   Full  Daily
      
Estimate Time (hrs:min)0:14
Run Time (hrs:min) 2:58
Dump Time (hrs:min)2:35   2:03   0:32
Output Size (meg)   35233.233366.7 1866.4
Original Size (meg) 46933.843262.8 3670.9
Avg Compressed Size (%)74.9   77.1   46.3   (level:#disks ...)
Filesystems Dumped   64  4 60   (1:52 2:6 3:1 4:1)
Avg Dump Rate (k/s)  3882.8 4637.9  992.9

Tape Time (hrs:min)0:27   0:19   0:08
Tape Size (meg) 13551.611685.1 1866.5
Tape Used (%)  14.0   12.11.9   (level:#disks ...)
Filesystems Taped63  3 60   (1:52 2:6 3:1 4:1)
Avg Tp Write Rate (k/s)  8446.810280.2 3991.0

USAGE BY TAPE:
  Label Time  Size  %Nb
  HHMI005   0:27   13551.6   14.063



=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: [off-topip] Better Backup Media

2005-06-23 Thread Yu Chen
Thanks for the link, was not aware about that, just assumed it should be 
backwards compatiable. Really likes AIT. Yeah, it definitly going to make 
us think twice before upgrading.


Chen



On Tue, 21 Jun 2005, Chris Loken wrote:

BUT - my AIT-4 drive apparently can't even read AIT-3 tapes. Seems 
mind-bogglingly stupid but my vendor assures me it's true (haven't dared to 
try).


Anybody understand if this is an issue that's going to be resolved and, if 
so, will it be in firmware or hardware?


Answer looks pretty clear from the charts here:

http://b2b.sony.com/documents/category/storage/branded-tape/AIT_Drives/AIT-4/AITMedia_05.pdf

I suppose it was necessary in order to progress, but bailing on backwards
compatibility is very annoying to the customer.  It's also not especially
good for business.  If I've been buying all the AIT line drives, at least
in part because the newer ones will read tapes I wrote with the older
ones, then I have a business reason to engage in brand loyalty.  Once
that reason is gone then the next time I upgrade drives, all media
choices are back on the table again and I may choose something other than
AIT the next time.  Didn't the same thing happen with DLT between DLT8000
and SDLT?

-Mitch




=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: [off-topip] Better Backup Media

2005-06-21 Thread Yu Chen

Agree here. We like AIT. And now AIT-4 is out.

Chen


On Mon, Jun 20, 2005 at 08:17:55PM -0300, Fabricio Luiz Machado wrote:

Hi.
Some of my DDS-4 tapes are bad (I/O error).
So... i?m thinking if these tapes are trustworthy... :-/
Are there another better solution, that I can trust more than DDS-4 ?
Maybe DLT ?


DLT has a good track record, but is expensive and been obsoleted by
newer technologies.  A lot of us here speak very highly of AIT, and it's
positioned to replace DDS in the market.  I'd look into AIT.

Brandon




=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Preventing yum or up2date to update gnu tar

2005-06-03 Thread Yu Chen

From time to time, we run "yum update" (On centos) or up2date (On

redHat) to keep our servers patched.

Reading the amanda docs, I realize that there could be problem with
gnu tar if we back up with one version and restore with another...

I know it's not really an amanda question but this may be something
one of you Linux admins might have encountered.

Is there a way to prevent "up2date" or "yum update" to update certain
packages ? Like gnu tar ?


You can edit the file /etc/sysconfig/rhn/up2date, to let up2date skip the 
gnutar package.




Thanks




=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: statistic values

2004-04-26 Thread Yu Chen
Hello, 

I was checking my amanda reports, and found out most of them the "Run 
Time" is less than "Dump Time", which means "inparallel" is working. 
But some of them the "Dump Time" appears less then "Run Time", is this 
right? When could this happen?

Thanks in advance for your time and advise!

Chen

On Mon, 19 Apr 2004, Paul Bijnens wrote:

> Christian Molière wrote:
> 
> > ~  Total   Full  Daily
> > ~      
> > Estimate Time (hrs:min)0:08
> > Run Time (hrs:min) 2:27
> > Dump Time (hrs:min)3:59   3:38   0:21
> ...
> > 
> > and i'd like to know what does run time value represente ?
> > Is someone can give me this information ?
> 
> The run time is the wall clock time, from the time amanda was
> started, until it finished.  2 hours, and 27 minutes in the case above.
> If amanda started at one minute past midnight, it finished at 2:28
> in the morning.
> 
> The first 8 minutes of this period were used to do the estimate phase.
> 
> If all the dumps were run sequentially one after another, it would have
> taken 3 hours 59 minutes, (3 hours 38 minutes for the full dumps plus
> 21 minutes for the incremental dumps).
> 
> 
> 
> 

-- 

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===




Re: The Top Ten

2004-02-10 Thread Yu Chen
Sorry, I missed the original message, only saw part of it. My mistake.


On Tue, 10 Feb 2004, Paul Bijnens wrote:

> Yu Chen wrote:
>
> > I think it is easier just modify the amdump script to run scirpts
> > before/after backups, so no recompiling, no testing, plain shell
> > scripting. Just put whatever you want at the beginning and end of amdump.
>
> Yes, but amdump runs on the server, not on the client.
>
> And if it's only one machine where server = client,
> then why don't you just execute this from crontab:
>
>   #!/bin/sh
>   dbstop
>   amdump TheConfig
>   dbstart
>
> No need at all to change amdump in this case.
> Or did I miss something?
>
> --
> Paul Bijnens, XplanationTel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
> http://www.xplanation.com/  email:  [EMAIL PROTECTED]
> ***
> * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
> * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
> ***
>


Re: The Top Ten

2004-02-10 Thread Yu Chen
I think it is easier just modify the amdump script to run scirpts 
before/after backups, so no recompiling, no testing, plain shell 
scripting. Just put whatever you want at the beginning and end of amdump. 

Chen

On Sun, 8 Feb 2004, Paul Bijnens wrote:

> Stefan G. Weichinger wrote:
> > This is review 0.5 of this doc.
> 
> About how to run scripts before/after amanda backups, see also:
> 
> http://amanda.sourceforge.net/fom-serve/cache/348.html
> 
> somehow this fom entry does not show up in the menu (as are
> all the entries from the last year or so  -- cleaning up the
> FOM would be nice too).
> 
> > 
> > Let me know what you think.
> > 
> 
> Nice work already...
> 
> 

-- 

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347 (primary)
(410)455-2718 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===



Re: can't backup a disk?

2003-11-11 Thread Yu Chen
Thanks Frank and Gene, 

I think I got it. Very helpful list!
Chen

-- 

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347
(410)455-2718
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===



Re: can't backup a disk?

2003-11-11 Thread Yu Chen
Thanks again, Gene and Frank!

Yeah, my tar is fine, it's 1.13-25. I installed amanda from rpms. 
So according to Frank, since /var and /var/spool/mail are on different 
diskes, tar shouldn't cross them, right? 

Best 
Chen

> No, by dump, I meant the program 'dump', as opposed to the program 
> 'tar' (usually gnutar, and it needs to be at least version 1.13-19, 
> plain old 1.13 won't do, its busted, get 1.13-25 from alpha.gnu.org's 
> ftp site)
> 
> tar should be able to do this, no problem, although if you leave the 
> email agent running full time (I do, I'm on dsl) then its every so 
> often scans of your mailbox at your ISP might occasionally cause a 
> "file changed while we read it" message from tar if its updateing the 
> mail spool while tar is reading it.
> 
> However, since you have /var in the disklist, and tar traverses all 
> subdirs below the named one, there must be a more fundamental 
> problem, possibly related to permissions.  You did configure and 
> build amanda as the user 'amanda' didn't you?  And then become root 
> before installing her?
> 
> >On Tue, 11 Nov 2003, Gene Heskett wrote:
> >> On Tuesday 11 November 2003 09:42, Yu Chen wrote:
> >> >Hello, I have a client with diskes like this:
> >> >/dev/hda1  /boot
> >> >/dev/hda2  /
> >> >/dev/hda3  /var
> >> >/dev/hda5  /var/spool/mail
> >> >
> >> >before, the amanda works fine with the first three diskes,
> >> > recently, I added /var/spool/mail to the disklist, but amanda
> >> > failed to back it up, gave out message:
> >> >FAILURE AND STRANGE DUMP SUMMARY:
> >> >  hostname /var/spool/mail lev 0 FAILED [disk /var/spool/mail
> >> > offline?]
> >> >
> >> >I don't know where to look into, thanks for any advices!
> >> >
> >> >Chen
> >>
> >> Are you using tar, which can do a subdir, or dump, which does the
> >> whole partition or nothing?
> 
> 

-- 

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347
(410)455-2718
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





Re: can't backup a disk?

2003-11-11 Thread Yu Chen
Thanks, Gene

Think that might be the problem. I will try it tonight.
 
So you mean by "dump", it should backup everything under /var including 
/var/spool/mail? But it didn't happen on my system, the "dump" didn't 
back it up. That's why I added the entry. 

Chen

On Tue, 11 Nov 2003, Gene Heskett wrote:

> On Tuesday 11 November 2003 09:42, Yu Chen wrote:
> >Hello, I have a client with diskes like this:
> >/dev/hda1  /boot
> >/dev/hda2  /
> >/dev/hda3  /var
> >/dev/hda5  /var/spool/mail
> >
> >before, the amanda works fine with the first three diskes, recently,
> > I added /var/spool/mail to the disklist, but amanda failed to back
> > it up, gave out message:
> >FAILURE AND STRANGE DUMP SUMMARY:
> >  hostname /var/spool/mail lev 0 FAILED [disk /var/spool/mail
> > offline?]
> >
> >I don't know where to look into, thanks for any advices!
> >
> >Chen
> 
> Are you using tar, which can do a subdir, or dump, which does the 
> whole partition or nothing?
> 
> 

-- 

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347
(410)455-2718
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===



can't backup a disk?

2003-11-11 Thread Yu Chen
Hello, I have a client with diskes like this:
/dev/hda1  /boot
/dev/hda2  /
/dev/hda3  /var
/dev/hda5  /var/spool/mail

before, the amanda works fine with the first three diskes, recently, I 
added /var/spool/mail to the disklist, but amanda failed to back it up, 
gave out message:
FAILURE AND STRANGE DUMP SUMMARY:  
   
  hostname /var/spool/mail lev 0 FAILED [disk /var/spool/mail offline?]

I don't know where to look into, thanks for any advices!

Chen

-- 

=======
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 122
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-6347
(410)455-2718
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===