Quoting Arno Lehmann <[EMAIL PROTECTED]>:

Hello,

On 5/23/2006 11:36 AM, eklektik wrote:
Hi everybody

I work with ubuntu 5.10 and bacula 1.36.3 and i have a problem

Good time to upgrade to 1.38.current, perhaps...
I know but i have a problem (with a mysql file) when i try to install

When i run bacula with new tape, it runs good.
First : Bacula runs a job and write data on tape 1
Second : Bacula runs a job and write data on tape 2
Finally : When i want bacula run a job and write data on tape 1 again i have
an error  :

23-May 11:14 ubuntu-sd: Deuxieme.2006-05-23_11.12.37 Error: I canot write on
Volume "deuxx" because:
The number of files mismatch! Volume=0 Catalog=2
23-May 11:14 ubuntu-sd: Marking Volume "deuxx" in Error in Catalog.
23-May 11:14 ubuntu-sd: Job Deuxieme.2006-05-23_11.12.37 waiting. Cannot
find any appendable volumes.
Please use the "label"  command to create a new Volume for:
   Storage:      HPloader
   Media type:   DDS-4
   Pool:         Deux

If i want to write again on the tape 1, i must prune it and mount
"HPloader".

My bacula-sd.conf is :

Device {
Name = HPloader
Media Type = DDS-4
Changer Device = /dev/sg0       Archive Device = /dev/nst0
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
AutomaticMount = yes;               AlwaysOpen = yes;
Label media = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
Hardware End of Medium = no;
Fast Forward Space File = no ;
 Backward Space record = no ;
 Backward Space file = no ;
 Forward Space Record=no ;
 Forward Space File = no ;

I think my configuration file is wrong but i don't know where.

I think your configuration limits the used tape drive capabilities too
much. You should try enabling the "forward whatever" settings and test
again with btape. Also, there are configuration examples for common DDS
drives in the manual which might be a good start.

From your messages, it seems that the tape is not repositioned when it should.
I except it's a problem of repositionning, but when i enable "forward whatever", i have this message error (with the same use) :

24-May 16:02 ubuntu-sd: Premier.2006-05-24_15.56.19 Error: Unable to position to end of data on device "/dev/nst0". ERR=dev.c:494 ioctl MTEOM error on /dev/nst0. ERR=Input/output error.


Can someone help me ?

Try btape, it should give you an idea where the problem lies.
I have try btape and all the test were good !!!
Arno

Best regards
Stéfan
--
View this message in context: http://www.nabble.com/Problem+rewriting+on+a+tape+with+an+autoloader-t1667903.html#a4520007
Sent from the Bacula - Users forum at Nabble.com.



-------------------------------------------------------
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=k&kid0709&bid&3057&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de



-------------------------------------------------------
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=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to