Amanda-Users

dd question

2004-04-29 11:03:18
Subject: dd question
From: "Dege, Robert C." <robert.dege AT ngc DOT com>
To: "Amanda List (E-mail)" <amanda-users AT amanda DOT org>
Date: Thu, 29 Apr 2004 07:59:51 -0700
Every so often, I'll run the following command to quickly see which amanda tape 
is currently in my tape drive:

# dd if=/dev/nst0 bs=32k

Most of the time, I'll get the header information, but every so often I have to 
run the command twice for the system to successfully read the tape.  i.e.:

bash$ dd if=/dev/tape bs=32k
0+0 records in
0+0 records out

bash$ dd if=/dev/tape bs=32k
AMANDA: TAPESTART DATE 20180319 TAPE SIMNET-02

1+0 records in
1+0 records out


Any idea why this happens?

-Rob

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