Re: [Bacula-users] getting both error and success messages while testing tape with btape

2006-08-13 Thread Kern Sibbald
This is incorrect behavior (i.e. you should not get the MTWEOF error). It will 
*probably* work, but I wouldn't run my tape drive this way.  It looks like 
Bacula is not seeing the logical end of tape marker, but is writing right to 
the physical end of the tape (very bad). Also, on a modern tape drive, Bacula 
should be backing up and re-reading the last record written, but it looks 
like you disabled that.  Your tape drive modes are probably not set correctly 
-- could be either or both of the Bacula Device specification or the modes 
set by mt.   Sorry, I cannot help any more than that.

On Tuesday 08 August 2006 18:55, Jaime Ventura wrote:
 Hello,
 I'v recently purchased an auto charger.
 Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM
'till now I was using disk storage for my backups, and i would like 
 bacula to use it.
 I ran the fill command on btape.
 The fowllowing are the last lines of the execution of the command.
 As you can seen, the execution end with a The last block on the tape 
matches. Test succeeded..
 But before that line there is an error detected The last block on the 
tape matches. Test succeeded. and rigth after ioctl MTWEOF error on IBM 
Ultrium 3 (/dev/nst0). 
 ERR=Input/output error.
 Should I be worried?
  Thanks in advance,
 
 
 Wrote blk_block=657, dev_blk_num=1 VolBytes=423,584,690,368 
 rate=58104.9 KB/s
 Wrote blk_block=6575000, dev_blk_num=15000 VolBytes=423,907,250,312 
 rate=58117.3 KB/s
 Wrote blk_block=658, dev_blk_num=4500 VolBytes=424,229,810,256 
 rate=58105.7 KB/s
 08-Aug 17:25 btape: End of Volume TestVolume1 at 616:6986 on device 
 IBM Ultrium 3 (/dev/nst0). Write of 64512 bytes got -1.
 08-Aug 17:25 btape: btape Error: Error writing final EOF to tape. This 
 Volume may not be readable.
 dev.c:1542 ioctl MTWEOF error on IBM Ultrium 3 (/dev/nst0). 
 ERR=Input/output error.
 btape: btape.c:2301 Last block at: 616:6985 this_dev_block_num=6986
 btape: btape.c:2335 End of tape 616:6986. 
 VolumeCapacity=424,390,187,064. Write rate = 58111.8 KB/s
 Done writing ...
 Wrote state file last_block_num1=6985 last_block_num2=0
 
 
 17:25:16 Done filling tape at 616:6986. Now beginning re-read of tape ...
 Rewinding.
 Reading the first 1 records from 0:0.
 1 records read now at 1:5084
 Reposition from 1:5084 to 616:6985
 Reading block 6985.
 
 The last block on the tape matches. Test succeeded.
 -- 
 
 
 
  
 
 
 Jaime Ventura
 [Infra-estruturas e Comunicações]
 
 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59
 
 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt 
 
   
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] getting both error and success messages while testing tape with btape

2006-08-08 Thread Jaime Ventura
Hello,
I'v recently purchased an auto charger.
Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM
   'till now I was using disk storage for my backups, and i would like 
bacula to use it.
I ran the fill command on btape.
The fowllowing are the last lines of the execution of the command.
As you can seen, the execution end with a The last block on the tape 
matches. Test succeeded..
But before that line there is an error detected The last block on the tape 
matches. Test succeeded. and rigth after ioctl MTWEOF error on IBM Ultrium 
3 (/dev/nst0). 
ERR=Input/output error.
Should I be worried?
 Thanks in advance,


Wrote blk_block=657, dev_blk_num=1 VolBytes=423,584,690,368 
rate=58104.9 KB/s
Wrote blk_block=6575000, dev_blk_num=15000 VolBytes=423,907,250,312 
rate=58117.3 KB/s
Wrote blk_block=658, dev_blk_num=4500 VolBytes=424,229,810,256 
rate=58105.7 KB/s
08-Aug 17:25 btape: End of Volume TestVolume1 at 616:6986 on device 
IBM Ultrium 3 (/dev/nst0). Write of 64512 bytes got -1.
08-Aug 17:25 btape: btape Error: Error writing final EOF to tape. This 
Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on IBM Ultrium 3 (/dev/nst0). 
ERR=Input/output error.
btape: btape.c:2301 Last block at: 616:6985 this_dev_block_num=6986
btape: btape.c:2335 End of tape 616:6986. 
VolumeCapacity=424,390,187,064. Write rate = 58111.8 KB/s
Done writing ...
Wrote state file last_block_num1=6985 last_block_num2=0


17:25:16 Done filling tape at 616:6986. Now beginning re-read of tape ...
Rewinding.
Reading the first 1 records from 0:0.
1 records read now at 1:5084
Reposition from 1:5084 to 616:6985
Reading block 6985.

The last block on the tape matches. Test succeeded.
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users