Operating System - Linux
1751950 Members
4737 Online
108783 Solutions
New Discussion

Recovery from OBDR tape (mkCDrec utility)

 
Giuseppe_13
Frequent Advisor

Recovery from OBDR tape (mkCDrec utility)

Environment:
- Server HP Rx2660 Itanium
- S.O. Linux RedHat ES 4.7
- Tape drive HP C7438A with OBDR function
- Backup/Recovery tool: mkCDrec

I have performed the backup operation without any problem, output on tape whit boot image
command: make OBDR

When I perform the recover operation:
1) I set tape in OBDR mode (push on eject button of the tape drive and switch on the tape drive)
2)Boot the server and select "Boot From File" in EFI Boot Manger Form.
3) select the device corresponding to the tape
Log:
Filename: \boot\elilo.efi
DevicePath: [Acpi(HWP0002,PNP0A03,700)/Pci(1|0)/Scsi(Pun3,Lun0)/CDROM(Entry0)/\boot\elilo.efi]
IA-64 EFI Application 11/20/08 03:15p 333,819 bytes


ELILO boot: Uncompressing Linux... done
Loading initrd initrd.img...done
Linux version 2.6.9-78.EL (brewbuilder@ia64-2.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Wed Jul 9 15:27:17 EDT 2008
EFI v2.00 by HP: SALsystab=0x3ee7a000 ACPI 2.0=0x3fde4000 SMBIOS=0x3ee7c000 HCDP=0x3fde2000
booting generic kernel on platform hpzx1
.................

The Linux kernel is loaded but the following
messages are displayed:

One Button Disaster Recovery (OBDR) Procedure:
OBDR: positioning the tape...
/dev/nst0: No such device or address
/dev/nst0: No such device or address
OBDR: reading ram disk image into /dev/ram1 or /dev/rd/1
dd: opening `/dev/nst0': No such device or address

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Invalid argument
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

OBDR: problem with reading ram disk from /dev/nst0
Being desparate, I will try to open a /bin/sh.
sh: can't access tty; job control turned off
#

The tape is not present but this is normal !
The tape is set in OBDR mode = CD-ROM

Has someone already tried the recovery from tape with mkcdrec?

Thanks
1 REPLY 1
Giuseppe_13
Frequent Advisor

Re: Recovery from OBDR tape (mkCDrec utility)

Add the recovery log file