Date: Wed, 10 May 2006 14:18:20 -0400 From: "Dave" <dmehler26@woh.rr.com> To: <freebsd-geom@freebsd.org> Subject: gmirror, not synchronizing drives on freebsd6 Message-ID: <00ac01c6745e$1e8ea310$0200a8c0@satellite>
next in thread | raw e-mail | index | archive | help
Hello, I've got a 6.0 box running gmirror as raid1. It uses gm0s1 and the two identical 40-gb ide drives are ad0 and ad1. I'm getting an error from smartd in smartmontools, installed from ports, about 5 unrecoverable sectors in drive ad0. I then noticed in my dmesg output that ad0 wasn't coming up, ad1 was. I then did a gmirror list and got only ad1 in the output, my raid array was in state dirty. So i tried to synchronize the two drives and was told unrecoverable error. I am now starting to think ad0 is going bad. I powered down the box and unplugged ad1 from the system and booted ad0 only. It booted, but the data was not up to date at all, i could tell from the perl version and some other packages i've since uninstalled. I then powered down and unplugged ad0 and reconnected ad1 and booted. I don't get any error, just a blinking cursor, which tells me that ad1 is actually being booted off ad0. Plug them both back in and ad1 is once again booting. This tells me that there might not be an mbr on the second drive, so ad0 has to boot it when it can't boot itself. What i'm wondering are: 1. Is there a way without destroying my setup to put an mbr on ad1, i do not want to loose data, so that unplugging ad0 and ad1 will boot 2. I'd like to confirm that ad0 is indeed going bad, and if it is replace it. 3. Once the status of these drives is verified i'd like to replace it with another 40 and sync up, can i do this without partitioning, just issue the gmirror command and will it copy partitions, slices, and data over to the blank drive Thanks a lot. Dave.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ac01c6745e$1e8ea310$0200a8c0>