Amanda-Users

Re: Problem with amflush

2004-02-05 07:01:39
Subject: Re: Problem with amflush
From: "Rohit" <rohit AT genetechindia DOT com>
To: "Stefan G. Weichinger" <monitor AT oops.co DOT at>, <amanda-users AT amanda DOT org>
Date: Thu, 5 Feb 2004 17:22:48 +0530
> R> Ok. Can I create one more directory under /backup, set permissions,
move
> R> all dumps from /backup into the new directory and run amflush again?
Will
> R> that be okay?
>
> Yes, this should work.

I did this, created another directory under /backup called "amanda_hold" and
inside it one more directory called "DailySet1". I moved all amanda stuff
from
/backup to /backup/amanda_hold/DailySet1 directory.

I then changed directory permissions [for the new directories which I have
created
and also windows directory] to amanda.disk.

But still amflush does not work. Here is the output of amflush -f

$ /usr/sbin/amflush -f DailySet1
Scanning /backup/amanda_hold/DailySet1...
  20031230: found Amanda directory.
  20040130: found Amanda directory.
  20040131: found Amanda directory.
  20040201: found Amanda directory.
  20040203: found Amanda directory.
  20040205: found Amanda directory.

Multiple Amanda directories, please pick one by letter:
  A. 20031230
  B. 20040130
  C. 20040131
  D. 20040201
  E. 20040203
  F. 20040205
Select directories to flush [A..F]: [ALL] BCDEF

Today is: 20040205
Flushing dumps in 20040130, 20040131, 20040201, 20040203, 20040205 to tape
drive "/dev/nst0".
Expecting tape Set-1-10 or a new tape.  (The last dumps were to tape
Set-1-09)
Are you sure you want to do this [yN]? y
amflush: datestamp 20040205
driver: pid 26065 executable driver version 2.4.3
driver: send-cmd time 0.208 to taper: START-TAPER 20040205
driver: adding holding disk 0 dir /backup/amanda_hold/DailySet1 size 572400
reserving 572400 out of 572400 for degraded-mode dumps
taper: pid 26067 executable taper version 2.4.3
taper: page size is 4096
taper: buffer size is 32768
taper: buffer[00] at 0x400d5000
taper: buffer[01] at 0x400dd000
taper: buffer[02] at 0x400e5000
taper: buffer[03] at 0x400ed000
taper: buffer[04] at 0x400f5000
taper: buffer[05] at 0x400fd000
taper: buffer[06] at 0x40105000
taper: buffer[07] at 0x4010d000
taper: buffer[08] at 0x40115000
taper: buffer[09] at 0x4011d000
taper: buffer[10] at 0x40125000
taper: buffer[11] at 0x4012d000
taper: buffer[12] at 0x40135000
taper: buffer[13] at 0x4013d000
taper: buffer[14] at 0x40145000
taper: buffer[15] at 0x4014d000
taper: buffer[16] at 0x40155000
taper: buffer[17] at 0x4015d000
taper: buffer[18] at 0x40165000
taper: buffer[19] at 0x4016d000
taper: buffer structures at 0x40175000 for 240 bytes
taper: read label `Set-1-09' date `20040205'

Since I ran amflush so many times now, I put the same tape which ran with
amflush about an hour ago. How do I force amanda to use the tape which I put
in the drive? I know nothing was written to the tape, but amanda still
thinks that it wrote something to the tape and it asks for the new tape when
I run amflush again.









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