Somebody knows why I receive this error when I label a tape?
-sh-3.00$ amlabel mybbookInSite mybbookInSite-10 slot 10
labeling tape in slot 10 (/dev/nst0):
rewinding, reading label, not an amanda tape (Input/output error)
rewinding, writing label mybbookInSite-10, checking label, done.
After that I see that the tape that was previously on slot 10 is on the
data transfer element (this is correct, I think). How can I check that
the tape has been labeled correctly?
Those are the settings in the amanda.conf regarding the tape drive:
runtapes 1
tpchanger "chg-zd-mtx"
tapedev "/dev/nst0"
rawtapedev "/dev/null"
changerfile "/etc/amanda/mybbookInSite/changer.conf"
changerdev "/dev/sg2"
And this is the changer.conf:
firstslot=1
lastslot=16
autoclean=0
havereader=1
offline_before_unload=0
poll_drive_ready=10
max_drive_wait=120
unloadpause=20
driveslot=0
Using Amanda 2.5.1.
Thanks,
--
Fabio Corazza - Engineering
NewBay Software, Ltd.
Wilson House, Fenian Street, Dublin 2, Ireland
Phone: +353 1 634 5490 - e-mail: fabio AT newbay DOT com
|