Cannot read 4mm between machines

Ask a Question related to AIX, Design and Development.

  1. #1

    Default Cannot read 4mm between machines

    Greetings:

    I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    the archive.
    But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    ML loaded) the drive accesses the tape but I can't seem to read any
    data on it. The media is 4mm dat I'm using the exact same drive to
    restore as I created the archive. Downing the one machine and moving
    the drive before booting the other.

    Any ideas would be appreciated.

    THANKS,

    Terry
    Terry Polzin Guest

  2. Similar Questions and Discussions

    1. IIS & SQL on a different machines
      I have a big problem. I have IIS 6.0 on first server and MS SQL 2000 on second. I'm trying do create virtual directory for page with XML query. I...
    2. File system get auto change from read-write to read-oly
      I have a very strange file system with OS Redhat 7.2 The file system is read-write, but some how it randomly changes to read-only at any time....
    3. Multiple machines
      I have multiple machines. I just have a simple home network. I ahve turned off fast user switching and require Ctrl+Alt+Del for login. I have...
    4. #Error only on some machines
      We have an Access invoice application that we wrote for a customer. It has been running ok in one location. We installed it at another location...
    5. AIX Install 2 machines and 1 DAT
      Here is my problem I've got 2 RS/6000 a 7011-220 and a 43 P, the computers are in diferent place, the 7011 got no system on his disk, and he...
  3. #2

    Default Re: Cannot read 4mm between machines

    make sure the tape block size is set the same ( or on destination
    server, just set it to 0)

    On 16 Sep 2003 05:02:10 -0700, [email]t_polzin@yahoo.com[/email] (Terry Polzin)
    wrote:
    >Greetings:
    >
    >I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    >the archive.
    >But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    >ML loaded) the drive accesses the tape but I can't seem to read any
    >data on it. The media is 4mm dat I'm using the exact same drive to
    >restore as I created the archive. Downing the one machine and moving
    >the drive before booting the other.
    >
    >Any ideas would be appreciated.
    >
    >THANKS,
    >
    >Terry
    Kent Squires Guest

  4. #3

    Default Re: Cannot read 4mm between machines

    Kent Squires <ksquires@geeks.org> wrote in message news:<spvdmvc736etn05npplr162rq5b0vjkjl7@4ax.com>. ..
    > make sure the tape block size is set the same ( or on destination
    > server, just set it to 0)
    >
    > On 16 Sep 2003 05:02:10 -0700, [email]t_polzin@yahoo.com[/email] (Terry Polzin)
    > wrote:
    >
    > >Greetings:
    > >
    > >I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    > >the archive.
    > >But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    > >ML loaded) the drive accesses the tape but I can't seem to read any
    > >data on it. The media is 4mm dat I'm using the exact same drive to
    > >restore as I created the archive. Downing the one machine and moving
    > >the drive before booting the other.
    > >
    > >Any ideas would be appreciated.
    > >
    > >THANKS,
    > >
    > >Terry
    Use the command "lsattr -El rmt0 -a block_size" to find the block
    size. To set it, use "chdev -l rmt0 -a block_size=<block_size>" Where
    block_size is the value from the previous command.

    Stevc
    Steve Nottingham Guest

  5. #4

    Default Re: Cannot read 4mm between machines

    [email]steve@wakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0309161410.c8b3b5e@posting.google.c om>...
    > Kent Squires <ksquires@geeks.org> wrote in message news:<spvdmvc736etn05npplr162rq5b0vjkjl7@4ax.com>. ..
    > > make sure the tape block size is set the same ( or on destination
    > > server, just set it to 0)
    > >
    > > On 16 Sep 2003 05:02:10 -0700, [email]t_polzin@yahoo.com[/email] (Terry Polzin)
    > > wrote:
    > >
    > > >Greetings:
    > > >
    > > >I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    > > >the archive.
    > > >But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    > > >ML loaded) the drive accesses the tape but I can't seem to read any
    > > >data on it. The media is 4mm dat I'm using the exact same drive to
    > > >restore as I created the archive. Downing the one machine and moving
    > > >the drive before booting the other.
    > > >
    > > >Any ideas would be appreciated.
    > > >
    > > >THANKS,
    > > >
    > > >Terry
    >
    > Use the command "lsattr -El rmt0 -a block_size" to find the block
    > size. To set it, use "chdev -l rmt0 -a block_size=<block_size>" Where
    > block_size is the value from the previous command.
    >
    > Stevc
    I'll double check, but I believe that the block size is zero on both machines.
    Terry Polzin Guest

  6. #5

    Default Re: Cannot read 4mm between machines

    Terry Polzin schrieb:
    >
    > [email]steve@wakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0309161410.c8b3b5e@posting.google.c om>...
    > > Kent Squires <ksquires@geeks.org> wrote in message news:<spvdmvc736etn05npplr162rq5b0vjkjl7@4ax.com>. ..
    > > > make sure the tape block size is set the same ( or on destination
    > > > server, just set it to 0)
    > > >
    > > > On 16 Sep 2003 05:02:10 -0700, [email]t_polzin@yahoo.com[/email] (Terry Polzin)
    > > > wrote:
    > > >
    > > > >Greetings:
    > > > >
    > > > >I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    > > > >the archive.
    > > > >But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    > > > >ML loaded) the drive accesses the tape but I can't seem to read any
    > > > >data on it. The media is 4mm dat I'm using the exact same drive to
    > > > >restore as I created the archive. Downing the one machine and moving
    > > > >the drive before booting the other.
    > > > >
    > > > >Any ideas would be appreciated.
    > > > >
    > > > >THANKS,
    > > > >
    > > > >Terry
    > >
    > > Use the command "lsattr -El rmt0 -a block_size" to find the block
    > > size. To set it, use "chdev -l rmt0 -a block_size=<block_size>" Where
    > > block_size is the value from the previous command.
    > >
    > > Stevc
    >
    > I'll double check, but I believe that the block size is zero on both machines.
    tctl -n -b 10240 -p 10240 read | tar

    HTH,
    Joe
    --
    Josef Walzer
    Messerli Informatik GmbH, Hamoderstr. 4, A-4020 Linz
    http:://www.messerli.at
    Josef Walzer Guest

  7. #6

    Default Re: Cannot read 4mm between machines

    Josef Walzer <joe.spam@messerli.at> wrote in message news:<3F688BA4.C1371435@messerli.at>...
    > Terry Polzin schrieb:
    > >
    > > [email]steve@wakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0309161410.c8b3b5e@posting.google.c om>...
    > > > Kent Squires <ksquires@geeks.org> wrote in message news:<spvdmvc736etn05npplr162rq5b0vjkjl7@4ax.com>. ..
    > > > > make sure the tape block size is set the same ( or on destination
    > > > > server, just set it to 0)
    > > > >
    > > > > On 16 Sep 2003 05:02:10 -0700, [email]t_polzin@yahoo.com[/email] (Terry Polzin)
    > > > > wrote:
    > > > >
    > > > > >Greetings:
    > > > > >
    > > > > >I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    > > > > >the archive.
    > > > > >But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    > > > > >ML loaded) the drive accesses the tape but I can't seem to read any
    > > > > >data on it. The media is 4mm dat I'm using the exact same drive to
    > > > > >restore as I created the archive. Downing the one machine and moving
    > > > > >the drive before booting the other.
    > > > > >
    > > > > >Any ideas would be appreciated.
    > > > > >
    > > > > >THANKS,
    > > > > >
    > > > > >Terry
    > > >
    > > > Use the command "lsattr -El rmt0 -a block_size" to find the block
    > > > size. To set it, use "chdev -l rmt0 -a block_size=<block_size>" Where
    > > > block_size is the value from the previous command.
    > > >
    > > > Stevc
    > >
    > > I'll double check, but I believe that the block size is zero on both machines.
    >
    > tctl -n -b 10240 -p 10240 read | tar
    >
    > HTH,
    > Joe
    tctl -f /dev/rmt0 -n -b 10240 -p 10240 read | tar xvf -
    tctl: 0511-578 Cannot read 10240 bytes: The media surface is damaged.
    tar: Unexpected end-of-file while reading from the storage media.

    So know what?? Make another tape and try again?
    Terry Polzin Guest

  8. #7

    Default Re: Cannot read 4mm between machines

    Terry Polzin schrieb:
    > > > > > >I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    > > > > > >the archive.
    > > > > > >But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    > > > > > >ML loaded) the drive accesses the tape but I can't seem to read any
    > > > > > >data on it. The media is 4mm dat I'm using the exact same drive to
    > > > > > >restore as I created the archive. Downing the one machine and moving
    > > > > > >the drive before booting the other.
    > tctl -f /dev/rmt0 -n -b 10240 -p 10240 read | tar xvf -
    > tctl: 0511-578 Cannot read 10240 bytes: The media surface is damaged.
    > tar: Unexpected end-of-file while reading from the storage media.
    >
    > So know what?? Make another tape and try again?
    Is this the same drive on both machines or the same type of drive?
    if two drives, is the physical blocksize changeable by jumper?
    is the tape readable with the original machine?
    is a tape readable the other way?

    you may force the blocksize at write with tar | tctl -f /dev/rmt0 -b 10240 -p 10240 write.
    does this affect the result?

    greetings,
    joe

    --
    Josef Walzer
    Messerli Informatik GmbH, Hamoderstr. 4, A-4020 Linz
    http:://www.messerli.at
    Josef Walzer Guest

  9. #8

    Default Re: Cannot read 4mm between machines

    "Terry Polzin" <t_polzin@yahoo.com> schrieb im Newsbeitrag
    news:81672230.0309160402.158c4b10@posting.google.c om...
    > Greetings:
    >
    > I created a tar archive on a 7012 320 AIX 3.2.1, no problems creating
    > the archive.
    > But when I try to restore the archive on a 7248-100 AIX 4.3.3 (base no
    > ML loaded) the drive accesses the tape but I can't seem to read any
    > data on it. The media is 4mm dat I'm using the exact same drive to
    > restore as I created the archive. Downing the one machine and moving
    > the drive before booting the other.
    >
    > Any ideas would be appreciated.
    For trouble-shooting
    Try to restore ( read ) the tape on your AIX 3.2.1 machine

    If it fails ( what i believe ) it might be a good idea to use a cleaning
    tape or/and a new tape

    HTH
    Hajo

    CATE AIX/RS6000



    Hans-Joachim Ehlers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139