SUMMARY: Just Looking for an idea ..

From: Gary Lopez <>
Date: Fri Aug 22 2003 - 13:06:53 EDT
Original message -

>     I am writing here because I  had a peculiar situation and due to 
> time constraints did not have time to write before. Basically the 
> situation is that trying to unlink a file in /usr/lib, I accidentally 
> unlink /usr/lib. This wouldn't be such a bad thing if it wasn't a disk 
> that was mirrored. Needless to say I couldn't copy /usr/lib from cd 
> because it deleted it everytime I rebooted. I even tried editing the 
> vfstab to not boot mirrors. No luck. I tried copying /usr/lib to both 
> disk and mirror. With no success. So I had to re-install the whole 
> machine from scratch. Luckily for me it was my mail and news server. My 
> question is, was there a way for me to be able to restore /usr/lib dir 
> without having to re-install the whole thing ? Probably a command or 
> something I could've used off the cdrom to make it not look for mirrors 
> ? And then boot it up and re-create the mirrors ?

Answers -
(a)You have to break the mirror first, then restore /usr/lib on one 
disk, reboot, and _then_ re-establish the mirror so

/usr/lib gets copied to the mirror disk.

(b) Boot off a cd-rom and restore /usr/lib from backup (assuming one was taken)

I thank you all for responding. 

sunmanagers mailing list
Received on Fri Aug 22 13:06:49 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:18 EST