Sponsored Content
Full Discussion: 4.3.3 restore from file
Operating Systems AIX 4.3.3 restore from file Post 302145584 by SeanU on Wednesday 14th of November 2007 05:08:35 PM
Old 11-14-2007
I used mksysb to direct the backup to a file instead of a tape... I was able to get the restore work for the most part when I increased the size of my /usr filesystem to handle the data being restored. Now the machine boots up fine but there is a problem with the tcpip. When the machine booted up it came up with the correct name but incorrect ip address, I used both smitty and mktcpip to change the ip address and I got this error:

# mktcpip -h 'catia16' -a '192.168.8.116' -m '255.255.255.0' -i 'en0' -t 'N/A'
en0
catia16
Method error (/usr/lib/methods/chginet):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/chginet because of the following errors:
0509-130 Symbol resolution failed for chginet because:
0509-136 Symbol __which_res_state (number 35) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.

mktcpip: Problem with command: chdev
, return code = 1

what is causing this? I changed the ip address and name in the /etc/hosts and it seems to be fine but I would like to be able to change within smitty or by changing parameters with mktcpip at the command line. All NFS mount work, I can telnet to it, and all other communication seems fine.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How do I restore the etc/shadow file

removed this from a friends solaris box via telnet. root can not login at this point is there anyway to fix this via telnet. I have one session open that is not root (2 Replies)
Discussion started by: Youngadmin
2 Replies

2. Solaris

tar - restore a file

We use tar for backing up a server. I need to restore just one file from this backup. Anyone know the syntax? (2 Replies)
Discussion started by: frustrated1
2 Replies

3. Linux

how can i restore a deleted file

I am a relatively new linux user.would like to know how to undo a deleted file (2 Replies)
Discussion started by: wojtyla
2 Replies

4. UNIX for Dummies Questions & Answers

How to restore splitted DD file

I backup a file to tape by using "dd", since the size is too large it took two tape for the backup, the question is how to restore the said file? The "dd" doesn't ask me insert next tape while restoration. (3 Replies)
Discussion started by: coolmans
3 Replies

5. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

6. Ubuntu

How can I restore a file?

Hello! I deleted the disk of my camera by rm, and I need to restore these files. I cannot do it by unrm because that utility is meant for use in ext/ufs filesystem, and that disk is msdosfs. Someone help me! Thanks for any answer! (4 Replies)
Discussion started by: mghis
4 Replies

7. Shell Programming and Scripting

restore deleted file

I accidently deleted the files from linux machine. How to restore back the files. (1 Reply)
Discussion started by: sandy1028
1 Replies

8. Solaris

restore kernel file

Hi iam new to solaris .if any file lost in kernel how can we retrive that.any one can help me. Thank you for ur reply (3 Replies)
Discussion started by: sivajerripothul
3 Replies

9. UNIX for Dummies Questions & Answers

restore cpio file

Hi, under unix aix , i had to put a catostrophic patch from an editor ... i had first made a cpio backup connected root cd /application find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio Does someone know the command to restore my cpio backup ? thanks in advandce to everyone ... (7 Replies)
Discussion started by: bzh35
7 Replies

10. SCO

File system restore

Hello, I have a big trouble with SCO Open Server. After improper shutdown the file system has damaged. I can see the partitions as volume sizes with divvy command, but the labels are missing (boot, root, etc), so I can not address them when using fsck command. Is there any chance to restore the... (2 Replies)
Discussion started by: ikonoma
2 Replies
READ_TAPE(8)						       AFS Command Reference						      READ_TAPE(8)

NAME
read_tape - Reads volume dumps from a backup tape to a file SYNOPSIS
read_tape -tape <tape device> -restore <# of volumes to restore> -skip <# of volumes to skip> -file <filename> [-scan] [-noask] [-label] [-vheaders] [-verbose] [-help] DESCRIPTION
read_tape reads an OpenAFS backup tape and prompts for each dump file to save. This command does not require any OpenAFS infrastructure. This command does not need an OpenAFS client or server to be available, which is not the case with the backup(8) command. The dump files will be named for the Read/Write name of the volume restored. After saving each dump file, vos restore or restorevol can be used to restore the volume into AFS and non-AFS space respectively. read_tape reads the tape while skipping the specified number of volumes. After that, it restores the specified number of volumes. read_tape doesn't rewind the tape so that it may be used multiple times in succession. OPTIONS
-tape <tape device> Specifies the tape device from which to restore. -restore <# of volumes to restore> Specifies the number of volumes to restore from tape. -skip <# of volumes to skip> Specifies the number of volumes to skip before starting the restore. -file <filename> Specifies an alternate name for the restored volume dump file rather than the default of the volume name. -scan Scans the tape. -noask Doesn't prompt for each volume. -label Displays the full dump label. -vheaders Displays the full volume headers. -verbose Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command will read the third through fifth volumes from the tape device /dev/tape without prompting: % read_tape -tape /dev/tape -skip 2 -restore 3 -noask PRIVILEGE REQUIRED
The issuer must have access to read and write to the specified tape device. SEE ALSO
backup(8), restorevol(1), vos_restore(1) COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2012-03-26 READ_TAPE(8)
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy