Amanda-Users

Debugging amlabel?

2006-05-04 11:17:15
Subject: Debugging amlabel?
From: Arnd <m_list AT eshine DOT de>
To: amanda-users AT amanda DOT org
Date: Thu, 04 May 2006 17:13:22 +0200
Hello.

Is there a possibility to log the activities of amlabel? I can load any tape with amtape but amlabel doesn't work. After loading the tape from the first slot amlabel tries to label it but this seems to hang:

$ amlabel tapeBackup tapeBackup-01
labeling tape in slot 1 (/dev/nst0):
rewinding, reading label

This command now runs for more than 30 minutes without any debugging information. The drive seems to be in use so it might still be trying to rewind it?:

 $ mtx -f /dev/nst0 status
cannot open SCSI device '/dev/nst0' - Device or resource busy

Maybe the tapetype is misconfigured?:

define tapetype ULTRIUM2 {
    comment "Ultrium 2 HP Tape"
    length 200000 mbytes
}

I was running strace but couldn't find the reason why it hangs.

Regards
Arnd

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