Re: Restoring file from MKSYSB (summary)

From: John Jolet (john.jolet_at_FXFN.COM)
Date: 04/29/04

  • Next message: Fred.Bateman_at_usdoj.gov: "Re: oldest file in a filesystem"
    Date:         Thu, 29 Apr 2004 13:47:47 -0500
    To: aix-l@Princeton.EDU
    
    

    nope, 0 for 4mm, 8mm, dlt and lto. If you watch a makesysb run with
    non-zero blocksize, listen to the tape forward...then rewind...then
    forward, then write...then rewind...VERY painful to behold. I forgot to
    set it making a makesysb of a b50 and the 6-hour makesysb that resulted
    was very embarrasing.

    Robert Miller wrote:

    >Don't you usually set it to 1024 for 8mm drives, but 0 for DLT's?
    >
    >--rm
    >
    >-----Original Message-----
    >From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    >John Jolet
    >Sent: Thursday, April 29, 2004 10:52 AM
    >To: aix-l@Princeton.EDU
    >Subject: Re: Restoring file from MKSYSB (summary)
    >
    >
    >hmm, really? I've always specified block size of zero for my
    >makesysbs. Otherwise it's too slow.
    >
    >Stamper, Steve wrote:
    >
    >
    >
    >>Thanks for everyone's feedback. I tried everyone's suggestion (see
    >>snip below) and still ended up with the same results. I then started
    >>wondering if I had a bad tape so I did another MKSYSB; same results.
    >>I changed the block_size between 1024 and 512; same results. I then
    >>set the block_size to 0 (variable) and TADA!!! This goes against what
    >>I have learned about MKSYSB tapes so I guess I need to do some research.
    >>
    >>Thanks everyone for your help - Steve
    >>
    >><snip_o_failures>
    >># tctl -f /dev/rmt0 rewind
    >># tctl -f /dev/rmt0.1 fsf 2
    >># restore -Tvf /dev/rmt0.1
    >>Please mount volume 1 on /dev/rmt0.1.
    >> Press the Enter key to continue.
    >>
    >>restore: 0511-160 Cannot read the backup media
    >> /dev/rmt0.1: There is an input or output error.
    >>
    >># tctl -f /dev/rmt0 rewind
    >># restore -s4 -xvf /dev/rmt0.1 ./etc/motd
    >>Please mount volume 1 on /dev/rmt0.1.
    >> Press the Enter key to continue.
    >>
    >>restore: 0511-157 Cannot skip tape records.
    >>#
    >>
    >># tctl -f /dev/rmt0 rewind
    >># restore -s3 -xvf /dev/rmt0.1 ./etc/motd
    >>Please mount volume 1 on /dev/rmt0.1.
    >> Press the Enter key to continue.
    >>
    >>restore: 0511-160 Cannot read the backup media
    >> /dev/rmt0.1: There is an input or output error.
    >>#
    >>
    >># tctl -f /dev/rmt0 rewind
    >># restore -s2 -xvf /dev/rmt0.1 ./etc/motd
    >>Please mount volume 1 on /dev/rmt0.1.
    >> Press the Enter key to continue.
    >>
    >>restore: 0511-262 Read an unexpected end of file.
    >>#
    >>
    >></snip_o_failures>
    >>
    >>
    >>


  • Next message: Fred.Bateman_at_usdoj.gov: "Re: oldest file in a filesystem"