Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2012 04:31:58 -0500
From:      Janos Dohanics <web@3dresearch.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Cannot create 2nd gmirror
Message-ID:  <20120104043158.1982a008.web@3dresearch.com>

next in thread | raw e-mail | index | archive | help
Hello Everyone,

I have system with gmirror gm0:

# gmirror list
Geom name: gm0
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 3516398316
Providers:
1. Name: mirror/gm0
   Mediasize: 320072932864 (298G)
   Sectorsize: 512
   Mode: r5w5e14
Consumers:
1. Name: ad8
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 95660722
2. Name: ad10
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 632264112

I am trying to add a second gmirror, gm1:

# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 16 -> 16

# gmirror label -v -b round-robin gm1 /dev/ad4
Metadata value stored on /dev/ad4.
Done.

# gmirror insert gm1 /dev/ad6
gmirror: No such device: gm1.

Why does gm1 fail to be created?

-- 
Janos Dohanics



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120104043158.1982a008.web>