SUMMARY: Just Looking for an idea ..

From: Gary Lopez (gary@catapult.com)
Date: Fri Aug 22 2003 - 13:02: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.

Gary
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:58 EDT