HP D2D HP StorageWorks Linux and UNIX configuration guide for D2D Backup Syste - Page 40

Back up the HP-UX kernel, Move the cartridge back to slot 1.

Page 40 highlights

Back up the HP-UX kernel 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 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 40 HP-UX 11i V2/V3 (PA-RISC & IA64)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

Back up the HP-UX kernel
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
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
HP-UX 11i V2/V3 (PA-RISC & IA64)
40