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
PXEBOOT(8)						    BSD System Manager's Manual 						PXEBOOT(8)

NAME
pxeboot -- Preboot Execution Environment (PXE) bootloader DESCRIPTION
The pxeboot bootloader is a modified version of the system third-stage bootstrap loader(8) configured to run under Intel's Preboot Execution Environment (PXE) system. PXE is a form of smart boot ROM, built into Intel EtherExpress Pro/100 and 3Com 3c905c Ethernet cards, and Ether- net-equipped Intel motherboards. PXE supports DHCP configuration and provides low-level NIC access services. The pxeboot bootloader retrieves the kernel, modules, and other files either via NFS over UDP or by TFTP, selectable through compile-time options. In combination with a memory file system image or NFS-mounted root file system, pxeboot allows for easy, EEPROM-burner free construction of diskless machines. The pxeboot binary is loaded just like any other boot file, by specifying it in the DHCP server's configuration file. Below is a sample con- figuration for the ISC DHCP v2 server: option domain-name "example.com"; option routers 10.0.0.1; option subnet-mask 255.255.255.0; option broadcast-address 10.0.0.255; option domain-name-servers 10.0.0.1; server-name "DHCPserver"; server-identifier 10.0.0.1; default-lease-time 120; max-lease-time 120; subnet 10.0.0.0 netmask 255.255.255.0 { filename "pxeboot"; range 10.0.0.10 10.0.0.254; } pxeboot recognizes next-server and option root-path directives as the server and path to NFS mount for file requests, respectively, or the server to make TFTP requests to. Note that pxeboot expects to fetch /boot/loader.rc from the specified server before loading any other files. In all other respects, pxeboot acts just like loader(8). As PXE is still in its infancy, some firmware versions may not work properly. The pxeboot bootloader has been extensively tested on version 0.99 of Intel firmware; pre-release versions of the newer 2.0 firmware are known to have problems. Check with the device's manufacturer for their latest stable release. For further information on Intel's PXE specifications and Wired for Management (WfM) systems, see http://www.intel.com/design/archives/wfm/. SEE ALSO
loader(8) HISTORY
The pxeboot bootloader first appeared in FreeBSD 4.1. AUTHORS
The pxeboot bootloader was written by John Baldwin <jhb@FreeBSD.org> and Paul Saab <ps@FreeBSD.org>. This manual page was written by Doug White <dwhite@FreeBSD.org>. BSD
May 1, 2000 BSD
All times are GMT -4. The time now is 12:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy