restoring mksysb urgent


 
Thread Tools Search this Thread
Operating Systems AIX restoring mksysb urgent
# 1  
Old 02-09-2004
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
# 2  
Old 02-09-2004
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.

Code:
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.

# 3  
Old 02-10-2004
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
# 4  
Old 02-10-2004
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/pser...#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.
# 5  
Old 02-11-2004
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!
# 6  
Old 02-11-2004
what is in that section let alone on that line?
# 7  
Old 02-11-2004
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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

2. AIX

restoring mksysb backup of a clustered server configured in HACMP

Hi, I have done NIM restoration via nim_bosinst a lot of times but I have some doubts on restoring a server which is clustered specifically HACMP. Previously, I don't know the trend but after doing a nim_bosinst, I can see the client's hostname is back to "localhost" rather than its original... (0 Replies)
Discussion started by: depam
0 Replies

3. AIX

Question about restoring from mksysb backup

Hello, Last night I applied a DB2 fix pack which is now causing problems with the application that uses db2. Prior to applying the fix pack I did a mksysb(rootvg) which includes the file system that has db2 installed on it. If I do a restore from this will it restore the db2 version back to... (1 Reply)
Discussion started by: jyoung
1 Replies

4. AIX

Restoring mksysb to vio lpar?

I have a standard template I deploy for each of my AIX servers. It's in a mksysb format which I pulled via the nim server after I originally set it up. I'm trying to restore this mksysb over the wire to a remote system. The remote system is an lpar running under vio (no HMC attached). The disk... (1 Reply)
Discussion started by: scottsl
1 Replies

5. UNIX for Advanced & Expert Users

URGENT,URGENT- Need help tape drive installation

Hi, I am trying to attach tape drive to sun V890 running Solaris 9 on it. I have installed HBA(qlogic) in slot 1 of 0-8 slots and booted the system. I do not see HBAin prtdiag output. The tape drive is not attached to HBA. The tape drive I am going to attach is Sony AIT3. 1.How can I make... (3 Replies)
Discussion started by: sriny
3 Replies

6. Shell Programming and Scripting

Restoring a file

I'm new to Unix and have just wrote a little program to move files to a recycle bin (a Directory i created) and restore them. The problem is that i need to keep track of all the full filenames so that i can restore them to the right place. I did this by creating a file called delreg and putting the... (4 Replies)
Discussion started by: zoolz
4 Replies

7. UNIX for Dummies Questions & Answers

restoring deleted files

I had a user run, by accident, the following line command on our UNIX server: rm -f /usr/* This apparently deleted some needed files on your system. Having very limited knowledge in UNIX, I thought I would ask the group if anyone knows how I can recover these file? The version of UNIX is... (3 Replies)
Discussion started by: mikem
3 Replies

8. UNIX for Dummies Questions & Answers

restoring backups

okay.. pple.. say now i got an aix box. of course i could restore a backup done in aix environment. 1) now how about doing a restore from sun, hp from the aix box.? 2) can we install a sun, hp os into an aix box? 3) if (1) prohibits, then how about doing an sun, hp os installation on... (1 Reply)
Discussion started by: yls177
1 Replies

9. UNIX for Dummies Questions & Answers

restoring old /etc permissions

A co-worker inadvertently changed all the permissions in /etc by doing 'chmod *' .... Anyway, we have a backup tape to restore from, but I'm not sure how to use the 'restore' command and options to just restore the permissions. Would appreciate any recommendation/suggestion. Thanks in... (1 Reply)
Discussion started by: su
1 Replies
Login or Register to Ask a Question