I have been trying to get my DLT working to run a backup. But Kdat would not recognise it. After searching the mailing list I found a referance to mt_st which I installed but after running $ stint I get this "Can't find the tape characteristics database" Any help please Dave
On Sun, 26 Dec 2004 11:11:53 +0000, David Chapman <linux-lists@ntlworld.com> wrote:
I have been trying to get my DLT working to run a backup. But Kdat would not recognise it. After searching the mailing list I found a referance to mt_st which I installed but after running $ stint I get this "Can't find the tape characteristics database"
Any help please Dave
I don't remember if earlier SUSE releases came with a basic database or not. With, 9.2 it does not seem to be included. You need to create /etc/stinit.conf. A simple valid file is: ---- {buffer-writes read-ahead async-writes} manufacturer=EXABYTE model = EXB-8500SMBANXH1 { can-bsr mode1 blocksize= 245760 } ---- The key thing is the manufacturer and model. Those should be in you dmesg output. I forgotten if they appear during a normal boot, or only after you try to do a stinit. Once you have the basics working you can look for a better stinit.conf entry for your tape drive. I would guess most DLT drives use a similar stinit.conf entry, but I don't use DLT currently. Greg -- Greg Freemyer
It's actually /etc/stinit.def For future referance of anyone else searching the archives. This is the one I created with the help of Google ---------------------------------------------------------------------------------------- # scsi DLT Vendor: DEC Model: DLT2000 Rev: 8528 # Type: Sequential-Access ANSI SCSI revision: 02 # DLT2000 / 2000XT manufacturer="DEC" model = "DLT2000" { scsi2logical=1 can-bsr auto-lock=0 two-fms=0 drive-buffering=1 buffer-writes read-ahead=1 async-writes=1 can-partitions=0 fast-mteom=1 # If your stinit supports the timeouts: timeout=3600 # 1 hour long-timeout=14400 # 4 hours mode1 blocksize=0 density=0x81 # 10GB + compression on DLTtape III, 15+ with DLTtape IIIXT in 2000XT mode2 blocksize=0 density=0x80 # 10GB, no compression on DLTtape III, 15 with DLTtape IIIXT in 2000XT mode3 blocksize=0 density=0x18 # 6GB, compression not available, on DLTtape III mode4 blocksize=0 density=0x17 # 2.6GB, compression not available, on DLTtape III } -------------------------------------------------------------------------------------------------------------- I stumbled a bit with manufacturer="QUANTUM" model = "DLT2000" { Till I changed it to manufacturer="DEC" model = "DLT2000" { This needs to match what the device reports $ cat /proc/scsi/scsi On Monday 27 December 2004 16:05, Greg Freemyer wrote:
On Sun, 26 Dec 2004 11:11:53 +0000, David Chapman
<linux-lists@ntlworld.com> wrote:
I have been trying to get my DLT working to run a backup. But Kdat would not recognise it. After searching the mailing list I found a referance to mt_st which I installed but after running $ stint I get this "Can't find the tape characteristics database"
Any help please Dave
I don't remember if earlier SUSE releases came with a basic database or not.
With, 9.2 it does not seem to be included.
You need to create /etc/stinit.conf.
A simple valid file is: ---- {buffer-writes read-ahead async-writes} manufacturer=EXABYTE model = EXB-8500SMBANXH1 { can-bsr mode1 blocksize= 245760 } ---- The key thing is the manufacturer and model. Those should be in you dmesg output.
I forgotten if they appear during a normal boot, or only after you try to do a stinit.
Once you have the basics working you can look for a better stinit.conf entry for your tape drive.
I would guess most DLT drives use a similar stinit.conf entry, but I don't use DLT currently.
Greg
participants (2)
-
David Chapman
-
Greg Freemyer