用光盘制作系统备份,除了提高恢复速度外,还可以保存任意时刻的备份,可以将映像文件保存到PC机上,即使刻录好的光盘在紧要关头不可用了,也可以随时找出需要的系统备份,再刻录一张。
制作步骤:
1、建立mksysb image文件
2、用mkcd制作光盘引导映像文件
3、刻录映像文件
1、建立mksysb image文件
# smit mksysb
Back Up the System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
WARNING: Execution of the mksysb command will
result in the loss of all material
previously stored on the selected
output medium. This command backs
up only rootvg volume group.
* Backup DEVICE or FILE [/home/mksysb/nzp570_20060112]+
Create MAP files? yes +
EXCLUDE files? no +
List files as they are backed up? no +
Verify readability if tape device? no +
Generate new /image.data file? yes +
EXPAND /tmp if needed? no +
Disable software packing of backup? no +
Number of BLOCKS to write in a single output [] #
(Leave blank to use a system default)
2、用mkcd制作光盘引导映像文件
# smit mkcd
Use an existing mksysb image?
Move cursor to desired item and press Enter.
1 yes ---à选择 yes
2 no
Back Up This System to CD
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
CD-R Device [] +
* Location of existing mksysb image [/home/mksysb/nzp570_20060112] /
File system to store CD file structure [] /
(If blank, the file system
will be created for you.)
File system to store final CD images [] /
(If blank, the file system
will be created for you.)
If file systems are being created:
Volume Group for created file systems [rootvg] +
Advanced Customization Options:
Do you want the CD to be bootable? yes +
Remove final images after creating CD? yes +
Create the CD now? no +
Install bundle file [] /
File with list of packages to copy to CD [] /
Location of packages to copy to CD [] +/
Customization script [] /
User supplied bosinst.data file [] /
Debug output? no +
User supplied image.data file [] /
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[TOP]
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating temporary file system: /mkcd/cd_fs...
Populating the CD or DVD file system...
0512-323 mkcd: The following files are required for the
creation of the CD or DVD image and are not available on the source system:
/usr/lib/drivers/idedisk devices.ide.disk.rte
/usr/lib/drivers/idediskpin devices.ide.disk.rte
/usr/lib/drivers/isa/fdisa devices.isa_sio.pnpPNP.700.rte
/usr/lib/drivers/isa/isa_busdd devices.pci.isa.rte
/usr/lib/drivers/isa/rsdd_rspc devices.isa_sio.PNP0501.rte
/usr/lib/drivers/isa/kbddd_chrp devices.isa_sio.chrp.8042.rte
/usr/lib/drivers/mintdd_load devices.pci.14105400.rte
/usr/lib/drivers/mintdd_loadpin devices.pci.14105400.rte
/usr/lib/drivers/pci/PCIccmdd devices.pci.ibmccm.rte
/usr/lib/drivers/pci/PCIccmddpin devices.pci.ibmccm.rte
/usr/lib/drivers/pci/bldd devices.pci.14103c00.com
/usr/lib/drivers/pci/blddpin devices.pci.14103c00.com
/usr/lib/drivers/pci/mg2dd devices.pci.2b102005.rte
/usr/lib/drivers/pci/mg2dd_pin devices.pci.2b102005.rte
/usr/lib/drivers/pci/mgadd devices.pci.2b101a05.rte
/usr/lib/drivers/pci/mgadd_pin devices.pci.2b101a05.rte
/usr/lib/drivers/pci/mir2ddd devices.pci.14107d01.rte
/usr/lib/drivers/pci/mir2dddpin devices.pci.14107d01.rte
/usr/lib/drivers/pci/mirdd devices.pci.1410b800.rte
/usr/lib/drivers/pci/mirddpin devices.pci.1410b800.rte
/usr/lib/drivers/pci/mojdd devices.pci.14101b02.rte
/usr/lib/drivers/pci/mojddpin devices.pci.14101b02.rte
/usr/lib/drivers/pci/mojldd devices.pci.14101c02.rte
/usr/lib/drivers/pci/mojlddpin devices.pci.14101c02.rte
/usr/lib/drivers/pci/mtndd devices.pci.14108e00.rte
/usr/lib/drivers/pci/mtnddpin devices.pci.14108e00.rte
/usr/lib/drivers/pci/qfcdd devices.pci.77101223.rte
/usr/lib/drivers/pci/qfcddpin devices.pci.77101223.rte
/usr/lib/drivers/pci/s_scsidd devices.pci.00100f00.rte
/usr/lib/drivers/pci/s_scsiddpin devices.pci.00100f00.rte
/usr/lib/drivers/pci/sondd devices.pci.14107001.rte
/usr/lib/drivers/pci/sonddpin devices.pci.14107001.rte
/usr/lib/drivers/pci/sonldd devices.pci.14106e01.rte
/usr/lib/drivers/pci/sonlddpin devices.pci.14106e01.rte
/usr/lib/drivers/pci/usbohcd devices.pci.c1110358.rte
/usr/lib/drivers/qfscsidd devices.pci.77101223.rte
/usr/lib/drivers/qfscsiddpin devices.pci.77101223.rte
/usr/lib/drivers/smintdd_load devices.pci.14105e00.rte
/usr/lib/drivers/smintdd_loadpin devices.pci.14105e00.rte
/usr/lib/drivers/ssa devices.common.IBM.ssa.rte
/usr/lib/drivers/ssadisk devices.ssa.disk.rte
/usr/lib/drivers/ssadiskpin devices.ssa.disk.rte
/usr/lib/drivers/ssapin devices.common.IBM.ssa.rte
/usr/lib/drivers/stydd devices.isa_sio.PNP0501.rte
/usr/lib/drivers/usb/usbfd devices.usbif.080400.rte
/usr/lib/drivers/usb/usbcd devices.usbif.08025002.rte
/usr/lib/drivers/usb/usbcdpin devices.usbif.08025002.rte
/usr/lib/libssa.a devices.common.IBM.ssa.rte
/usr/lib/methods/cfg_PCIccm devices.pci.ibmccm.rte
/usr/lib/methods/cfg_bl devices.pci.14103c00.com
/usr/lib/methods/cfg_mg2 devices.pci.2b102005.rte
/usr/lib/methods/cfg_mga devices.pci.2b101a05.rte
/usr/lib/methods/cfg_mint devices.pci.14105400.rte
/usr/lib/methods/cfg_mir2d devices.pci.14107d01.rte
/usr/lib/methods/cfg_mir devices.pci.1410b800.rte
/usr/lib/methods/cfg_moj devices.pci.14101b02.rte
/usr/lib/methods/cfg_mojl devices.pci.14101c02.rte
/usr/lib/methods/cfg_mtn devices.pci.14108e00.rte
/usr/lib/methods/cfg_smint devices.pci.14105e00.rte
/usr/lib/methods/cfg_son devices.pci.14107001.rte
/usr/lib/methods/cfg_sonl devices.pci.14106e01.rte
/usr/lib/methods/cfgasync_rspc devices.isa_sio.PNP0501.rte
/usr/lib/methods/cfgbus_isac devices.pci.isa.rte
/usr/lib/methods/cfgcdrom_usb devices.usbif.08025002.rte
/usr/lib/methods/cfgfda_chrp devices.isa_sio.pnpPNP.700.rte
/usr/lib/methods/cfgfdd devices.common.IBM.fda.rte
/usr/lib/methods/cfgfd_usb devices.usbif.080400.rte
/usr/lib/methods/cfgidedisk devices.ide.disk.rte
/usr/lib/methods/cfgkma_chrp devices.isa_sio.chrp.8042.rte
/usr/lib/methods/cfgkm_chrp devices.isa_sio.chrp.8042.rte
/usr/lib/methods/cfgncr_scsi devices.pci.00100100.com
/usr/lib/methods/cfgohcd devices.pci.c1110358.rte
/usr/lib/methods/cfgqfc devices.pci.77101223.rte
/usr/lib/methods/cfgqfscsi devices.pci.77101223.rte
/usr/lib/methods/cfgssa devices.common.IBM.ssa.rte
/usr/lib/methods/cfgssadisk devices.ssa.disk.rte
/usr/lib/methods/cfgssar devices.ssa.disk.rte
/usr/lib/methods/isaload devices.isa_sio.PNP0501.rte
/usr/lib/methods/defssar devices.ssa.disk.rte
The files can be installed from the listed filesets.
0512-321 mkcd: Error populating the CD or DVD file system
using the /usr/lpp/bosinst/cdfs.optional.list proto file.
0512-328 mkcd: The CD or DVD may not be able to boot some systems.
Copying backup to the CD or DVD file system...
Building chrp boot image...
Creating temporary file system: /mkcd/cd_images...
Creating Rock Ridge format image: /mkcd/cd_images/cd_image_467044.vol1
Running mkisofs ...
mkrr_fs was successful.
Making the CD or DVD image bootable...
Copying the remainder of the backup to the CD or DVD file system...
Creating Rock Ridge format image: /mkcd/cd_images/cd_image_467044.vol2
Running mkisofs ...
mkrr_fs was successful.
Removing temporary file system: /mkcd/cd_fs...
执行完后,产生/mkcd/cd_images文件系统,其中包括两个映像文件。
# cd /mkcd/cd_images
# ls -l
total 2559000
-rw-r--r-- 1 root sys 677922816 Jan 13 10:28 cd_image_507936.vol1
-rw-r--r-- 1 root sys 632276992 Jan 13 10:28 cd_image_507936.vol2
drwxrwx--- 2 root system 512 Jan 13 10:28 lost+found
3、刻录映像文件
将第二步操作生成的两个映像文件ftp到有刻录机的机器上,可以是任何操作系统的机器,以刻录映像文件的方式刻录到光盘上。
下面试刻录好的第一张光盘
# mount /cdrom
# cd cdrom 66594847 diaohitao
# ls –l
total 28
-r--r--r-- 1 root system 25 Jan 12 19:59 OSLEVEL
dr-xr-xr-x 3 root system 2048 Jan 12 19:59 RPMS
dr-xr-xr-x 3 root system 2048 Jan 12 19:59 ismp
-r--r--r-- 1 root system 60 Jan 12 19:59 mkcd.data
dr-xr-xr-x 3 root system 2048 Jan 12 19:59 sbin
dr-xr-xr-x 3 root system 2048 Jan 12 19:59 udi
dr-xr-xr-x 5 root system 2048 Jan 12 19:59 usr
阅读(1691) | 评论(0) | 转发(0) |