Operating System - HP-UX
1828252 Members
3571 Online
109975 Solutions
New Discussion

Re: problems with make_boot_recovery

 
David Lewis_1
Advisor

problems with make_boot_recovery

Hi All,
A couple of questions.
I have just created a boot recovery tape using the option -inc_entire=vg00 but without the -I option. I have just tried to restore vg00 after corrupting the root file system and it returns the message 'nowhere to mount /'.
This I believe is due to root filesystem being listed as /dev/root when doing a bdf rather than /dev/vg00/lvol3. Can anyone help?
Also, can I restore an individual logical volume from the boot tape even though I did not make the tape with the -I option.
4 REPLIES 4
massimo poli_1
Occasional Advisor

Re: problems with make_boot_recovery

Hi,
first question: root filesystem listed as /dev/root sounds like a try to boot in manteinance mode; if your system is now up and running try with "mount -a" command.

second question: insert the tape and do:
mt -t /dev/rmt/0mn fsf 1
doing so you skip the "boot LIF" part of the tape.
Now you have a simple tar format, e.g. if you now do
tar -tvf /dev/rmt/0m
you'll have the table of contents as output.

good luck
James R. Ferguson
Acclaimed Contributor

Re: problems with make_boot_recovery

Hi David:

To correct the root system mountpoint, do:

# rm /etc/mnttab
# mount -a

No, you cannot restore an individual logical volume from the boot tape. You can, however, restore individual files or directories by extracting the contents of the 'tar' archive:

# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m filename

Regards!

...JRF...
David Lewis_1
Advisor

Re: problems with make_boot_recovery

Hi All,
thanks for your quick response.
What I have actually done is remove /stand from the system as I wanted to prove the boot tape worked. So at present the system will not boot. I was kind of hoping that booting from the recovery tape would have restored /stand. Therefore I need if possible to restore /stand from the recovery tape. Is there a way I can do this. Thanks in advance.
Giada Bonfà
Frequent Advisor

Re: problems with make_boot_recovery

Hi,
I think the only way is to boot from recovery tape and wait until the system is entirely restored.
What do you mean with "removed /stand"?