Back Up The Linux Kernel; Restore The Linux Kernel - HP StorageWorks D2D Configuration Manual

Hp storageworks linux and unix configuration guide for d2d backup systems (ej001-90978, july 2010)
Hide thumbs Also See for StorageWorks D2D:
Table of Contents

Advertisement

Back up the Linux kernel

1.
Check to see what media is available.
localhost:~ $ mtx –f /dev/sg2 status
Storage Changer /dev/sg2:1 Drives, 24 Slots
( 1 Import/Export )
Data Transfer Element 0:Empty
Storage Element 1:Full :VolumeTag=72255101
Storage Element 2:Full :VolumeTag=72255102
Storage Element 3:Full :VolumeTag=72255103
Storage Element 4:Full :VolumeTag=72255104
Storage Element 5:Full :VolumeTag=72255105
Storage Element 6:Full :VolumeTag=72255106
Storage Element 7:Full :VolumeTag=72255107
Storage Element 8:Full :VolumeTag=72255108
Storage Element 9:Full :VolumeTag=72255109
Storage Element 10:Full :VolumeTag=72255110A
Storage Element 11:Full :VolumeTag=72255110B
Storage Element 12:Full :VolumeTag=72255110C
Storage Element 13:Full :VolumeTag=72255110D
Storage Element 14:Full :VolumeTag=72255110E
Storage Element 15:Full :VolumeTag=72255110F
Storage Element 16:Full :VolumeTag=722551110
Storage Element 17:Full :VolumeTag=722551111
Storage Element 18:Full :VolumeTag=722551112
Storage Element 19:Full :VolumeTag=722551113
Storage Element 20:Full :VolumeTag=722551114
Storage Element 21:Full :VolumeTag=722551115
Storage Element 22:Full :VolumeTag=722551116
Storage Element 23:Full :VolumeTag=722551117
Storage Element 24:Full :VolumeTag=722551118
Storage Element 25 IMPORT/EXPORT:Empty
2.
Move the cartridge from slot 1 to the tape drive.
localhost:~ $ mtx –f /dev/sg2 load 1 0
3.
Ensure you are in the root directory.
localhost:~ $ cd /
4.
Back up the Linux kernel using tar.
localhost:~ $ tar cvf /dev/st2 ./boot/vmlinux*
5.
Move the cartridge back to slot 1.
localhost:~ $ mtx –f /dev/sg2 unload 1 0

Restore the Linux kernel

1.
Move the cartridge from slot 1 to the first tape drive.
localhost:~ $ mtx –f /dev/sg2 load 1 0
2.
Create a temporary folder to restore the backup into.
localhost:~ $ mkdir temp
localhost:~ $ cd /temp
D2D Backup System
25

Advertisement

Table of Contents
loading

Table of Contents