Amanda-Users

Re: holding disk problems

2006-05-24 14:10:16
Subject: Re: holding disk problems
From: Karsten Fuhrmann <karsten_fuhrmann AT cartoon-film DOT de>
To: amanda-users AT amanda DOT org
Date: Wed, 24 May 2006 20:03:59 +0200
Finally i fixed it. I couldnt just use the old holding disk, because its in use for something else now and there is not enough space on it.
So i decided to change the path names inside the holding chunk files.
I wrote a shell one liner!

for F in 2006*/* ; do echo $F; dd if=$F bs=32768 count=1 | sed -e '2s/ \(.*\)=\/raid\/15\/\(.*$\)/\1=\/mnt\/ad8\/\2/' | dd of=$F bs=32768 count=1 conv=notrunc ; done

And finally it worked.

On 24. May 2006, at 15:37 Uhr, Jon LaBadie wrote:

On Wed, May 24, 2006 at 10:09:39AM +0200, Paul Bijnens wrote:
On 2006-05-23 19:07, Jon LaBadie wrote:
On Tue, May 23, 2006 at 12:29:13PM -0400, Guy Dallaire wrote:
2006/5/23, Karsten Fuhrmann <karsten_fuhrmann AT cartoon-film DOT de>:
Hello list,
i installed a new holding disk in my system and copied all the files
of the old holding disks to the new one.
[...]

In the amflush.1 file i found the following error messages :

size_holding_files: open of /raid/15/20060513000000/stern.cartoon-
film.de._usr.4.1 failed: No such file or directory
stat /raid/15/20060513000000/stern.cartoon-film.de._usr.4.1: No such
file or directory


I'm guessing the original location of the files is in the dump logs.


The full pathname of the next part of a holding disk chunk is inside
the previous chunk. (It can not be simply relative basename because
you can have chunks spread over multiple holdingdisks.)

And "ln -s" is the solution to flush, as you already found out probably.

Ahh, HD chunks are a single ended linked list. Hadn't heard that before.

--
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Greetings,
Karsten Fuhrmann

Cartoon-Film Thilo Rothkirch
System Administration
phone:  +49 30 698084-109
fax: +49 30 698084-29
email: karsten_fuhrmann AT web DOT de




<Prev in Thread] Current Thread [Next in Thread>