Amanda-Users

Re: New user: Trouble getting amlabel to work correctly.

2003-08-08 10:01:03
Subject: Re: New user: Trouble getting amlabel to work correctly.
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Nate Cosgrove" <ncosgrove AT airdesk DOT net>, "Amanda-Users (E-mail)" <amanda-users AT amanda DOT org>
Date: Fri, 8 Aug 2003 09:58:56 -0400
On Friday 08 August 2003 09:01, Nate Cosgrove wrote:
>When I try to use amlabel to set up tapes for my backup set, I get
> the following: Command:
>sudo -u amanda amlabel -f DailySet1 DailySet100
>Output:
>rewinding, reading label, reading label: Input/output error
>rewinding, writing label DailySet100, checking label
>amlabel: no label found, are you sure /dev/st0 is non-rewinding?
>
>I am using amanda version 2.4.2 on a redhat 8 box with kernel
> version 2.4.18-14.
>
>The tape device is on /dev/st0

First /dev/st0 IS a rewinding device.  This does _not_ work with 
anything amanda related.  Use /dev/nst0 instead which will leave the 
tape sitting at the end of the written data when the access path is 
closed.  This is a requirement to be able to use amanda.  Rewinding 
of the tape must be under amandas control.

>The physical hardware is a Seagate STD224000N (Scorpion 24) DDS-3
> single-tape drive.
> http://www.seagate.com/support/tape/specs/dds/std22400.html
>
>I have already determined that the problem is not with user
> permissions for the user amanda.  I have already tried backing up
> files using tar as the user amanda with success.
>
>Although the purpose may be complete overkill, I am simply trying to
> back up one local directory at this stage.
>
>I am not sure if I defined the tapetype for the seagate drive
> correctly.
>
>I attached the amand.conf and disklist files (gzipped).

Unforch, without saveing them and unpacking them by hand, I cannot 
look at the gzipped file with kmail.  Thats probably a mis-config of 
the Ark utility here, but plain text would be prefered for such 
attachments.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.