Issue Restoring mksysb via FC Tape drive - Aix

This is a discussion on Issue Restoring mksysb via FC Tape drive - Aix ; AIX 5.3_TL04_CSP Exabyte 448 library - FC LTO3 drive I ran a mksysb on my tape drive, then I tried to boot...no luck. evidently you have to boot off of media, go into service mode and restore from tape. According ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Issue Restoring mksysb via FC Tape drive

  1. Issue Restoring mksysb via FC Tape drive

    AIX 5.3_TL04_CSP
    Exabyte 448 library - FC LTO3 drive

    I ran a mksysb on my tape drive, then I tried to boot...no luck.
    evidently you have to boot off of media, go into service mode and
    restore from tape. According to IBM booting from FC attached Tape
    isn't supported.

    My problem is that when I boot off of the base AIX media I go into
    service mode, then select option 3 "Start Maintenance Mode for System
    Recovery ", then option 5 to restore from backup.

    I see both my cd0 & rmt0 devices, but I get I/O errors when I try to
    restore the mksysb from tape.
    I believe that this is because the Atape driver isn't loaded. When
    booted in normal mode I can read/write to tape if the Atape driver is
    loaded (dd,tar); however if Atape isn't installed then I get I/O errors
    (the same as what I get when I try to restore the mksysb).

    I've verified that I can read my mksysb using the restore command, and
    have even created a 2nd mksysb on a different tape to ensure that it
    isn't a bad image --> same problem.

    I tried creating a mksysb ISO as well as bootable ISO (via the
    "fakemksysb" method documented in the mkcd.README.txt file) on another
    system running AIX 5.3.0.4.CSP and can boot from those, but I get NO
    tape device at all, only the cd0 device when I go into the service mode
    menu.

    Any help or suggestions on how to create a bootable image so that I can
    read my tape drive in service mode would be very much appreciated.


  2. Re: Issue Restoring mksysb via FC Tape drive


    c00p wrote:
    > AIX 5.3_TL04_CSP
    > Exabyte 448 library - FC LTO3 drive
    >
    > I ran a mksysb on my tape drive, then I tried to boot...no luck.
    > evidently you have to boot off of media, go into service mode and
    > restore from tape. According to IBM booting from FC attached Tape
    > isn't supported.
    >
    > My problem is that when I boot off of the base AIX media I go into
    > service mode, then select option 3 "Start Maintenance Mode for System
    > Recovery ", then option 5 to restore from backup.
    >
    > I see both my cd0 & rmt0 devices, but I get I/O errors when I try to
    > restore the mksysb from tape.
    > I believe that this is because the Atape driver isn't loaded. When
    > booted in normal mode I can read/write to tape if the Atape driver is
    > loaded (dd,tar); however if Atape isn't installed then I get I/O errors
    > (the same as what I get when I try to restore the mksysb).
    >
    > I've verified that I can read my mksysb using the restore command, and
    > have even created a 2nd mksysb on a different tape to ensure that it
    > isn't a bad image --> same problem.
    >
    > I tried creating a mksysb ISO as well as bootable ISO (via the
    > "fakemksysb" method documented in the mkcd.README.txt file) on another
    > system running AIX 5.3.0.4.CSP and can boot from those, but I get NO
    > tape device at all, only the cd0 device when I go into the service mode
    > menu.
    >
    > Any help or suggestions on how to create a bootable image so that I can
    > read my tape drive in service mode would be very much appreciated.


    If this is the error you are receiving:

    "When perfoming a mksysb restore from LTO2 tape, I recieve the
    following
    error:



    READ ERROR: Invalid argument

    After this message appears I continue with the restore but it fails
    very
    soon after when trying to restore the base operating system. The same

    error is seen again.



    Our procedure is to boot from AIX 5.3 (TL4) media (same level as the

    mksysb on the tape) and then select a restore from system backup. The

    tape drive is FC attached."

    Then here's why:

    "This is a known problem with devices.fcp.tape.rte below 5.3.0.41.

    The APAR number is IY80073 "aix tape device requests fail if block size

    specified".



    Unfortunately the 5.3-TL4 boot media does not have this fix. You
    should
    be able to boot from TL5 media and restore the TL4 mksysb tape."


  3. Re: Issue Restoring mksysb via FC Tape drive


    > "When perfoming a mksysb restore from LTO2 tape, I recieve the
    > following
    > error:
    >
    > READ ERROR: Invalid argument
    >
    > After this message appears I continue with the restore but it fails
    > very
    > soon after when trying to restore the base operating system. The same
    >
    > error is seen again.
    >
    > Our procedure is to boot from AIX 5.3 (TL4) media (same level as the
    >
    > mksysb on the tape) and then select a restore from system backup. The
    >
    > tape drive is FC attached."
    >
    > Then here's why:
    >
    > "This is a known problem with devices.fcp.tape.rte below 5.3.0.41.
    >
    > The APAR number is IY80073 "aix tape device requests fail if block size
    >
    > specified".


    I don't think that this is my issue.

    I ran a mksysb on a system running devices.fcp.tape.rte 5.3.0.42,
    then burned the iso to a dvd and booted off of it, but it didn't make
    any difference. Actually when booting from that disk I don't see any
    tape device when I go into service mode.

    I wish I had some AIX ml5 media to boot..that would be helpful. Thanks
    for the reply.

    > Unfortunately the 5.3-TL4 boot media does not have this fix. You
    > should
    > be able to boot from TL5 media and restore the TL4 mksysb tape."



  4. Re: Issue Restoring mksysb via FC Tape drive


    c00p wrote:
    > AIX 5.3_TL04_CSP
    > Exabyte 448 library - FC LTO3 drive
    >
    > I ran a mksysb on my tape drive, then I tried to boot...no luck.
    > evidently you have to boot off of media, go into service mode and
    > restore from tape. According to IBM booting from FC attached Tape
    > isn't supported.
    >
    > My problem is that when I boot off of the base AIX media I go into
    > service mode, then select option 3 "Start Maintenance Mode for System
    > Recovery ", then option 5 to restore from backup.
    >
    > I see both my cd0 & rmt0 devices, but I get I/O errors when I try to
    > restore the mksysb from tape.
    > I believe that this is because the Atape driver isn't loaded. When
    > booted in normal mode I can read/write to tape if the Atape driver is
    > loaded (dd,tar); however if Atape isn't installed then I get I/O errors
    > (the same as what I get when I try to restore the mksysb).
    >
    > I've verified that I can read my mksysb using the restore command, and
    > have even created a 2nd mksysb on a different tape to ensure that it
    > isn't a bad image --> same problem.
    >
    > I tried creating a mksysb ISO as well as bootable ISO (via the
    > "fakemksysb" method documented in the mkcd.README.txt file) on another
    > system running AIX 5.3.0.4.CSP and can boot from those, but I get NO
    > tape device at all, only the cd0 device when I go into the service mode
    > menu.
    >
    > Any help or suggestions on how to create a bootable image so that I can
    > read my tape drive in service mode would be very much appreciated.


    Have you tried booting from base media, and restoring from tape with
    the tape
    positioned with fsf 3?

    tapeutil -f /dev/rmtx.1 fsf 3

    man tcopy
    tcopy with no second tape to copy to will give you info on the number
    of files..
    etc on your tape.

    If your not booting from tape, perhaps you need to fsf past the boot
    record... etc
    to start your restore.


  5. Re: Issue Restoring mksysb via FC Tape drive

    Have you tried booting from base media, and restoring from tape with
    > the tape
    > positioned with fsf 3?

    No I haven't...

    > tapeutil -f /dev/rmtx.1 fsf 3

    my library is not IBM, but I'll give mt a go

    > man tcopy
    > tcopy with no second tape to copy to will give you info on the number
    > of files..
    > etc on your tape.
    >
    > If your not booting from tape, perhaps you need to fsf past the boot
    > record... etc
    > to start your restore.


    I'll give that a try tonite, thanks for the reply


+ Reply to Thread