24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note<br />

Although the chlvcopy command can mark on-line backup copies on logical<br />

volumes that are open (including logical volumes containing mounted file<br />

systems), this is not recommended unless the application is at a known state at<br />

the time the copy is marked as a backup. The backup copy is internally<br />

consistent at the time the chlvcopy command is run, but consistency is lost<br />

between the logical volume and the backup copy if the logical volume is<br />

accessed by multiple processes simultaneously, and the application is not at a<br />

known state. When marking an open logical volume, data may be lost or<br />

corrupted. Logical volumes should be closed before marking on-line backup<br />

copies in order to avoid a potential corruption window.<br />

The -P,-l, and -w are new options for <strong>AIX</strong> <strong>4.3</strong>.2.<br />

If the persistence flag -P is not set to prevent the loss of backup data, the volume<br />

group should be set to not automatically varyon, and the -n flag should be used<br />

with varyonvg to prevent stale partitions from being resynced. If the persistence<br />

flag -P is set, the following applies: in the event of a crash while an on-line<br />

backup copy exists (or multiples exist), the existence of copies is retained when<br />

the system is rebooted.<br />

Use the -l or -P flag to prevent the volume group from being unstable on prior<br />

releases of <strong>AIX</strong>.<br />

Table 21 lists the new options of chlvcopy command in <strong>AIX</strong> <strong>4.3</strong>.2.<br />

Table 21. New Options for chlvcopy Command in <strong>AIX</strong> <strong>4.3</strong><br />

Flag<br />

Description<br />

-P Maintains information about the existence of an online backup copy across a<br />

reboot and also allows other nodes (in a concurrent mode environment) to be<br />

aware of the existence of the online backup(s).<br />

-l New name of the backup logical volume. If one is not provided, one will be<br />

created by the system.<br />

-w Allow backup copy to be writable (default is to create the backup copy as<br />

READ ONLY)<br />

To create an on-line backup, perform the following steps:<br />

1. Unmount the filesystem from the mirrored LV<br />

2. Execute chlvcopy -b -c -l <br />

3. Remount the original filesystem<br />

4. Execute mount -o ro /dev/ /<br />

5. Backup the backupfs<br />

6. Execute unmount /<br />

7. Execute chlvcopy -B original_lvname<br />

In general, use chlvcopy the same as you would splitlvcopy.<br />

94 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!