FreeBSD-9.1-RELEASE-i386 geom mirror+stripe question.

Alexander Zhegalov azhegalov at gmail.com
Wed Jan 16 05:40:12 UTC 2013


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.


More information about the freebsd-questions mailing list