gmirror & sparc64 oddness

Chris Elsworth chris at shagged.org
Mon Apr 11 05:24:52 PDT 2005


Hello,

I'm trying FreeBSD 5.4 on a sparc64 (T1/AC200) ; it's a RELENG_5_4
checkout as of last night, so RC2.

After I create a gmirror and make some partitions in it, I'm not
seeing any entries for the partitions in /dev/mirror, so I can't do
anything with them. Here's results from sunlabel for the mirror (gm0)
and it's one underlying provider, da4:

t1# sunlabel  mirror/gm0
# /dev/mirror/gm0:
text: SUN9.0G cyl 4924 alt 2 hd 27 sec 133
bytes/sectors: 512
sectors/cylinder: 3591
sectors/unit: 17682084

8 partitions:
#
# Size is in sectors.
# Offset is in cylinders.
#    size       offset      tag         flag
#    ---------- ----------  ----------  ----
  a:     265734          0        root    wu
  c:   17682084          0      backup    wu


t1# sunlabel da4
# /dev/da4:
text: SUN9.0G cyl 4924 alt 2 hd 27 sec 133
bytes/sectors: 512
sectors/cylinder: 3591
sectors/unit: 17682084

8 partitions:
#
# Size is in sectors.
# Offset is in cylinders.
#    size       offset      tag         flag
#    ---------- ----------  ----------  ----
  a:     265734          0        root    wu
  c:   17682084          0      backup    wu


t1# ls /dev/mirror
gm0

t1# ls /dev/da4*
/dev/da4


But if I remove the mirror the partitions appear in da4:

t1# gmirror remove gm0 da4
t1# ls /dev/da4*
/dev/da4        /dev/da4a       /dev/da4c


I found a reference to this also asked previously over in
freebsd-sparc64: 
http://lists.freebsd.org/pipermail/freebsd-sparc64/2005-March/002834.html

But there was no response. Is this a known problem or something we
both did wrong?

Cheers,
-- 
Chris


More information about the freebsd-geom mailing list