HP D2D4009fc HP StoreOnce Backup System Linux and UNIX Configuration guide (BB - Page 25
Back up the HP-UX kernel (iSCSI and Fibre Channel), Restore the HP-UX kernel (iSCSI and Fibre
View all HP D2D4009fc manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 25 highlights
Back up the HP-UX kernel (iSCSI and Fibre Channel) 1. Check to see what media is available. # mc -p /dev/rac/c9t0d0 -rDSI DT_slot_1 EMPTY ST_slot_1:Full 72255101 ST_slot_2:Full 72255102 ST_slot_3:Full 72255103 ST_slot_4:Full 72255104 ST_slot_5:Full 72255105 ST_slot_6:Full 72255106 ST_slot_7:Full 72255107 ST_slot_8:Full 72255108 ST_slot_9:Full 72255109 ST_slot_10:Full 72255110A ST_slot_11:Full 72255110B ST_slot_12:Full 72255110C ST_slot_13:Full 72255110D ST_slot_14:Full 72255110E ST_slot_15:Full 72255110F ST_slot_16:Full 722551110 ST_slot_17:Full 722551111 ST_slot_18:Full 722551112 ST_slot_19:Full 722551113 ST_slot_20:Full 722551114 ST_slot_21:Full 722551115 ST_slot_22:Full 722551116 ST_slot_23:Full 722551117 ST_slot_24:Full 722551118 IE_slot_25:Empty 2. Move the cartridge from slot 1 to the first tape drive. # mc -p /dev/rac/c9t0d0 -s S1 -d D1 3. Ensure you are in the root directory. # cd / 4. Back up the HP-UX kernel using tar. # tar cvf /dev/rmt/1mnb ./stand/vmunix 5. Move the cartridge back to slot 1. # mc -p /dev/rac/c9t0d0 -s D1 -d S1 Restore the HP-UX kernel (iSCSI and Fibre Channel) 1. Move the cartridge from slot 1 to the first tape drive. # mc -p /dev/rac/c9t0d0 -s S1 -d D1 2. Create a temporary folder to restore the backup into. # mkdir temp # cd /temp 3. Restore the HP-UX kernel to the temporary folder. # tar xvf /dev/rmt/1mnb 4. Move the cartridge back to slot 1. # mc -p /dev/rac/c9t0d0 -s D1 -d S1 5. Compare the original HP-UX kernel with the restored HP-UX kernel. # cmp /stand/vmunix /temp/stand/vmunix If no differences are found between the two files, no message will be displayed. Backup and restore files using TAR in HP-UX 25