Fat fingered the usr dir.

Matthew Saltzman mjs at ces.clemson.edu
Tue Feb 20 17:22:43 UTC 2007


On Mon, 19 Feb 2007, Jim Canfield wrote:

> m.roth2006 at rcn.com wrote:
>> I hope you have a backup....
>> 
>> Mmm, if it's *only* /usr/bin, and you have another machine, why not just 
>> copy the directory and contents over from the other machine? I just 
>> checked, btw, and on RHEL 4, there's /bin/tar, so that works.
>> 
>>    mark
>> 
>> 
> Thanks all,
>
> I'm back online and I didn't even have to turn the machine off.   As it turns 
> out I lost /usr/bin and part of /usr/lib.  The saving grace was a very 
> similar machine and I still had a ssh session running. I tar'd everything 
> from the second machine onto a cd-rom and untar'd onto the broken machine.
>
> Lessons learned:
>
> You *can* mount a cd-rom even when /usr/bin is gone...that rocks!
> You *can not* mount a USB drive...maybe that will change over time.
>
> Concerns:
>
> I'm sure there are several things that will be out of sync particularly the 
> rpmdb and perl modules.

rpm -Va will check all RPMs in the database and flag any files that are 
missing/modified from the originals.

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the redhat-list mailing list