Sponsored Content
Operating Systems AIX How to restore rootvg archive after AIX 6.1 crash Post 302523318 by +Yan on Wednesday 18th of May 2011 11:37:06 AM
Old 05-18-2011
Hello again. Thank you for your replays.

I was able to restore the machine in the following (not professional) way:
1. Install AIX 6.1 on the same partition. (the old install was completly destroyed).
2. Configure the network and access the NFS.
3. Change current directory to / (root).
4. Execute: restore -xf /NFS_path_to_the_backup.
5. reboot.
It worked like charm.
However it have many obvious drawbacks. One of them is that I needed to expand the FS for /, /usr,/var and /opt. This directories contained valuable data that I needed to restore.
I spend some time today experimenting with archive and boot from DVD procedure .
mkdvd turned out to be excellent program for generating archive DVDs. Especially when I use -S option to generate ISO only.
I have few questions:
1. What will happen when the ISO image exceeds the largest DVD capacity ?
2. I tried to use bootp from SMS menu, and it turned out that DHCP request are correctly understood by our linux DHCP server. Also the server correctly understod the bootp requests. Unfortunatly I do not know how AIX boot process is working (i.e. what boot file to send in response to bootp requests). We are using PXE + tftp to install Linux machines fully automated. My question is can I use this PXE server instead of configuring additional NIM server only for AIX OS ? I only want to be able to boot this DVD images over the network. As long as they are standard I may mount them on the DHCP server, and serve the files that AIX needs to install itself.

Here is what I found concerning VIOS installation from the PXE server.

IBM Redbooks | VIOS Network Install from Linux Server

I intend to adapt this method for booting AIX 6.1.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Selective restore from a cpio tape archive

Hi, I use following command to restore data from my cpio tape archive: $cpio -icvd < /dev/rct0 But this'll restore all tape contents to the current path, what if I want only selected files from the tape, suppose I want /home/compdir/home2/Rev83/data/PL/01/*.* files to be restored... (8 Replies)
Discussion started by: tayyabq8
8 Replies

2. Solaris

Can I restore from a flash archive without re-entering the basic sys info?

Hi I would like to be able to take adhoc backups of my systems using flash archive - flarcreate - and then restore from them to the same system without having to enter the basic configuration again when I boot from the Solaris CD. So, I'd like to be able to create a flar archive ... (1 Reply)
Discussion started by: emjs
1 Replies

3. UNIX for Advanced & Expert Users

Archive and Restore

Can someone please let me have a nice shell script to: 1) Identify all folders/sub-folders/files older than 365 days with the exception of one or two folders e.g. named - "common" or "test" 2) Archive (1) above for example in a TAR file 3) Delete all in (1) above and that's it... 4) In case... (1 Reply)
Discussion started by: mahmud
1 Replies

4. AIX

AIX Rootvg mirror and sysdumplv

Guys, In my AIX 6.1 box the rootvg was on hdisk2, I tried to migrated it to hdisk0 Added hisk0 to rootvg , mirrored rootvg and changed bootlist and and sucessfully rebooted from hdisk0 Now I tried to remove the hdisk2 from rootvg so breaked mirror -bash-3.00# unmirrorvg rootvg hdisk2... (3 Replies)
Discussion started by: kkeng808
3 Replies

5. HP-UX

restore data after system crash

Hi all, I have a server running HP-UX 11i V1 (11.11). We had a problem with the system disk which cannot boot and the recovery with the CD failed too. the only solution was to re-install the system on a new disk. The problem now is to get access to the data which are on other disks, not... (2 Replies)
Discussion started by: aribault
2 Replies

6. AIX

Erase AIX rootvg system disk

Hello all, I need help for erasing IBM P5 machine running AIX 5.3. I have 2 system disks (Hardware mirror) and i'm looking for a way like a LIVE CD bootable CD so I can boot with the cd and then format the system disks with a "secure erase" software. (7 Replies)
Discussion started by: kobi gabai
7 Replies

7. UNIX for Dummies Questions & Answers

Unable to restore cpio archive to a directory

Hello Every one, I want to back up all passwd files to /xyz/passfiles.cpio and Then restore them to /abc directory. Here is what I wrote: find / -name passwd | cpio -oc > /tmp/passwd.cpio and to restore cd abc cpio -ium < /tmp/passwd.cpio I can not find the files restored to /abc... (2 Replies)
Discussion started by: drdigital_m
2 Replies

8. Solaris

Restore from Flash Archive on local filesystem

I am doing a practice restore using a test UNIX(Solaris) system, and a SCSI Hard Drive whose slice 5 contains the Flash Archive file that I need to restore from. The test system is offline( no network ) and does not have external devices, such as tape drive. My goal is to somehow restore the... (9 Replies)
Discussion started by: the.gooch
9 Replies

9. AIX

Using restorevgfiles to restore entire directory from rootvg problems

I am trying to restore a specific directory and all sub-directories therein using a rootvg tape. I am using the following command to make the backup: mksysb -m -i -v /dev/rmt0 However, I am getting the following result: tctl status rmt0 Available 04-08-00-0,0 LVD SCSI 4mm Tape Drive... (10 Replies)
Discussion started by: herot
10 Replies

10. AIX

AIX break rootvg mirror from system down

Hello, aix 5.2, mirrored rootvg on hdisk0 and hdisk1. hdisk0 is dead. I can boot to cd, into sms, into maintenance mode. I can fsck all the various partitions on hdisk1 (the hd4 hd2 hd3, etc...) all is fine. But without the hdisk0 part of the mirror I cannot get the system to boot. ystem hangs on... (6 Replies)
Discussion started by: sshapiro
6 Replies
BOOTP(8)						      System Manager's Manual							  BOOTP(8)

NAME
bootp, rarpd, tftpd - Internet booting SYNOPSIS
ip/bootp [-d] ip/rarpd [-d] [-e etherdev] ip/tftpd [-dr] [-h homedir] DESCRIPTION
These programs support booting over the Internet. They should all be run on the same server to allow other systems to be booted. Bootp and tftpd are used to boot everything; rarpd is an extra piece just for Suns. Bootp passes to Plan 9 systems their IP address, IP mask, default boot file, default file server, default authentication server, and default gateway. These come from the network database file attributes ip, ipmask, bootf, fs, auth, and ipgw attributes respectively (see ndb(6) and ndb(8)). The attributes come from the entry for the system, its subnet, and its network with the system entry having prece- dence, subnet next, and network last. Bootp will answer requests only if it has been specifically targeted or if it has read access to the boot file for the requester. The -d option causes debugging to be printed to standard output. Rarpd performs the Reverse Address Resolution Protocol, translating Ethernet addresses into IP addresses. The options are: d print debugging to standard output e use the Ethernet mounted at /net/etherdev Tftpd transfers files to systems that are booting. It runs as user none and can only access files with global read permission. The options are: d print debugging to standard output h change directory to homedir. The default is /lib/tftpd. All requests for files with non-rooted file names are served starting at this directory with the exception of files of the form xxxxxxxx.SUNyy. These are Sparc kernel boot files where xxxxxxxx is the hex IP address of the machine requesting the kernel and yy is an architecture identifier. Tftpd looks up the file in the network data- base using ipinfo (see ndb(2)) and responds with the boot file specified for that particular machine. If no boot file is specified, the transfer fails. Tftpd supports only octet mode. r restricts access to only files rooted in the homedir. SOURCE
/sys/src/cmd/ip SEE ALSO
ndb(6) BOOTP(8)
All times are GMT -4. The time now is 04:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy