|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Freebsd server wont boot
Hi,
Im technically new to freebsd/linux , our Sys admin just left and no one here to check the problem. After a power failure our server just hangs up in boot. here is the last part of error Quote:
I tried reading about GEOM_MIRROR and i found out that we had a two hard disk and probably 1 of them is having some problem. Is their anyway i can just remove the 1 hard disk and make it boot again. Thanks |
|
|||
You've either got a bad sector in the same place on multiple drives or , more likely, need to resynchronize the array after a power loss, 'man gmirror' may tell you more. You will need to use a rescue CD as there is a problem booting to a command prompt.
|
|
|||
And for goodness sake, invest in a UPS. Depending on the system however, it won't last very long. For example, my UPS is a 1000VA/600W that with a normal computer is estimated to last 89 minutes, however the system estimates it will last 14 minutes with my SunFire V60x plugged in (pulling about 0.2kw). But, it will buy you perhaps just enough time for those "quick" power outages.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident! |
|
|||
Like above said
Code:
su fsck reboot |
|
||||
Down the server. Pull ad6 out of the system. Boot the server into single-user mode (so no filesystems get mounted). If there are no errors during the boot, then you have a dead drive (ad6). If there are errors during the boot, you have larger problems. You can now run
% gmirror remove gm0 ad6 to remove the dead drive from the mirror. If that errors out due to /dev/ad6 not existing, then run % gmirror forget gm0 ad6 to forcibly remove ad6 from the gmirror config.Down the server. Put in a new harddrive. Boot into single-user mode. Then run % gmirror insert gm0 ad6 (or whatever the new drive is detected as, depends on which connector it's plugged into) to add the new drive to the mirror.At this point, you can either wait for it to finish syncing the data onto the new drive, or you can boot into the system, and it will sync in the background. You can monitor the status of the sync using % gmirror status or % gmirror list
Last edited by phoenix; 11th June 2008 at 04:10 PM. Reason: Fix cmd tags |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to boot from a CD with the FreeBSD BTX Loader? | Turquoise88 | FreeBSD General | 6 | 25th August 2009 04:16 PM |
FreeBSD hangs on boot | Bubba_HoTep | FreeBSD General | 3 | 29th November 2008 10:25 PM |
FreeBSD doesn't boot | purak | FreeBSD Installation and Upgrading | 7 | 9th October 2008 05:24 PM |
Boot freeBSD from USB drive? | s25 | FreeBSD General | 9 | 17th June 2008 07:47 AM |
FreeBSD boot problem | kdi | FreeBSD General | 2 | 25th May 2008 07:09 AM |