Kern,

thanks for taking the time to help me.

* Kern Sibbald <[EMAIL PROTECTED]>:
> > I am totally new to backups, backup hardware and bacula in special, but I
> > am not a newbie with computers in general.
> > 
> > Following the tutorial
> > <http://www.bacula.org/dev-manual/Volume_Utility_Tools.html#btape> the 
> > program btape hangs on the following error:
> > 
> >     "btape: btape.c:2576  is an illegal command"
> > 
> > Unexperienced as I am at this I don't have the slightest clue where I should
> > start tackling this problem.
> 
> You need to enter a valid command.  Most likely you entered a blank command, 
> which is not valid.

I am not aware of having entered a blank command. Here's what I did:

# btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
btape: btape.c:338 open device "SDX-400C" (/dev/nst0): OK
*test

    === Write, rewind, and re-read test ===
    ...
    === Test Succeeded. End Write, rewind, and re-read test ===


    === Write, rewind, and position test ===
    ...
    === Test Succeeded. End Write, rewind, and re-read test ===


    === Append files test ===
    ...
    CORRECT OUTPUT


    === Write, backup, and re-read test ===
    ...
    Block re-read correct. Test succeeded!
    === End Write, backup, and re-read test ===


    === Forward space files test ===
    ...
    We should be in file 5. I am at file 5. This is correct!
    === End Forward space files test ===


And then the program just hung in there showing a single asterisk for about 15
minutes until I decided to say: quit.

    *quit
    Orphaned buffer:      16 bytes allocated at line 276 of btape reserve.c


Hmmm, it dawns to me that everything was fine and I, believing the program was
stuck, hit "return" to see, if it still responds.

Seems it was waiting for input and and I just didn't regognize the asterisk as
"back at the shell prompt".

Right? My mistake?

Thanks,

[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation und Design

Patrick Koetter            Tel: 089 45227227
Echinger Strasse 3         Fax: 089 45227226
85386 Eching               Web: http://www.state-of-mind.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to