Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2013 09:40:05 +0400
From:      Alexander Zhegalov <azhegalov@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD-9.1-RELEASE-i386 geom mirror+stripe question.
Message-ID:  <CANCt_SFGaRvguBK3OjukxjZhNTbTo8BXTVc_ntnhmDRcMdDktg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi.

Is it possible to configure geom mirror+stripe (looks like RAID10)?

Trying to do it in VirtualBox:
  gmirror label -v gm11 /dev/ada0s2 /dev/ada1s2
  gmirror label -v gm12 /dev/ada2s2 /dev/ada3s2
  gstripe label -v gs0 /dev/mirror/gm11 /dev/mirror/gm12
  newfs -U /dev/stripe/gs0
  mount /dev/stripe/gs0 /mnt

'shutdown -r now' stucks in 'GEOM_MIRROR: cannot destroy gm11'

I also tried to BSD label /dev/stripe/gs0:
  gpart create -s BSD /dev/stripe/gs0
  gpart add -t freebsd-ufs /dev/stripe/gs0

after newfs -U /dev/stripe/gs0a got
  GEOM_PART: partition 1 has end offset beyond last LBA: 4193919 > 2097079
  GEOM_PART: integrity check failed (mirror/gm11, BSD)

  mount /dev/stripe/gs0a /mnt
'shutdown -r now' stucks in 'GEOM_MIRROR: cannot destroy gm11'

Any idea?

---
Best regards,
  Alexander.



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