Air Cleaner User Manual

Chapter 10. Recreating or Restoring from Backups
There are many reasons to restore data from a backup. The data might have been
corrupted due to improper user input or application errors, or the data might be
inaccessible due to various hardware problems.
If data was inadvertently deleted or corrupted by a user or application, you will
probably need to restore the data from the backup. If a hardware failure occurred,
you need to perform additional steps before you can restore the data. For instance,
if a disk failure occurs that makes a volume group inaccessible, it will probably be
necessary to delete and recreate the volume group, recreate the filesystems and
logical volumes, and mount the filesystems, before the data can be restored. Any
SysBack backup type can be used in this process, but the backup must contain the
desired data, as well as the desired system information, to recreate or restore the
desired data.
Note: This section does not describe the process for reinstalling the system, only
recreating and restoring data onto an already active system. For information
on reinstalling the system from a system backup, refer to Chapter 12,
System Installation and Maintenance, on page 12-1.
Removing Volume Groups, Logical Volumes, and Filesystems
Before any volume group, logical volume, or filesystem can be recreated on an
active system, you must remove the old volume group, logical volume, or
filesystem. This process is not detailed within this manual because the steps vary
too widely depending on the reason for the recreation process. For detailed
assistance on any of these activities, contact your preferred AIX Technical Support
Organization. The following guidelines might help in deleting the old system
information:
v Volume Group: To delete a volume group, first refer to the information below
on how to make filesystems and logical volumes inactive. Then, use the AIX
varyoffvg command to make the volume group inactive and the exportvg
command to remove the volume group information from the system
configuration database.
v Filesystems: To delete a filesystem, the filesystem must be unmounted, even if
the filesystem is currently inaccessible. You can do this with the AIX umount
command. To use this command, no user can currently be changed to (cd
command) any directory within the filesystem, and no process on the system can
have any file in the filesystem open.
If you are removing the volume group containing this filesystem, the filesystem
will be removed when the volume group is exported. However, to remove only
a select filesystem, first unmount the filesystem, then use the AIX rmfs
command to remove it.
v Logical Volumes: To delete a logical volume, no process can have the logical
volume open. Certain logical volumes used by the system are normally open by
system processes, and the steps to make them inactive vary depending on the
logical volume type. To list the logical volumes for a volume group, use the
lsvg -l VGname
command. This command also shows the logical volume type and whether the
logical volume is currently opened (active).
© Copyright IBM Corp. 2002,2003 10-1