The cap command just prints out the last error message encountered.  It
isn't actually hitting an error itself.

To provide useful information you need to supply the error messages in the
context in which they occur.  I recommend starting btape with the -v and -d
100 options and then post the output.

Are you using a blank tape?  Have you tried rewinding the tape and writing
an EOF mark to clear any existing data?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Robert Nelson
> Sent: Monday, March 26, 2007 9:05 PM
> To: 'Rex Wheeler'; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Should tapes drives on windows work?
> 
> Make sure the storage daemon isn't running when you run btape.
> 
> net stop bacula-sd
> 
> Once you are finished you can start the storage daemon with
> 
> Net start bacula-sd
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:bacula-users-
> > [EMAIL PROTECTED] On Behalf Of Rex Wheeler
> > Sent: Monday, March 26, 2007 8:18 PM
> > To: bacula-users@lists.sourceforge.net
> > Subject: [Bacula-users] Should tapes drives on windows work?
> >
> > I tried to get a tape drive working with the storage daemon on Windows
> > without success. Before I bang my head against the wall too much, I
> > wanted to ask if in general this works or not. I realize that the
> > Windows side of stuff is still "experimental".
> >
> > I am running Windows 2003 Server that is up to date patch-wise. I am
> > trying to use a DLT-7000 tape drive. The tape drive seems to work
> > correctly with Windows backup and Veritas Backup Exec. The tape drive
> > passed both the Quantum and HP DLT diagnostics.
> >
> > I installed the 2.0.3 binaries on the server and set up the
> > configuration files. My director on another machine can communicate with
> > it.
> >
> > My problem is that there seems to be some basic issue talking to the
> > tape drive. When I fire up btape and try something simple like asking
> > for capabilities I get:
> >
> > *cap
> > Configured device capabilities:
> > EOF BSR BSF FSR FSF FASTFSF !BSFATEOM EOM REM !RACCESS AUTOMOUNT !LABEL
> > !ANONVOLS ALWAYSOPEN MTIOCGET
> > Device status:
> > OPENED TAPE LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT
> > Device parameters:
> > Device name: Tape0
> > File=0 block=0
> > Min block=0 Max block=0
> > Status:
> >  Bacula status: file=0 block=0
> >  Device status: BOT ONLINE IM_REP_EN file=0 block=0
> > btape: ../../stored/btape.c:1799 Device status: 645.
> > ERR=../../stored/dev.c:1545 ioctl MTBSR error on "DLT-7000" (Tape0)
> > . ERR=Input/output error.
> >
> > If I run the btape test command I don't even get past the first step.
> >
> > Is there something basic about setting up tape drives under Windows I am
> > missing?
> >
> > Rex
> >
> > ------------------------------------------------------------------------
> -
> > 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
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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




-------------------------------------------------------------------------
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