WanderingWeezard wrote: > I'll look at that manual page too. After the post, we did some more > tinkering and we got T-ATT SCT to work and it appears we're able to > see all of the data on the tapes. > Cool. > I'm glad you mentioned dd. We were trying to dd the tape to an image, > but were running into some unusual results. Maybe you could help with > what we may have been missing? We were using this command: > > dd if=/dev/st0 of=/tmp/tape.dat bs=16384 > > We basically got a message saying 3 records in, 3 records out. When > we looked at the "tape.dat" file, it was only 48kb in size. When we T- > ATT that file and did a T-READ it only showed the accounts that the > filesave on the tape created. Any suggestions? > The tape is written in variable block size and the first block is the header, which will list the accounts for some save types :-). Also, for the header, you should leave off the bs=16384 as otherwise the blocks will be padded to that size and would not work. Then, because you are using the rewind device rather than the norewind device, dd reads the header blocks, then rewinds the tape, so you never see the actual data.
Use the norewind device with dd and get the header blocks. Then use the dd command again to get the actual save. If there are multiple saves on the tape, then you will need to do this a number of times. You can then merge the files you brought in to preserve the block level offsets. Something like this: dd if=/dev/nst0 of=/tmp/tape/headers.dat # NB: some tape formats have more than one of these dd if=/dev/nst0 of=/tmp/tape/tape.dat # This will be the big block of data on the tape Then repeat as many times as necessary. Jim --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
