Sponsored Content
Full Discussion: Mksysb restoration
Operating Systems AIX Mksysb restoration Post 302976825 by bakunin on Wednesday 6th of July 2016 01:28:29 PM
Old 07-06-2016
Quote:
Originally Posted by rbatte1
Another thing I could suggest would be that LV mirrors will need to be respected too. I fell over that when restoring to a server with a HUGE single disk protected externally. I can't remember if it was local hardware RAID or a SAN.
True, but as threads O/P said he has two target disks i thought that should be cared for. In fact, you are right: for the taking of an mksysb image the mirrors should all be edited out in the image.data file before taking it. I do that routinely because it allows for greater flexibility when restoring. One can always set up a mirror afterwards if that is necessary.

Quote:
Originally Posted by rbatte1
I must say that using tapes for such a large rootvg seems a little odd.
I'd say the large rootvg in itself is ridiculous. The rootvg is for holding the OS and everything pertaining to the systems configuration, not for the application data or the videos taken on the last holiday. Even my biggest systems have a rootvg built from a single 40GB LUN and even that is half empty on most systems.

I hope this helps.

bakunin
These 2 Users Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

Can before and after snapshots be used to verify successful filesystem restoration?

Hello Guys, Can before and after snapshots be used to verify successful filesystem restoration? snapshots will be created using fssnaps and restoration is thru legato restore? Any ideas on this? or any other ways I could verify that restoration is good? Regards (0 Replies)
Discussion started by: MarkyBoy
0 Replies

2. Shell Programming and Scripting

Restoration issue

Dear All, I am using sun OS server and performing weekly backup on a tape DDS2 for log files for the past 7 days, the log file sizes are ranging between 1 - 2 G......When i want to restore a specific file from the tape, i have to restore the whole files from the tape by using the command (tar... (1 Reply)
Discussion started by: charbel
1 Replies

3. Solaris

restoration

i have 2 hardisk. Hardisk A and Hardisk B. i have backup the oracle folder from hardisk A to hardisk B c0t0d0s4/oracle. If i want to restore , what is the command and what do i need to do ? urgent help needed. Thanks for your quick reply . (1 Reply)
Discussion started by: Farbegas
1 Replies

4. UNIX for Dummies Questions & Answers

LTO multivolume restoration problem in SELS9

Can anybody help me ? ? Previously data was taken multi volume LTO Tape backup in Red hat Linux by following command : tar -cvf /dev/rmt/tps6d7v -b 1000 -M filenames , now i try to Restore it in SELS9 by following command : tar -xvf /dev/st1 -b 1000 -M filenames , it extracts only part of the... (0 Replies)
Discussion started by: pramanik
0 Replies

5. AIX

mksysb restoration steps

please provide me with the steps to restore from mksysb tape. i m using AIX 5.3 TL 7 (2 Replies)
Discussion started by: debasis9
2 Replies

6. AIX

mksysb restoration using NIM

Hi, I just want to ask whether anyone has experience on restoring mksysb backup in NIM. We have taken the mksysb backup and the SPOT has been configured on NIM also. I just want to know the checkpoints before doing this. Is there any checkpoints we need to do? Do we need to unmirrorvg? This... (12 Replies)
Discussion started by: depam
12 Replies

7. AIX

Data restoration

I am having the Lexmark/IBM 1/2” 3490E Tape Cartridge which contains old data which had taken up some years back. I want to know what kind of data is available and which backup product is used for backup the data and from which OS the data has been backup. It would be helpful for me if could... (3 Replies)
Discussion started by: kmvinay
3 Replies

8. Solaris

question about restoration from backup tape (solaris 10)

I am trying to restore opt on my server. my issue is, all the partitions are saved into the same back up tape. what is the exact command to just restore /opt for example, supposing c0t0d0s7 is the partition for /opt ---------- Post updated at 01:16 PM ---------- Previous update was at... (7 Replies)
Discussion started by: feg
7 Replies

9. Shell Programming and Scripting

MySQL Restoration Backup Script

Hi there, Alright I have this line that I'm working with (bash programming): mysql -u username -pHASH ${args} < /home/site/backups/site.${args}.sql I get this error on that line: ./restore.sh: line 51: syntax error near unexpected token `newline' ./restore.sh: line 51: `mysql -u... (5 Replies)
Discussion started by: Pandoula
5 Replies

10. Solaris

Error after systeme restoration

Rebooting with command: boot Boot device: /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a File and args: SunOS Release 5.10 Version Generic_147440-01 64-bit Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. WARNING: system call missing from bind file... (8 Replies)
Discussion started by: andersonedouard
8 Replies
volrestore(8)						      System Manager's Manual						     volrestore(8)

NAME
volrestore - Restores a complete or partial Logical Storage Manager (LSM) configuration SYNOPSIS
/usr/sbin/volrestore [-b] [-f] [-d dir] [-i] [-g diskgroup] [-v volume...] /usr/sbin/volrestore -l [-d dir] [-g diskgroup] [-v volume...] OPTIONS
Requests the "best possible" restoration after certain types of volrestore failures. This option is useful when the failure was caused by a missing disk or by a conflict between the current LSM configuration and the saved LSM configuration. Specifies the directory where the description files you want to use are located. The default directory is the directory under /usr/var/lsm/db with the latest timestamp. Forces the volrestore command to execute, after the checksum validation has failed. This option is used when the saved LSM configuration has been manually edited (for example, to remove configuration information for plexes on failed disks). Specifies the disk group whose configuration you want to restore or display. Specifies an interactive restore session, in which volrestore prompts before restoring each disk group. Lists the configuration information that was backed up using volsave. Specifies one or more volumes whose configuration you want to restore or display. DESCRIPTION
The volrestore command restores an LSM configuration database that was backed up using the volsave command. The volsave command saves configuration information in a set of files, called a description set. Included in the description set is a file containing a checksum, a magic number, the date of the file's creation, and the version number of the volsave command. Before the volre- store command restores the LSM configuration from the description set, it validates the checksum and the magic number. By default, the volrestore command uses the description files in the directory under /usr/var/lsm/db that has the latest timestamp. If you used the -d option with volsave to save the LSM configuration in a directory other than the default, use the -d option to specify that directory to volrestore. To display the latest LSM configuration saved in a description set, use the -l option. You can use the -l and -d options together to dis- play any description set saved in any directory. You can use volrestore to restore specific volumes in a disk group and specific disk groups. The volrestore command attempts to reimport the disk group based on configuration information on disks which belong to the disk group. If the import fails, the disk group is re-cre- ated by reinitializing all disks within that disk group and re-creating all volumes, unassociated plexes, and unassociated subdisks, based on information in the volmake description file. If you specify the -i option, volrestore runs in interactive mode and prompts you before restoring a disk group. In ASE or clusters config- urations, this mode is the default. You can also restore a complete LSM configuration. In this case, volrestore attempts to reenable the vold daemon based on all rootdg disks in the saved copy of the /etc/vol/volboot file (volboot). If vold cannot be enabled, you are given the option of re-creating the rootdg disk group and any other disk groups using the saved LSM description set. The rootdg disk group is re-created first, and vold is put in the enabled mode. Then, the other disk groups are re-cre- ated. The disk groups are re-created by first attempting to import them based on available disks in that disk group. If the import fails, the disk group is reinitialized and all volumes in that disk group are also re-created based on the volmake description files. Conflicts while Restoring the Configuration When volrestore executes, it can encounter conflicts in the LSM configuration. For example, a disk may be missing, or another volume may be using the same plex name, subdisk name, or location on a disk. Configuration conflicts usually arise because the LSM configuration was changed after it was saved using volsave(8). When volrestore finds a conflict, it displays error messages and the configuration of the volume, as found in the saved LSM description set. In addition, it removes all volumes created in that disk group during the restoration. The disk group that had the conflict remains imported, and volrestore continues to restore other disk groups. If volrestore fails because of a conflict, you can use the -b option to do the "best possible" restoration in a disk group. You will then have to resolve the conflicts and restore the volumes in the affected disk group. You can resolve the conflicts in two ways: Check the cur- rent configuration of the diskgroup and make any changes to remove the conflict. For example, rename any plexes or subdisks that have duplicate names. The error messages from volrestore provide information on what the conflict is. Manually edit the volmake description file for that disk group in the directory that is being used by the volrestore command. Failures in Restoring the Configuration Restoration of volumes fails if one or more disks associated with the volumes are unavailable, for example due to disk failure. This can, in turn, cause failure in restoring a disk group. You can use a command like the following to restore the LSM configuration of a disk group: # volrestore -b -g diskgroup The volumes associated with the failed disks can then be restored by editing the volmake description file to remove the plexes that use the failed disks. Note that editing the description file will affect the checksum of the files in the backup directory, so you will have to override the checksum validation by using the -f option. You can use the -v option to restore the specific volumes that had not been restored. When volumes are restored using the volmake description file, the plexes are created in the DISABLED EMPTY state. The volrestore command does not attempt to start or enable such volumes. You must use volmend or volume to set the plex states appropriately before starting the volume. The volrestore command warns you to check the state of each disk associated with a volume before using volmend or volume to set plex states; to carefully find out which disks in the LSM configuration could have had failures since saving the LSM configuration; and to use volmend or volume to mark plexes on those disks to be STALE. In addition, any plex that was detached or disabled at any point during or after the LSM configuration was saved should be marked STALE. RESTRICTIONS
The volrestore command does not restore volumes associated with the root, swap, /usr, and /var file systems. See the manual Logical Storage Manager for information on reencapsulating the disk partitions associated with these file systems. The following restrictions apply to ASE or clusters configurations: The -i and -g options are required with volrestore. LSM disk groups can only be restored one at a time. Before using volrestore, the directory with the latest LSM configuration for a disk group across all ASE or cluster nodes should be determined. FILES
Default directory in which volsave creates the timestamped subdirectories with LSM description sets. File containing the checksum that volrestore validates before executing. Saved copy of the /etc/vol/volboot file. Description file that can be used by the volmake command. There is one file for each disk group. SEE ALSO
volmake(4), volsave(8), volmend(8), volmake(8), volume(8) Logical Storage Manager volrestore(8)
All times are GMT -4. The time now is 06:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy