Operating System - HP-UX
1833755 Members
2850 Online
110063 Solutions
New Discussion

Re: restoring /opt from ignite

 
himacs
Super Advisor

restoring /opt from ignite

Hi Admins,

scenario..

My /opt corrupted.Ho can i restore only /opt from ignite..

Regards
himacs
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: restoring /opt from ignite

The ignite tape is a tar/pax archive.

Forward the tape and restore by using tar.

Not sure if this works while /opt is not there.

# mt -f /dev/rmt/_mn rew
# mt -f /dev/rmt/_mn fsf 1
# tar -tvf /dev/rmt/_mn

Maybe it is better to restore the complete system.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sarfaraj ahmad
Trusted Contributor

Re: restoring /opt from ignite

Hi himacs,

Have you tried with FSCK in single user mode?

you can check below threads for your reference,

http://h30499.www3.hp.com/t5/Ignite-UX/How-to-recover-one-file-from-Ignite-tape/m-p/4021563#M12696

 

http://h30499.www3.hp.com/t5/System-Administration/opt-deleted-on-HP-UX-by-third-party-installer/m-p/4090074#M310194

 

Better to recover full system from Ignite Tape.

himacs
Super Advisor

Re: restoring /opt from ignite

HI

Thanks for the responses.

Actually i have a ignite image and now i want to install a client using the image.Please tell me the exact procedures.

My server is 11.23 intergity..

I heard that lanbbot can be used.But i am not aware the procedure.

We dont use dhcp and dns.

Regards
himacs
Torsten.
Acclaimed Contributor

Re: restoring /opt from ignite

If restoring the itanium system from network, use dbprofile option from EFI.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
himacs
Super Advisor

Re: restoring /opt from ignite

Hi Torsten,

Thanks for the information.. con provide me the procedure..

Regards
himacs
Viktor Balogh
Honored Contributor

Re: restoring /opt from ignite

> Maybe it is better to restore the complete system.

yepp, the only recommended solution is to restore the whole system. There is a big chance that the other filesystems have been updated since the ignite backup. So you would end up with an inconsistent system if you would only restore a single filesystem.
****
Unix operates with beer.
Torsten.
Acclaimed Contributor

Re: restoring /opt from ignite

Do a help dbprofile.

You configure IP address and ignite server address in order to boot from the ignite server - so you don't need DHCP.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
himacs
Super Advisor

Re: restoring /opt from ignite



Hi ,

Thanks for all responses.I have attached procedure of dbprofile.

experts,

Please teake a look at it ,point out if any wrong steps..

Regards
himacs