[opensuse] Okay tape experts, I need help understanding this
All, My IBM Ultrium LTO-1 drive under 10.1 can't read what it wrote under 8.2? Any ideas? === Details I was tasked with cataloging a bunch of 2 year old tapes this morning. I know that tape server works because we routinely write tar tapes and read them back in to verify them. When I try to read the 2 year old tapes on my Opensuse 10.1 tape server, I just keep getting the first block of data over and over and the tape is not advancing. ie. "dd bs=256k if=/dev/st0 of=/tmp/dd.out" runs for a long time but the dd.out file is garbage. I just finished putting a blank harddrive in the same computer and installing SUSE 8.2 from DVD. (8.2 was used to create the tapes). I had to manually create a /etc/stinit.def file, but apparently I got close enough because I can read the tapes now with the 8.2 kernel on the DVDs. Does anyone have any idea why I can't read these tapes with a 10.1 kernel? FYI: I also did a rescue boot to 10.2 and tried. Failed to read accurately there as well. Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
sounds like it's rewinding at the end of the first block. try using nst0 Greg Freemyer wrote:
All,
My IBM Ultrium LTO-1 drive under 10.1 can't read what it wrote under 8.2? Any ideas?
=== Details I was tasked with cataloging a bunch of 2 year old tapes this morning. I know that tape server works because we routinely write tar tapes and read them back in to verify them.
When I try to read the 2 year old tapes on my Opensuse 10.1 tape server, I just keep getting the first block of data over and over and the tape is not advancing.
ie. "dd bs=256k if=/dev/st0 of=/tmp/dd.out" runs for a long time but the dd.out file is garbage.
I just finished putting a blank harddrive in the same computer and installing SUSE 8.2 from DVD. (8.2 was used to create the tapes). I had to manually create a /etc/stinit.def file, but apparently I got close enough because I can read the tapes now with the 8.2 kernel on the DVDs.
Does anyone have any idea why I can't read these tapes with a 10.1 kernel?
FYI: I also did a rescue boot to 10.2 and tried. Failed to read accurately there as well.
Thanks Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks Bruce, but that made no difference. On 4/9/07, Bruce Ferrell <bferrell@baywinds.org> wrote:
sounds like it's rewinding at the end of the first block. try using nst0
Greg Freemyer wrote:
All,
My IBM Ultrium LTO-1 drive under 10.1 can't read what it wrote under 8.2? Any ideas?
=== Details I was tasked with cataloging a bunch of 2 year old tapes this morning. I know that tape server works because we routinely write tar tapes and read them back in to verify them.
When I try to read the 2 year old tapes on my Opensuse 10.1 tape server, I just keep getting the first block of data over and over and the tape is not advancing.
ie. "dd bs=256k if=/dev/st0 of=/tmp/dd.out" runs for a long time but the dd.out file is garbage.
I just finished putting a blank harddrive in the same computer and installing SUSE 8.2 from DVD. (8.2 was used to create the tapes). I had to manually create a /etc/stinit.def file, but apparently I got close enough because I can read the tapes now with the 8.2 kernel on the DVDs.
Does anyone have any idea why I can't read these tapes with a 10.1 kernel?
FYI: I also did a rescue boot to 10.2 and tried. Failed to read accurately there as well.
Thanks Greg
-- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
All,
My IBM Ultrium LTO-1 drive under 10.1 can't read what it wrote under 8.2? Any ideas?
Does anyone have any idea why I can't read these tapes with a 10.1 kernel?
FYI: I also did a rescue boot to 10.2 and tried. Failed to read accurately there as well.
Thanks Greg
How did you write the tape in the first place - what command or script did you use? Did you dd a whole hard disk onto the tape? using if=/dev/hda or something? -- ---------------------- jw@mailsw.com - System Administrator - Cedar Creek Software www.cedarcreeksoftware.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Partially Resolved and it revolves around stinit from the mt_st rpm: Current Status: Apparently with older 2.4 kernel based versions of SUSE, stinit was required to get my IBM ULTRIUM LTO-1 tape drive to work at all, so I had it setup appropriately, but I've managed to misplace my old stinit.def file I think. I think I upgraded my tape server from 8.2 to 9.1 and then to 10.1 (There may have been a couple more intermediaries.) (I don't remember if I did upgrades of full installs.) Somewhere along the line I ended up with a 2.6 kernel that allowed me to write new tapes and read them back in without the use of stinit and the mt_st rpm ended up not installed so I was doing so for some number of months minimum (possibly a couple years). The trouble was (is) I could not read my 8.2 vintage tapes without having stinit setup the kernel tape driver appropriately. I just installed mt_st and created a stinit.def file to go with it and I can now read the older tapes. (I used stinit.def entries I found for a Tandberg LTO drive, so they are likely not perfect for my IBM.) The trouble I'm having now is that when I read the tapes made without running stinit first, they are taking forever to read. (ie. about 70MB/hr, so to read 100 GB will take literally forever.) I would like to find a stinit.def set of values that will allow me to read both my old and new tapes. Anyone have any suggestions on what to try? Based on the Tandberg LTO info I currently am using: # IBM def per Greg Freemyer, don't know if any of this is accurate manufacturer="IBM" model="ULTRIUM-TD1" { scsi2logical=1 can-bsr=1 auto-lock=0 two-fms=0 drive-buffering=1 buffer-writes read-ahead=1 async-writes=1 can-partitions=1 fast-mteom=1 # if your stinit support timeouts timeout=180 # 3 minutes long-timeout=14400 # 4 hours # mode1 blocksize=0 compression=1 # 200 GB, native mode2 blocksize=0 compression=0 # 100GB, LTO } Also, going forward, how should I have stinit.def set to create tapes. ( This is all very confusing.) Worst case, does anyone know how to reverse the effects of stinit so I can read my more recent tapes at a reasonable speed without having to reboot? Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Bruce Ferrell
-
Greg Freemyer
-
Jonathan Wilson