Can you post your Bacula-sd.conf (Without the passwords)? > -----Original Message----- > From: Rex Wheeler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 27, 2007 12:23 AM > To: Robert Nelson; bacula-users@lists.sourceforge.net > Subject: RE: [Bacula-users] Should tapes drives on windows work? > > Here are some btape commands and the output: > > C:\Program Files\Bacula\bin>btape -v -d 100 DLT-7000 > Tape block granularity is 1024 bytes. > btape: ../compat/compat.cpp:378 Leave wchar_win32_path=\ > btape: ../compat/compat.cpp:107 Enter convert_unix_to_win32_path > btape: ../compat/compat.cpp:158 path=\\?\bacula-sd.conf > btape: ../compat/compat.cpp:167 Leave cvt_u_to_win32_path > path=\\?\bacula-sd.conf > btape: ../compat/compat.cpp:194 Enter wchar_win32_path > btape: ../compat/compat.cpp:208 Leave wchar_win32_path no change > btape: ../compat/compat.cpp:729 GetFileAttributes(\\?\bacula-sd.conf): > The system cannot find the file specified. > btape: ../../stored/stored_conf.c:675 Inserting director res: buster-mon > btape: ../../stored/butil.c:286 Using device: "DLT-7000" for writing. > btape: ../../stored/dev.c:254 init_dev: tape=1 dev_name=Tape0 > btape: ../../stored/dev.c:295 open dev: type=2 dev_name="DLT-7000" > (Tape0) vol= mode=OPEN_READ_ONLY > btape: ../../stored/dev.c:345 Open dev: device is tape > btape: ../../stored/dev.c:360 Try open "DLT-7000" (Tape0) > mode=OPEN_READ_ONLY > btape: ../../stored/dev.c:434 open dev: tape 3 opened > btape: ../../stored/dev.c:309 preserve=0x0 fd=3 > btape: ../../stored/dev.c:286 Close fd for mode change. > btape: ../../stored/dev.c:295 open dev: type=2 dev_name="DLT-7000" > (Tape0) vol= mode=OPEN_READ_WRITE > btape: ../../stored/dev.c:345 Open dev: device is tape > btape: ../../stored/dev.c:360 Try open "DLT-7000" (Tape0) > mode=OPEN_READ_WRITE > btape: ../../stored/dev.c:434 open dev: tape 3 opened > btape: ../../stored/dev.c:309 preserve=0x0 fd=3 > btape: ../../stored/btape.c:368 open device "DLT-7000" (Tape0): OK > *rewind > btape: ../../stored/btape.c:469 Rewound "DLT-7000" (Tape0) > *weof > btape: ../../stored/btape.c:499 Wrote 1 EOF to "DLT-7000" (Tape0) > *test > > === Write, rewind, and re-read test === > > I'm going to write 1000 records and an EOF > then write 1000 records and an EOF, then rewind, > and re-read the data to verify that it is correct. > > This is an *essential* feature ... > > 27-Mar 00:17 btape: btape Error: ../../stored/block.c:569 Write error at > 0:0 on device "DLT-7000" (Tape0). ERR=Input/out > put error. > btape: ../../stored/block.c:581 === Write error. fd=3 size=64512 rtn=-1 > dev_blk=0 blk_blk=0 errno=5: ERR=Input/output er > ror > btape: ../../stored/block.c:748 dir_update_volume_info terminate writing > -- OK > btape: ../../stored/block.c:771 Leave terminate_writing_volume -- OK > btape: ../../stored/dev.c:1433 bsf > btape: ../../stored/dev.c:1534 bsr_dev > 27-Mar 00:17 btape: btape Error: Backspace record at EOT failed. > ERR=Input/output error > btape: ../../stored/btape.c:821 Error writing block to device. > *rewind > btape: ../../stored/btape.c:469 Rewound "DLT-7000" (Tape0) > *label > Enter Volume Name: test > 27-Mar 00:18 btape: Fatal Error at ../../stored/dev.c:1670 because: > ../../stored/dev.c:1669 Attempt to WEOF on non-appendable Volume > btape: ../../stored/label.c:311 write_volume_label() > btape: ../../stored/label.c:588 Start create_volume_label() > btape: ../../stored/reserve.c:213 free_volume: no vol on dev "DLT-7000" > (Tape0) > > Volume Label: > Id : Bacula 1.0 immortal > VerNo : 11 > VolName : test > PrevVolName : > VolFile : 0 > LabelType : PRE_LABEL > LabelSize : 0 > PoolName : Default > MediaType : DLT > PoolType : Backup > HostName : > Date label written: 27-Mar-2007 00:18 > btape: ../../stored/label.c:369 Wrote label of 141 bytes to "DLT-7000" > (Tape0) > btape: ../../stored/label.c:372 Call write_block_to_dev() > 27-Mar 00:18 btape: btape Error: ../../stored/block.c:569 Write error at > 0:0 on device "DLT-7000" (Tape0). ERR=Input/out > put error. > btape: ../../stored/block.c:581 === Write error. fd=3 size=64512 rtn=-1 > dev_blk=0 blk_blk=0 errno=5: ERR=Input/output er > ror > btape: ../../stored/block.c:748 dir_update_volume_info terminate writing > -- OK > btape: ../../stored/block.c:771 Leave terminate_writing_volume -- OK > btape: ../../stored/dev.c:1433 bsf > btape: ../../stored/dev.c:1534 bsr_dev > 27-Mar 00:19 btape: btape Error: Backspace record at EOT failed. > ERR=Input/output error > btape: ../../stored/label.c:374 Bad Label write on "DLT-7000" (Tape0): > ERR=../../stored/dev.c:1545 ioctl MTBSR error on > "DLT-7000" (Tape0). ERR=Input/output error. > > Wrote Volume label for volume "test". > *readlabel > btape: ../../stored/label.c:81 Enter read_volume_label res=0 > device="DLT-7000" (Tape0) vol= dev_Vol=*NULL* > btape: ../../stored/label.c:104 Leave read_volume_label() VOL_OK > btape: ../../stored/btape.c:419 Volume label read correctly. > > Volume Label: > Id : VerNo : 0 > VolName : > PrevVolName : > VolFile : 0 > LabelType : Unknown 0 > LabelSize : 0 > PoolName : > MediaType : > PoolType : > HostName : > Date label written: -4712-01-01 at 00:00 > * > > > -----Original Message----- > > From: Robert Nelson [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 26, 2007 10:36 PM > > To: Rex Wheeler; bacula-users@lists.sourceforge.net > > Subject: RE: [Bacula-users] Should tapes drives on windows work? > > > > 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=DEVDE > V > > > > _______________________________________________ > > > > 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=DEVDE > V > > > _______________________________________________ > > > 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