Re: Can't get my HP DAT72i to work

2004-09-07 Thread Christoffer Dahl Petersen





Config error?  Why does amanda think your tape drive is /dev/null?
What did you tell it in amanda.conf?


Hi again!

How stupid can I be, yes of course I had forgot to define tapedev!
My mistake - sorry 

/Christoffer


<>

Can't get my HP DAT72i to work

2004-09-06 Thread Christoffer Dahl Petersen




Hi!
My setup is like this:
OS: Fedora Core 2
Kernel: 2.6.5
Amanda ver.: Amanda-2.4.4p2
Tape drive: HP DAT 72i
SCSI adapter: Adaptec 29160B Ultra160 


When I want to label my tapes Amanda gives me this error:
bash-2.05b$ amlabel DagligRotation Band-02
rewinding
amlabel: tape_rewind: rewinding tape: /dev/null: Inappropriate ioctl for device


In amanda.conf I have defined a tapetype based  on:
bash-2.05b$ amtapetype -e 35G -f /dev/tape
define tapetype unknown-tapetype {
    comment "just produced by tapetype prog (hardware compression on)"
    length 30103 mbytes
    filemark 0 kbytes
    speed 2550 kps
}


What is wrong?

/christoffer




Re: Problems with amrecover and file path

2003-10-14 Thread Christoffer Dahl Petersen




tir, 2003-10-14 kl. 15:34 skrev Paul Bijnens:


Workaround:

	setdisk /home/files   (or whatever your DLE is named)
	cd *MAGS	(or "??MAGS": use a wildcard as args to cd)

Workaround nr 2:

	amrestore -p ... | tar -xvf - './  MAGS/some/file'

(While panicking, it is maybe wiser to restore into a temporary
empty directory to avoid overwriting critical files.)



Hi Paul!

Now I have a poster hanging above my desk saying: "Man of the day: Paul Bijnens"  
I tried your "workaround nr. 1", but it didnt work, but it gave me a clue, here is the workaround:
setdisk /home/files
cd "  MAGS"

So why I can't use: setdisk "/home/files/  MAGS"   is strange, but most important; it works!!

So thanks again!!!

- Christoffer 










<>

Problems with amrecover and file path

2003-10-14 Thread Christoffer Dahl Petersen




Hi!

I should recover some files from a directory, but I can't get into the directory.
The path is: /home/files/\ \ MAGS/   or "/home/files/  MAGS/", here is what I do:
#amrecover daily
amrecover> setdisk /home/files/\ \ MAGS
Mount point "\" invalid - must start with /
Invalid command - parse error
amrecover>

How can I do that - PLEASE HELP - I'm about to be killed by my boss 

Regards,
Christoffer


<>

Re: Amanda win32 Client

2003-09-03 Thread Christoffer Dahl Petersen




Hi Jon!

Thank you for your reply!
Does that mean that it isn't possible to backup Windows Client with Amanda?

Ones again, thank you very much for your reply!

- Christoffer 

tir, 2003-09-02 kl. 17:33 skrev Jon LaBadie:

Not an authoritative answer by any means, so I make it off list.






Amanda win32 Client

2003-09-02 Thread Christoffer Dahl Petersen




Hi I have tried the Amanda win32 Client. My question is: can I only do a backup of an entire drive and not a specified folder?

Best regards 

Christoffer




Re: What cause this error?

2003-07-19 Thread Christoffer Dahl Petersen
On Sat, 19 Jul 2003, Gene Heskett wrote:
 
> And is the compression turned off in the drive?

I dont know, how do I verify that?

Christoffer Dahl Petersen
 



Re: What cause this error?

2003-07-19 Thread Christoffer Dahl Petersen
lør, 2003-07-19 kl. 10:30 skrev Gene Heskett:

> Well, this is missing one vital piece of info, but it looks as if you 
> taped one filesystem only, and it was close to 12Gb.  Then it didn't 
> have room for the next one of 26Gb.  How big is the tape in raw 
> capacity?

The Tapes says: 40/80GB
And my tapedrive is a HP Surestore DAT40I 
(http://amanda.sourceforge.net/cgi-bin/fom?_highlightWords=hp%20surestore&file=132)

Thanks

Christoffer





What cause this error?

2003-07-19 Thread Christoffer Dahl Petersen
Hi!

I'm starting to get the same error more and more often, but I don't know
what is causing it?
When I run amcheck, I get this:
Amanda Tape Server Host Check
-
Holding disk /var/tmp: 13484300 KB disk space available, that's plenty
NOTE: skipping tape-writable test
Server check took 1.396 seconds

Amanda Backup Client Hosts Check

Client check: 2 hosts checked in 0.756 seconds, 0 problems found

(brought to you by Amanda 2.4.2p2)

-
But when I run the actually backup I get this back:
These dumps were to tape daglig3.
*** A TAPE ERROR OCCURRED: [[writing file: Input/output error]].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next tape Amanda expects to use is: daglig1.

FAILURE AND STRANGE DUMP SUMMARY:
  filserver2 /home/files2 lev 0 FAILED [out of tape]
  filserver2 /home/files2 lev 0 FAILED ["data write: Connection reset by
peer"]
  filserver2 /home/files2 lev 0 FAILED [dump to tape failed]


STATISTICS:
  Total   Full  Daily
      
Estimate Time (hrs:min)0:01
Run Time (hrs:min) 5:54
Dump Time (hrs:min)2:48   2:48   0:00
Output Size (meg)   11890.611890.60.0
Original Size (meg) 21655.021655.00.0
Avg Compressed Size (%)54.9   54.9-- 
Filesystems Dumped1  1  0
Avg Dump Rate (k/s)  1208.1 1208.1-- 

Tape Time (hrs:min)2:48   2:48   0:00
Tape Size (meg) 11890.611890.60.0
Tape Used (%)  35.1   35.10.0
Filesystems Taped 1  1  0
Avg Tp Write Rate (k/s)  1208.1 1208.1-- 


FAILED AND STRANGE DUMP DETAILS:

/-- filserver2 /home/files2 lev 0 FAILED ["data write: Connection reset
by peer"]
sendbackup: start [filserver2:/home/files2 level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -f... -
sendbackup: info end
\


NOTES:
  taper: tape daglig3 kb 25720480 fm 2 writing file: Input/output error


DUMP SUMMARY:
 DUMPER STATSTAPER STATS
HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS 
KB/s
-- -

filserver/home/files 0 2217476012175968  54.9 167:581208.1
167:591208.1
filserver2   -ome/files2 0 FAILED
---

(brought to you by Amanda version 2.4.2p2)


-
Can someone tell me what the problem is here.

Thanks

Christoffer Dahl Petersen



How do I force Amanda do the backup

2003-06-26 Thread Christoffer Dahl Petersen
Hi!

My setup looks like this:
I have 5 tapes, and I would like to do a backup every working day
(monday to friday), therefor my amanda.conf looks like:
dumpcycle 5
runspercycle 5
tapecycle 5 tapes

Is that right??

Next I would like Amanda to do a full dump every day therefor I have put
"dumpcycle 0" in my "define dumptype".

The last thing is that I dont wont Amanda to look at the label of tape,
if there is a tape in the drive it should do the backup no matter what -
How do I tell Amanda that??

Please help

- Christoffer