Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

restore to different disk with btextract?

Michael BUTOW
Frequent Advisor

restore to different disk with btextract?

Hello,

Our hardware platforms (DS10/DS15) running Tru64 5.1B all have two identical disks (dsk0, dsk1).

I've made a script which creates a bootable tape of a certain disk using btcreate.
This bootable tape can correctly perform a non-interactive restore to the same disk (with custom_disklabel_file, custom_install.sh etc).

I'd like to restore from tape to the alternate disk, but I have the following problem:

When booting from the tape, the message displayed are:

-------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Non-interactive restore file present.
>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<
-------------------------------------------------------------------------

INTERACTIVE="no"
TDRIVE="tape0_d1"
RESTORE_TYPE="yes"
SPART="b"

-------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Non-interactive restore file present.
>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<
-------------------------------------------------------------------------

To disable:

1) break (Ctrl/C) out of this program
2) rm /etc/custom_prerestore
3) /sbin/btextract

Sleeping for 2 min. and then resuming install...

I interrupt btextract at this stage to attempt an advanced restore to the other disk:

^C

Interrupt... Exiting btextract
User terminated btextract process.
Exiting btextract.
rm: /tmp: Permission denied

When I perform the steps 1-3, in step (3), btextract exits with the following errors:

mfs: mount: Device busy
Failed to mount MFS on /tmp.
rm: /tmp: Permission denied

I would be grateful for any pointers on what could be going wrong here.

Best regards,
Michael
2 REPLIES
roopali
Occasional Visitor

Re: restore to different disk with btextract?

hi,

This is a day one problem.This type of problem was never seen earlier. We are working on this problem internally.

Regards
Roopali

Cleymans Edwin
Occasional Contributor

Re: restore to different disk with btextract?

As soon as I found out, I just tried a direct btcreate on all file systems of dsk1. To be on the safe side, I booted the system in single user mode and mounted all file systems.
Then I made sure, that with the disklabel utility, I copied the partition layout from dsk1 to dsk0.
Then, just like in the example above, I interrupted the automatic restore with cntl-C and followed instructions. Unfortunately, the same error message occured. I am sure that this procedure worked correctly with earlier versions of the software. It seems to indicate that the error comes from the basic Tru64 tools btcreate/btextract, and has nothing to do with eventual shortcomings of the script (make_btape.sh).
Kind Regards,
Edwin
P.S. : A restore to the 'original' disk still works.