Link to home
Start Free TrialLog in
Avatar of eggster34
eggster34

asked on

Main volume in red hat EL 3 has become corrupt.

Hi there
I have Redhat EL 3.
My main volume has become corrupt, I ran fsck , fsck -p and fsck -a several times and it says it's fixing the problems, but every time I reboot the server it wants me to run fsck again.
I have a usb drive that I can access that has everything under \ stored in it (I take daily backups with rsync)
How can I authoritatively restore everything on my USB drive onto my main volume?
The command I used with rsync is this:

rsync -av --one-file-system / /dev/sdb1

so everything is under /dev/sdb1 right now.

When I boot red hat now, I can get to the CLI where I can log in as root and mount the usb drive etc. what should be my next step? alternatively, what else can I try to fix my main volume?
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial