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
|