Use this procedure to create on a running the AIX 5.3 or AIX 6.1 operating system using LVM Logical Volumes.
Attention:
Possible risk of data loss – Failure to complete the steps listed might result in an inaccurate point-in-time image of the .For a process overview of the flashcopy logical drive creation process, refer to the Create FlashCopy Logical Drive Wizard - Process Overview - UNIX with Volume Manager Volumes online help topic.
FlashCopy logical drives might be reused for frequent backups or nightly backups. FlashCopy logical drives might be created for one-time usage, such as speculative change or upgrade testing. For instructions about how to reuse a disabled flashcopy logical drive, refer to the Reusing FlashCopy Logical Drives: Additional Information for AIX – LVM Logical Volumes online help topic.
Important:
If an AIX array has more than one logical drive, create flashcopy logical drives for each of the logical drives in the array.
umount mount-point
create snapshotVolume
For command reference information about creating a flashcopy logical drive, refer to the online help topics in the Enterprise Management Window.
create mapping volume
For command reference information about creating a mapping, refer to the online help topics in the Enterprise Management Window.
hot_add
Several minutes might elapse while the computer is accessing the disk drives. When the program is finished, a dialog appears with this message:
The new logical drives are now available to you through the operating system.
lspv
chdev - l os_device_name -a pv=clear
In this command, os_device_name is the name of the flashcopy logical drive on the storage subsystem that is given by the operating system. Repeat this step
for each flashcopy logical drive in the AIX array.
recreatevg -y volume-group-name -L /directory-name os-device-name
In this command, volume-group-name is the user-defined name to be assigned to the flashcopy array, directory-name is the name of the directory where you want to mount the flashcopy logical drive, and os-device-name is the name of the flashcopy logical drive on the storage subsystem that is given by the operating system. If your AIX array is made up of more than one flashcopy logical drive, add an os-device-name for each logical drive.
The command allocates new PVIDs to the flashcopy logical drives. The command also enables access to the flashcopy logical drive for the selected host.
mount mount-point
df -k
umount mount-point
varyoffvg volume-group-name
exportvg volume-group-name
In these commands, volume-group-name is the name of the flashcopy array.
If you disable the flashcopy logical drive instead of deleting it, you can retain the flashcopy logical drive and its associated . Then, when you need to create a different flashcopy of the same base logical drive, you can re-create the disabled flashcopy logical drive. This action takes less time than creating a new flashcopy logical drive and stops any reduction in performance that might occur if the flashcopy logical drive remains available.
For information about disabling or re-creating a flashcopy, refer to the Disabling a FlashCopy Logical Drive online help topic and the Re-creating a FlashCopy Logical Drive online help topic. For information about deleting a flashcopy logical drive, refer to the Deleting a Logical Drive online help topic.
For command reference information about disabling, re-creating, and deleting a flashcopy logical drive, refer to the online help topics in the Enterprise Management Window.