Chapter 16. Bootable backups and restores 401
Choose Manage System and proceed as described in Figure 16-5.
Figure 16-5 SMIT menu entry for bootable backups
The Backup and Recovery item will pass you to the next screen (Figure 16-6).
Figure 16-6 SMIT backup and recovery
402 The IBM TotalStorage NAS Gateway 500 Integration Guide
Select Backup and Recovery and press Enter. The screen shown in
Figure 16-7 will appear.
Figure 16-7 SMIT Backup the System to Tape / File
Select Backup System to Tape / File and proceed. This will take you to the
mksysb screen (Figure 16-8). Press Enter to proceed. Wait for the backup to finish
(Figure 16-9).
Figure 16-8 SMIT mksysb task
Chapter 16. Bootable backups and restores 403
Figure 16-9 status of a completed mksysb backup with SMIT
Using the command line to exploit mksysb
The mksysb command can be run on the command line. You can use the NAS
administrator user to exploit the mksysb command (Figure 16-10).
Command syntax:
mksysb [ -b Number ] [ -e ] [ -i ] [ -m ] [ -p ] [ -v ] [ -V ] [ -X ]
Device |File
-b block number of 512 byte blocks
-e excludes files
-i creates / (runs mkszfile)
-m generates map files (will call mkszfile command as well)
-p packaging
-v verbose lists all backed up files
-V verification verifies the header (not the complete backup)
-X expands automatically /tmp file system
Device | File specifies the location either device or file
Tip: You may use the -e (expand) option if you have space problems in the
/tmp directory during the backup regarding too little space.
404 The IBM TotalStorage NAS Gateway 500 Integration Guide
Figure 16-10 mksysb backup done on the command line
Example (backup to image file system - not bootable):
To generate a system backup file named /mksysb_images/nasnode01 and a
new / file for that image, type:
mksysb -i /mksysb_image_files/nasnode01
Using the NAS administrator to back up (mksysb) to a file may abort, because of
the restricted shell. Make sure that the path exists and enough space is
available. If you have problems regarding the restricted shell, you may use root.
16.2.2 Restoring with the system backup manager
If a system has to be restored with a mksysb image, all data on the devices
(hdisk0) will be lost.
mksysb on tape: whole system restore with new boot sector
You can easily restore a system with an image residing on a tape. The tape used
for the restore must have a bootable image on the media. First mount the tape
into a tape drive. (We used a tape drive attached to the on board SCSI Port on
the back of the NAS node.)
Hook up with a serial port connection to the NAS Gateway 500, and power on the
node. Use the procedure described in 16.3, “Recovery using the Recovery CDs
on page 412 to boot from tape and restore the system.
mksysb on tape: restore without creating boot image
Restoring a mksysb image means it is not mandatory to restore the boot sector.
The administrator can even restore the system by files or file systems. The
following two examples show how we did a restore of all files in a file system and
a restore of a single file from the mksysb image.
Note: This file will not be bootable and can only be installed using Network
Installation Management (NIM).
Chapter 16. Bootable backups and restores 405
Example 1: Restore of a complete file system
The following screen captures show how we restored a complete file system (for
example, restore of /home file system). The example shows how we did a restore
of the /home file system. Actually we did not overwrite the existing /home file
system, we restored the data in the /tmp directory.
In WebSM, we chose Backup and Restore
Restore file system backup
(Figure 16-11).
Figure 16-11 Restore full file system from system backup image
Attention: Restoring the root file system implies not restoring all other file
systems. Be sure to choose the file systems that need to be restored.

Get The IBM TotalStorage NAS Gateway 500 Integration Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.