Amanda-Users

strange am-label issue

2003-06-16 08:26:59
Subject: strange am-label issue
From: "Tom Brown" <tom.brown AT goodtechnology DOT com>
To: <amanda-users AT amanda DOT org>
Date: Mon, 16 Jun 2003 13:25:59 +0100
Hi,

Trying to label a set of 6 tapes in a DDS4 autoloader. For some reason after
i load the first tape into the slot and try and do a amlabel the tape is
unloaded and another one loaded into the slot instead. See below.

Any idea why this might be?

Tom

$ mtx -f /dev/sg2 status
  Storage Changer /dev/sg2:1 Drives, 6 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full
      Storage Element 2:Full
      Storage Element 3:Full
      Storage Element 4:Full
      Storage Element 5:Full
      Storage Element 6:Full

so i load tape 1

$ mtx -f /dev/sg2 load 1

and

$ mtx -f /dev/sg2 status
  Storage Changer /dev/sg2:1 Drives, 6 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
      Storage Element 1:Empty
      Storage Element 2:Full
      Storage Element 3:Full
      Storage Element 4:Full
      Storage Element 5:Full
      Storage Element 6:Full

then i try and label it

$ amlabel -f gt-log gt-log01
labeling tape in slot 6 (/dev/nst0):
rewinding, reading label gtlog06, tape is in another amanda configuration
rewinding, writing label gt-log01, checking label, done.

and now tape 6 is loaded

$ mtx -f /dev/sg2 status
  Storage Changer /dev/sg2:1 Drives, 6 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 6 Loaded)
      Storage Element 1:Full
      Storage Element 2:Full
      Storage Element 3:Full
      Storage Element 4:Full
      Storage Element 5:Full
      Storage Element 6:Empty

thanks


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