Professional Web Applications Themes

mksysb failure - Linux / Unix Administration

Greetings, I have a 7143-150 running AIX 5.3 and am having trouble running a mksysb to my 7208-011 8mm tape drive. I'm getting the following error message: # /usr/bin/mksysb -m -e -i /dev/rmt0 "Creating tape boot image...... 0512-016 mksysb: Attempt to create a bootable tape failed: bosboot -d /dev/rmt0.1 -a failed with return code 48." Error code 48 from errno.h says: "#define EFORMAT 48 /* Unformatted media */" I've never formatted an 8mm tape and I doubt that's what this error code is trying to tell me. No, the tape is not write protected. Yes, I've run a cleaning tape ...

  1. #1

    Default mksysb failure

    Greetings,

    I have a 7143-150 running AIX 5.3 and am having trouble running
    a mksysb to my 7208-011 8mm tape drive. I'm getting the following
    error message:

    # /usr/bin/mksysb -m -e -i /dev/rmt0

    "Creating tape boot image......
    0512-016 mksysb: Attempt to create a bootable tape failed:
    bosboot -d /dev/rmt0.1 -a failed with return code 48."

    Error code 48 from errno.h says:
    "#define EFORMAT 48 /* Unformatted media */"

    I've never formatted an 8mm tape and I doubt that's what this
    error code is trying to tell me.

    No, the tape is not write protected.
    Yes, I've run a cleaning tape through the tape drive.
    Yes, I've tried several tapes.
    Yes, I'm able to run inode backups of several file systems
    to the tape drive using the same tape.

    Any thoughts before I pull all my hair out?

    Thanks
    Briantb Guest

  2. #2

    Default Re: mksysb failure

    1) Check if you have enough free space in / and /tmp
     

    Note: Before running the mkszfile command, ensure that enough space is
    available in the /tmp file to store a boot image. This space is
    needed
    during both backup and installation. To determine the amount of
    space needed
    in the /tmp file, issue the following command:

    bosboot -q -a -d device

    2)
    Run the mksysb only with the -e and /dev/rmt0
    $ mksysb -e /dev/rmt0

    3) rerun the bosboot command with the -a option meaning:
    $ bosboot -ad /dev/rmt0 # rewind
    $ bosboot -ad /dev/rmt0.1 # no rewind

    hth
    Hajo

    BTW: Better newsgroup for AIX is c.u.a

    Hajo Guest

  3. #3

    Default Re: mksysb failure

    Hajo,

    /tmp was the problem. Even though the sysdumpdev command
    was showing I had enough space, apparently the image in /tmp
    crept over what it was showing and caused problems. After increasing
    /tmp a partition, my program worked as expected.

    Thanks so much -- you saved me from going bald prematurely.

    On 22 Mar 2006 06:17:06 -0800, "Hajo Ehlers" <com>
    wrote:
     
    >
    >Note: Before running the mkszfile command, ensure that enough space is
    > available in the /tmp file to store a boot image. This space is
    >needed
    > during both backup and installation. To determine the amount of
    >space needed
    > in the /tmp file, issue the following command:
    >
    > bosboot -q -a -d device
    >
    >2)
    >Run the mksysb only with the -e and /dev/rmt0
    >$ mksysb -e /dev/rmt0
    >
    >3) rerun the bosboot command with the -a option meaning:
    >$ bosboot -ad /dev/rmt0 # rewind
    >$ bosboot -ad /dev/rmt0.1 # no rewind
    >
    >hth
    >Hajo
    >
    >BTW: Better newsgroup for AIX is c.u.a[/ref]

    Briantb Guest

Similar Threads

  1. mksysb to dvd
    By Mike in forum AIX
    Replies: 7
    Last Post: February 4th, 06:34 PM
  2. nim mksysb backup?
    By Mike in forum AIX
    Replies: 3
    Last Post: November 4th, 07:46 PM
  3. Replies: 3
    Last Post: November 3rd, 11:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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