Pages

Friday, January 31, 2014

How to make 1 disk alt_disk backup from mirrored 2 disk OS.



How to make 1 disk alt_disk backup from mirrored 2 disk OS.

- Make a copy of /image.data file.
- Edit the copied file image.data.altback

=      LV_SOURCE_DISK_LIST= hdisk0 hdisk1 => LV_SOURCE_DISK_LIST= hdisk0
=      COPIES= 2  =>      COPIES= 1
=     PP= 92     =>  PP= 46   ## Reduce size of the PP in half.
=      delete the stanza, "source_disk_data" of the extra mirrored disk.

- Make sure that the total size is half of total original size.
- Run following command.

/usr/sbin/alt_disk_install -e /etc/exclude.rootvg -i $SCRIPT_PATH/image.data.altback -BCV $DiskList

===
how to generate image.data
=> mkszfile

EOF

No comments:

Post a Comment