gmirror insert error: Synchronization request failed (error=1)

Charlie La Mothe charlie at clamothe.com
Fri Dec 5 04:58:40 PST 2008


I have three SATA disks: ad6, ad7, and ad8.

I just installed a fresh copy of FreeBSD 7.0 amd64 (minimal) on ad6s1a.

I setup a gmirror with: gmirror -vb round-robin gm0 /dev/ad6s1a.  I  
edited my fstab, and told my loader.conf to load geom_mirror.

The machine boots up fine, however I run into an error when I try to  
insert an additional component:

# gmirror insert gm0 /dev/ad7s1d
# tail /var/log/messages
Dec  5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: rebuilding  
provider ad7s1d.
Dec  5 04:27:51 monopoly kernel: GEOM_MIRROR: Synchronization request  
failed (error=1). ad7s1d[WRITE(offset=0, length=131072)]
Dec  5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: provider  
ad7s1d disconnected.
Dec  5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: rebuilding  
provider ad7s1d stopped.

# gmirror status
       Name    Status  Components
mirror/gm0  DEGRADED  ad6s1a

# gmirror list
Geom name: gm0
State: DEGRADED
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 4
SyncID: 1
ID: 1745622490
Providers:
1. Name: mirror/gm0
    Mediasize: 5368708608 (5.0G)
    Sectorsize: 512
    Mode: r1w1e1
Consumers:
1. Name: ad6s1a
    Mediasize: 5368709120 (5.0G)
    Sectorsize: 512
    Mode: r1w1e1
    State: ACTIVE
    Priority: 0
    Flags: NONE
    GenID: 4
    SyncID: 1
    ID: 3963284114


I haven't been able to find any explanation for this error.  The same  
error occurs when I attempt to insert the ad8s1d component.

All of the hard drives diagnose to be working.


BSD label Reference:

Each disk has one slice.

Summary:
	5GB UFS boot partition
	5GB Swap
	~950GB unused partition (for zfs / raidz).

# bsdlabel /dev/ad6s1

# /dev/ad6s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a: 10485760        0    4.2BSD     2048 16384 28528
   b: 10485760 10485760      swap
   c: 1953520002        0    unused        0     0         # "raw"  
part, don't edit
   d: 1932548482 20971520    4.2BSD        0     0     0

# bsdlabel /dev/ad7s1

# /dev/ad7s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   b: 10485760 10485760      swap
   c: 1953520002        0    unused        0     0         # "raw"  
part, don't edit
   d: 10485760        0    4.2BSD        0     0     0
   e: 1932548482 20971520    4.2BSD        0     0     0


# bsdlabel /dev/ad8s1

# /dev/ad8s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   b: 10485760 10485760      swap
   c: 1953520002        0    unused        0     0         # "raw"  
part, don't edit
   d: 10485760        0    4.2BSD        0     0     0
   e: 1932548482 20971520    4.2BSD        0     0     0



More information about the freebsd-geom mailing list