Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mksysb restoration

Status
Not open for further replies.

bonsky

MIS
Apr 23, 2001
280
US
guys,
i remember i read this one but unfortunately cant find the thread again. anyways, Can somebody help me on this,
I have a mksysb from a mirrored OS then i want to restore the mksysb to another server which does have enough disk space so i want to take out the mirroring from the mksysb? So, how do i go about the procedure of editing the image.data from the tape? thanks a lot...
 
Hi Bonsky,
1) On mirrored machine run mkszfile. This will create a new
/image.data file.

2) Edit the /image.data file. In each lv_data stanza
change the number of copies to 1 and number of PPs
to the same number as the LPs.

Example:
Before:

lv_data:
VOLUME_GROUP= rootvg
LV_SOURCE_DISK_LIST= hdisk0
LV_IDENTIFIER= 00000001113f3c62.5
LOGICAL_VOLUME= hd2
VG_STAT= active/complete
TYPE= jfs
MAX_LPS= 512
--> COPIES = 2
LPs = 70
STALE_PPs= 0
INTER_POLICY= minimum
INTRA_POLICY= center
MOUNT_POINT= /usr
MIRROR_WRITE_CONSISTENCY= on
LV_SEPARATE_PV= yes
PERMISSION= read/write
LV_STATE= opened/syncd
WRITE_VERIFY= off
PP_SIZE= 4
SCHED_POLICY= parallel
--> PP = 140
BB_POLICY= relocatable
RELOCATABLE= yes
UPPER_BOUND= 32
LABEL= /usr
MAPFILE=
LV_MIN_LPS= 68

After:

lv_data:
VOLUME_GROUP= rootvg
LV_SOURCE_DISK_LIST= hdisk0
LV_IDENTIFIER= 00000001113f3c62.5
LOGICAL_VOLUME= hd2
VG_STAT= active/complete
TYPE= jfs
MAX_LPS= 512
--> COPIES = 1
LPs = 70
STALE_PPs= 0
INTER_POLICY= minimum
INTRA_POLICY= center
MOUNT_POINT= /usr
MIRROR_WRITE_CONSISTENCY= on
LV_SEPARATE_PV= yes
PERMISSION= read/write
LV_STATE= opened/syncd
WRITE_VERIFY= off
PP_SIZE= 4
SCHED_POLICY= parallel
--> PP = 70
BB_POLICY= relocatable
RELOCATABLE= yes
UPPER_BOUND= 32
LABEL= /usr
MAPFILE=
LV_MIN_LPS= 68

3) Make a new mksysb image. Do not use the -i or -m options.

4) On mirrored machine run mkszfile to restore /image.data.

5) install not mirrored machine.

Regards Boris
 
yes, dude.. thanks alot.
but iwant to re edit the image.data on an existing mksysb tape. lets say i dont want to recreate another system backup and i only have 1 exisitng mksysb tape with mirrored OS in it.
thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top