Run mksysb command
lpar1 # mksysb -X -i -e /mksysb/lpar1/lpar1_23jul12.mksysb ⤶
If for any reason necessary, you can create a bootable DVD.iso file from a mksysb backup, using mkcd:
mkcd -L -S -I /mksysb/bootable_mk -m /mksysb/my_mksysb_backup
Where:
-m for, Specify previously taken mksysb
-I for, Specify directory where the bootable DVD iso will be placed
-S for, Do not write to DVD media/device
Now Create a bootable iso image from this mksysb image :
lpar1 #mkdvd -S -m /mksysb/lpar1/lpar1_23jun12.mksysb ⤶
Initializing mkdvd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating temporary file system: /mkcd/cd_fs...
Populating the CD or DVD file system...
Building chrp boot image...
Copying backup to the CD or DVD file system...
..
Creating temporary file system: /mkcd/cd_images...
Creating Rock Ridge format image: /mkcd/cd_images/cd_image_483704
Running mkisofs ...
...
mkrr_fs was successful.
Making the CD or DVD image bootable...
Removing temporary file system: /mkcd/cd_fs...
lpar1 #
This will create a new filesystem /mkcd/cd_mages and store the bootable iso image there.
lpar1 # cd /mkcd/cd_images ⤶
lpar1 # ls –ltr ⤶
total 4239112
drwxrwx--- 2 root system 512 Aug 01 11:57 lost+found
-rw-r--r-- 1 root sys 2170353664 Aug 01 11:57 cd_image_483704
lpar1 #
lpar1(/mkcd/cd_images)# du -gs * ⤶
2.02 cd_image_483704
lpar1(/mkcd/cd_images)#
Rename this image to relevent name, In my case, it is..
lpar1(/mkcd/cd_images)# mv cd_image_483704 lpar1_23jul.mksysb_bootable ⤶
lpar1(/mkcd/cd_images)# du -gs * ⤶
2.02 lpar1_23jul.mksysb_bootable
lpar1(/mkcd/cd_images)#
Now get this image through FTP in windows and burn on DVD. After buring to DVD, you can use this bootable DVD to restore the server.
No comments:
Post a Comment