View Single Post
  #1   (View Single Post)  
Old 15th July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default gmirror array broken

Hello,

One of my desktops was equiped with two hard drives I put into a mirror with gmirror at setup time. Today, I saw that my mirror is broken. I only have one consumer in my provier array:

Code:
% gmirror status                                                                                                                                                                             15:54
      Name    Status  Components
mirror/gm0  DEGRADED  ad12
Code:
% gmirror list                                                15:43
Geom name: gm0
State: DEGRADED
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 1
SyncID: 1
ID: 748041724
Providers:
1. Name: mirror/gm0
   Mediasize: 119999999488 (112G)
   Sectorsize: 512
   Mode: r5w5e6
Consumers:
1. Name: ad12
   Mediasize: 120000000000 (112G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 1
   SyncID: 1
   ID: 810888617
My other hard drive is ad10 and it doesn't look that broken...
Code:
% ls /dev/ad1                                                                                                                                                                                15:55
ad10%     ad10s1%   ad10s1a%  ad10s1b%  ad10s1c%  ad10s1d%  ad10s1e%  ad10s1f%  ad12%
How can I determine why my mirror broke and if my hard drive is broken?

Thanks.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote