Amanda-Users

Re: amtapetype error - Estimate phase 2

2004-11-16 11:16:24
Subject: Re: amtapetype error - Estimate phase 2
From: Keith Howanitz <howanitz AT gmail DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 16 Nov 2004 10:01:43 -0600
On Mon, 15 Nov 2004 21:46:38 -0500, Gene Heskett
<gene.heskett AT verizon DOT net> wrote:
> 
> The only thing that comes to mind quickly is to see if ammt can cause
> that tape to rewind itself, the clue is similar to its not being
> rewound between passes.
[SNIP]

I have tried using ammt instead of mt with a tar backup and everything
appeared to function just fine.  Text below

[root]# ammt -d -f /dev/nst0 status
debug mode!
syntax: eof                  -> e
syntax: weof                 -> w
syntax: fsf                  -> f
syntax: asf                  -> a
syntax: bsf                  -> b
syntax: rewind               -> rewi
syntax: offline              -> o
syntax: rewoffl              -> rewo
syntax: status               -> s
tapename is "/dev/nst0"
calling tape_open("/dev/nst0",0)
processing status(1)
calling tapefd_status()
/dev/nst0 status: ONLINE BOT

[root]# ammt -d -f /dev/nst0 rewind
debug mode!
syntax: eof                  -> e
syntax: weof                 -> w
syntax: fsf                  -> f
syntax: asf                  -> a
syntax: bsf                  -> b
syntax: rewind               -> rewi
syntax: offline              -> o
syntax: rewoffl              -> rewo
syntax: status               -> s
tapename is "/dev/nst0"
calling tape_open("/dev/nst0",0)
processing rewind(1)

[root]# tar -cf /dev/nst0 /mhome/test/
tar: Removing leading `/' from member names

[root]# ammt -d -f /dev/nst0 rewind
debug mode!
syntax: eof                  -> e
syntax: weof                 -> w
syntax: fsf                  -> f
syntax: asf                  -> a
syntax: bsf                  -> b
syntax: rewind               -> rewi
syntax: offline              -> o
syntax: rewoffl              -> rewo
syntax: status               -> s
tapename is "/dev/nst0"
calling tape_open("/dev/nst0",0)
processing rewind(1)

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