Hi,

First, thank all for your replies, with your help i've finally solved
the problem, the server had been rebooted, and the script that had to
put seteotmodel=1 didn't work, thus my config started to fail.

Also I would like to share a bit of info that it might help you in the
future, if you're like me and have a difficult time understanding low
level tape info.

There seems to be a bit of confusion about how to configure the Drive
device in FreeBSD. 

When i started searching in the documentation and forums, and judging by
the responses in the list, the default FreeBSD configuration seems to be
this one:

  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = yes

Also, this is the first example in bacula doc for FreeBSD:
http://www.bacula.org/dev-manual/Testing_Your_Tape_Drive.html#TapeTestingChapter

The thing is, this configuration works and btape will say so, but as
Kern said, it totally cripples the funcionalities of your tape.

Most of the people using this config without problems on LTO-2/LTO-3
Drives usually never need to fast forward. Well, if you need to fast
forward as i had to (not in the same round of backups, but loading again
this tape another day), you will find that your backups need about 2
hours to position at the end of the last backups!!

So, for those having these kind of problems, this configuration works
fine on a HP Ultrium LTO2 Drive on FreeBSD 6.1:

As suggested in this list: make sure your tape is set to eot model=1 and
all the usual stuff, usually with these commands:

mt  -f  /dev/nsa0  seteotmodel  1
mt  -f  /dev/nsa0  blocksize  0
mt  -f /dev/nsa0  comp  enable

Then you can leave all the rest like usual and only need Hardware End of
Medium = no, like this:

Device {
  Name = Drive-1
  Drive Index = 0
  Media Type = LTO2
  Archive Device = /dev/nsa0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes

  Offline On Unmount = no
  Hardware End of Medium = no
}

This is also indicated in the documentation as a side note for FreeBSD
4.10-RELEASE, using a Sony TSL11000 L100 DDS4.

If you feel that the documentation should have some "modern" tape
configuration examples, it would be nice if people on the list posted
some tested and working configuration on LTO-2 and LTO-3 drives, to be
able to update it.

If we get enough info, with this, btape and checking the tape info
string, we could make a "wizard" that would try to guess your drive
config, and give you an example Device{} config.

I feel that the example in the documentation now, while safe, it
shouldn't be the usual configuration, but instead as an alternative to
people having problems with their drives (like, ok this disables most
funcionality but may fix your problems)


Hopefully this post made any sense ;-)


Regards,
-- 
José E. Molina
Técnico de Sistemas
Brújula
T. +34 971 433 909 - F. +34 971 433 910
www.brujula.es
___________________________
En el corazón de su negocio





-------------------------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to