Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ufsrestore Accident 2

Status
Not open for further replies.

McQueen

Technical User
Feb 13, 2003
55
GB
Hi all

I was checking a tape to do a file restore and instead of type:-

Ufsrestore ivf /dev/rmt/0n

I typed:-

Ufsrestore rf /dev/rmt/0n

Initiating a restore of the root partition from different servers on to the root partition of the server I was logged onto. They are both sunfire V440 and the restore came up with a number of warnings until could do a control-c on it. Now every time I run the ufsrestore ivf /dev/rmt/0n command it just come back to the prompt. What I would like to know is if i’ve damaged the root partition at all, and if I have how can I tell?

Thanks for all your help
 
Difficult one to assess. Did you record any of the warnings? Perhaps there's something in /var/adm/messages. How long was the restore running? Did the ufsrestore leave any zombies which might be affecting your ability to run ufsrestore now?

I want to be good, is that not enough?
 
Thanks for the reply,
The restore was running for about a minute or two before i control-c it, I did not record any of the warnings it was just file warnings, there are no zombie processes and nothing in the /var/adm/messages file.
Will a ufsrestore rf /dev/rmt/0n overwrite files if they already exists?.

 
Been there.

Check to see if ufsrstore overwrote (or zeroed out) the tape device or even the actual ufsrestore command.
 
Thanks spamly

I checked the ufsrestore command file itself and the file size was 0. So I copied it from another servers and it now works. Do you guys have any idea what I should do now I'm a bit worried about the system state not sure what to do?

Any suggestions?
 
It all depends what was overwritten. You may be fine, but I wouldn't bet on it. Was the other server's backup the same patch level as the current system?

If you have a good backup, I'd restore from it. If not, I wonder if you could do a find command to search for those files that were restored. I don't remember. Can you check the date on a few of the recently overwritten files? Are they current? The reason I ask is because you may be able to identify if they are "critical" files.

Also, is your application/data for this server on a seperate partition? You could rebuild the server and keep that data.
 
Thanks for all your help on this one, it looks like i'll be doing a OS restore over the weekend

Once again thanks
 
A shame, but thanks for the star and good luck at the weekend.

I want to be good, is that not enough?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top