05-17-2011
How to restore rootvg archive after AIX 6.1 crash
Hello,
Few days ago I created both mksysb and savevg archives of rootvg.
How can I restore this rootvg now because the AIX crashed during some software tests. There is no way to start from hdisk0 because most of the system files are deleted (this includes libc.a).
I tough it will be trivial task to restore the system from archive, but when I booted from original AIX 6.1 DVD it only accepts restoration from tape or DVD. I have this archives on NFS.
I tried to mount iscsi but the operation failed because of missing command ...
I'm using the original IBM AIX DVD. The machine is IBM P520.
We have VIOS server installed on it.
Thank you in advance for your help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
TGTD(8) [FIXME: manual] TGTD(8)
NAME
tgtd - The SCSI Target Daemon
SYNOPSIS
tgtd
tgtd [-C --control-port <INTEGER>] [-d --debug <INTEGER>] [-f --foregound] [-h --help] [--iscsi <...>]
DESCRIPTION
Tgtd is a SCSI Target daemon. It can be used to provide SCSI target service to a network. The most common service is iSCSI but other
services are also supported.
DEVICE TYPES
Tgtd provides support for both emulated and passthrough of real devices.
Tgtd can emulate the following types of devices:
disk : Normal disk device. Emulates a SCSI harddisk.
tape : Tape device. Emulates a SCSI tape drive.
cd : CD device. Emulates a SCSI DVD burner.
changer : Media changer. Emulate the changer device for a virtual tape library or DVD jukebox.
OPTIONS
-d --debug <INTEGER>
Set to non-zero value to activate additional debugging messages to be logged.
-f --foreground
Run the daemon in the foreground.
-h --help
Print help text to the screen.
-C --control-port <INTEGER>
This comamnd is used to specify the control port to use for this instance of tgtd. This allows to run multiple instances of TGTD on a
host.
TGTADM has a matching argument to control which instance to connect to.
--iscsi <...>
ISCSI specific options. See the ISCSI section below for options specific to this frontend.
ISCSI OPTIONS
These parameters apply only to the iSCSI frontend.
portal=<ip-address[:port]>
This option is used to bind tgtd to a specific ip-address/portal and/or port. By default tgtd will bind to port 3260 on the wildcard
address. The ip-address part (before the ":") can be missing to designate the wildcard address with a none-default port.
Example: to bind tgtd to a specific address and port
tgtd --iscsi portal=192.0.2.1:3260
Example: to bind tgtd to any address but a none-default port
tgtd --iscsi portal=:3251
SEE ALSO
tgtadm(8), tgt-admin(8), tgtimg(8), tgt-setup-lun(8). http://stgt.sourceforge.net/
COPYRIGHT
/LICENSE
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see http://www.gnu.org/licenses/.
[FIXME: source] 10/02/2010 TGTD(8)