Operating System - HP-UX
1834618 Members
2803 Online
110069 Solutions
New Discussion

Hi I have removed some files from stand... have ignite

 
Marcin_9
Frequent Advisor

Hi I have removed some files from stand... have ignite

Hi,
I did some mistake and removed some files from stand... possible it was also kernel files.
Anyway it is test machine (istallation deinstallation etc so it is why I did it)...
I have ignite backup tape. Have you any scenarion to recover only stand folder... or better to start recovery from tape - whole system...
9 REPLIES 9
Robert-Jan Goossens
Honored Contributor

Re: Hi I have removed some files from stand... have ignite

Hi,

Try this, load the ignite tape

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

Hope it helps,

Robert-Jan.
Zeev Schultz
Honored Contributor

Re: Hi I have removed some files from stand... have ignite

Well since /stand is used during boot time and
for kernel builds rest of the time it can be taken offline (thus data can be restored over it).I'd do the following:
1)back up your /stand to a tar file somewhere else.
2)put make_tape_recovery (or make_recovery) into the tape drive.
3)mt -f /dev/rmt/Xmn fsf 1 (use your device file instead of X,but use with mn flags)
4)cd / (important)
5)tar xvf /dev/rmt/Xnm stand

If fails (or suddenly remembered that your specific files were in /stand) use tar file from 1).

If after all fails perform tape recovery.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
T G Manikandan
Honored Contributor

Re: Hi I have removed some files from stand... have ignite

With the ignite tape,

# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
(check for the no-rewind option)
# tar -xvf /dev/rmt/0mn /stand




Marcin_9
Frequent Advisor

Re: Hi I have removed some files from stand... have ignite

Sorry guys!.
You all of you are totally right... I forgot very important information to you...

I have done reboot... and I noticed it after unsuscessful start of system.... it remind me that I did some rm... also in stand folder...

Patrick Wallek
Honored Contributor

Re: Hi I have removed some files from stand... have ignite

Well, since you have rebooted, it is possible that your system is hosed. Did the system actually boot? Are you able to get to a command prompt? What does 'ls /stand' show?

If you aren't able to resolve your problem with the suggestions above, then recovering from your Ignite tape is probably your best bet.

When you boot from the tape there is no way to restore only part of the system (ie. /stand). You just boot from the tape, and let it restore your whole VG00.

Good luck!
Pete Randall
Outstanding Contributor

Re: Hi I have removed some files from stand... have ignite

Since it's a test system and it's pretty well trashed at this point, I'd use it to test an Ignite recovery. Go ahead and recover from your Ignite tape. It will give you practice in doing so and a functional system.


Pete


Pete
GK_5
Regular Advisor

Re: Hi I have removed some files from stand... have ignite

I agree with Pete. If this is test system and it is hosed, I'll start Ignite recovery.
IT is great!
Steven E. Protter
Exalted Contributor

Re: Hi I have removed some files from stand... have ignite

Though it seems possible to recover /stand by itself from the Ignite tape, it points out a hole in your strategy that you should think about for production.

Ignite is REALLY good at recovery of entire volume groups. As Pete notes, this is a perfect testing opportunity.

What you need to do to handle partial recoveries is have a different kind of backup. If you had an fbackup of /stand you can probably do this restore without doing the hole volume group.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Marcin_9
Frequent Advisor

Re: Hi I have removed some files from stand... have ignite

Thank you for advicess