restoring mksysb urgent

Guys,

Got a very urgent question here.
I accindently deleted everything on my RS600, with the rm -R command.
Now I want to restore an mksysb tape but I get the following error.

format on /dev/rmt1.1 is not in backup format
please mount /dev/rmt1.1 and press enter.

Can anyone help me out?

There are 2 tape drives in the RS6000 a 4mm (/dev/rmt0) and a 8mm (/dev/rmt1) and the mksysb has been made on the 8mm.

Hope to hear soon from any of you.

Erik

dont use the 1.1

when you make a makesysb you make it as a bootable tape. so it cant be a non rewindable tape.

this will install teh OS. you still have to restore all of your data.

TITLE    : Booting from, and restoring a mksysb tape.
OS LEVEL : AIX 4.x
DATE     : 06/05/99
VERSION  : 1.0

----------------------------------------------------------------------------

1, Place the mksysb into the correct tape drive.
2, On a classic RS6000 turn the key switch to service.
3, Power on the machine.
4, If the machine sucessfully IPL'd from the mksysb tape, the first
   prompt you will see is :-


 ******* Please define the System Console. *******

Type a 1 and press Enter to use this terminal as the
system console.

----------------------------------------------------------------------------

5, Type the number requested and press return.
6, Type 1 and press Enter to have English during install.
   The next screen you should see is :-


                    Welcome to Base Operating System
                      Installation and Maintenance

Type the number of your choice and press Enter. Choice is indicated by >>>.

>>> 1 Start Install Now with Default Settings

    2 Change/Show Installation Settings and Install

    3 Start Maintenance Mode for System Recovery


>>> Choice [1]: 

----------------------------------------------------------------------------

7, Type 2 and press enter to change/show the installation settings.
   The next screen you should see is :-


                     System Backup Installation and Settings

Either type 0 and press Enter to install with the current settings, or type 
the number of the setting you want to change and press Enter.

      Setting:                                 Current Choice(s):

    1 Disk(s) where you want to install ...... hdisk0                       
         Use Maps............................. No 
    2 Shrink File Systems..................... No 


>>> 0 Install with the settings listed above.


>>> Choice [0]:

----------------------------------------------------------------------------

8, Type 1 and press enter to change the disks that you want rootvg to be
   re-installed across. 
   The next screen you should see is :-


                   Change Disk(s) Where You Want to Install

Type one or more numbers for the disk(s) to be used for installation and 
press Enter. To cancel a choice, type the corresponding number and Press 
Enter. At least one bootable disk must be selected. The current choice is
indicated by >>>.

        Name     Location Code    Size(MB)   VG Status   Bootable   Maps

>>>  1  hdisk0   04-A0-00-0,0         8689   rootvg          Yes    No 
     2  hdisk1   04-A0-00-8,0         2291   rootvg          Yes    No 
     3  hdisk2   04-A0-00-9,0         4340   other vg        Yes    No 
     4  hdisk3   04-03-00-8,0         4303   other vg        Yes    No 
     5  hdisk4   04-03-00-9,0         4303   other vg        Yes    No 
     6  MORE CHOICES...

>>>  0   Continue with choices indicated above

    66  Disks not known to Base Operating System Installation

    88  Help ?
    99  Previous Menu

>>> Choice [0]:

----------------------------------------------------------------------------

9, Ensure that the disks that you require rootvg to be re-installed across
   have >>> next to them. Press the number next to the disk to turn on/off
   the >>> next to them. When you have the correct disks indicated then
   type 0 and press return. If you type 99 and press return your changes
   WILL NOT BE SAVED !!!!
   The next screen you should see is :-


                   System Backup Installation and Settings

Either type 0 and press Enter to install with the current settings, or type
the number of the setting you want to change and press Enter.

      Setting:                                 Current Choice(s):

    1 Disk(s) where you want to install ...... hdisk0...
         Use Maps............................. No 
    2 Shrink File Systems..................... No 


>>> 0 Install with the settings listed above.


>>> Choice [0]:

----------------------------------------------------------------------------

10, If you have selected multiple disks to re-install rootvg across then
    you should see that the current choice for the disk(s) will be the
    first disk selected followed by 3 dots eg hdisk0... This indicates
    more than one disk has been selected. If you are unsure of the settings 
    type 1 and press enter again to double check that the correct disks
    have a >>> next to them. Type a 0 and press return to start the 
    re-installation. 
    The next screen you should see is :-
   

                        Installing Base Operating System

If you used the system key to select SERVICE mode,
turn the system key to the NORMAL position any time before 
the installation ends.


        Please wait...

----------------------------------------------------------------------------

The operating system is now being re-installed.

Thanx for you reply,
But it didn't work for me.
I rebooted in Service mode, and tried to restore the mksysb tape, but it hang at a certain moment as I stated before.
Now I have reinstalled the OS, restored tapes all night long, but there still is one thing I need to restore, and it is in the mksysb section (first 4 blocks of the tape).
I know there is a way so that I can look into the mksysb section but I don't know the right command.

I thought it was restore -tf /dev/rmt1.1 ??

Can anyone help me out with this?

Thanx in Advance!

Erik

altho the mksysb is written in backup format. i dont believe it is something that can be restored from in the manner you are looking.

according to IBM they dont mention anything about searching thru the mksysb tape once it is created.

http://publib16.boulder.ibm.com/pseries/en\_US/aixins/insgdrf/install\_from_backup.htm\#a6msjg32bskil

i am sure you already know now. but i would deffinetly take a look into verifying your mksysb tapes after you make them, and you should always have more then 1. here we have 3 weeks worth of backup tapes and i create a mksysb for each week.

i have talk to other admins that swear by the doing the 3x method and have actually had 2 of the 3 media fail.

Well, thanx again for all your info.
I Also searched Internet about it, at to what it seems right now, the media is failing.
Well I do know for know that you shoul make at least 3 mksysb tapes.

So I've reinstalled OS, have some tapes reinstalled, then the next problem comes up, installing printers.
I have succeeded in installing software packages, but when I try to install printers through smit the next error comes :

---- start ----

mkque: 0781-182 Problem with line 69 in /etc/qconfig:
-aup = TRUE:
mkque: (FATAL ERROR): 0781-176 Assignment statement found before queue name.

Any of you got a clue?

Tried to search the internet but can't seem to find anything.

Thanx!

what is in that section let alone on that line?

In line 69 is:

-aup = TRUE:

I've tried to set it too FALSE (doesnt work)
Stopped the qdaemon (doesn't work)

Any tips?

Erik

Okay!
I already found the answer to the qconfig question.
It seems it was corrupt.
Probably AIX wrote some stupid lines in it and half-created a dummy printer
I deleted the lines for the dummy printer and it worked!

Thanx for your time anyway!

Greets

Erik