Operating System - HP-UX
1830207 Members
3821 Online
109999 Solutions
New Discussion

hpux restore fails with "Cannot open destination"

 
Whit Murrill
Occasional Contributor

hpux restore fails with "Cannot open destination"

I am trying to create a bootable backup tape per document "How can I build a restore tape to recover my hp-ux system?" This is document id: CJLP9210290900 in the knowledge base. My system is an hp735 10.20. The commands (slightly modified from doc) to build the tape:
# dd if=/usr/lib/uxbootlf of=/dev/rmt/1mn bs=2k
# sync; sync
# dd if=/dev/rdsk/c2t6d0 of=/dev/rmt/1m bs=64k
The 2nd dd takes 16 mins. c2t6d0 is a 1GB disk. The doc says it should take an hour. Rebooting to the tape I try from the isl prompt:
ISL> hpux restore disk(2/0/7.6.0;0)
The system responds:
"Restore 2/0/7.6.0
Cannot open destination disk"
and hangs. Rebooting and trying:
ISL> hpux restore fwscsi.6.0
results in the system error:
"Restore
Cannot open destination fwscsi.6.0". Any ideas how to correct these errors?
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: hpux restore fails with "Cannot open destination"

Way too complicated. Download a the latest copy of Ignite/UX and install it on your system:

http://www.software.hp.com/products/IUX/index.html

Then run:

make_tape_recovery -a tape-device-file -Iv -x inc_entire=vg00

You will now have a bootable tape with options to reload onto a different disk, change sizes of the lvols and even change the type of filesystem.


Bill Hassell, sysadmin
Michael Tully
Honored Contributor

Re: hpux restore fails with "Cannot open destination"

Also make sure that you make use of the "no-rewind" device when creating an ignite tape. Otherwise the tape is useless. The tape is created in two portions, a bootable image at the beginning, and a 'tar' archive after that.

Using Bill's example:

# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -Iv -x inc_entire=vg00



Anyone for a Mutiny ?