Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2004 21:18:58 +0200
From:      Mark Frasa <bsd@frasa.net>
To:        freebsd-geom@freebsd.org
Subject:   geom_vinum problems
Message-ID:  <20041024191858.GA20670@orion.frasa.net>

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

I am trying to setup a raid1 vinum config using this as reference:
http://devel.reinikainen.net/docs/how-to/Vinum/

Its an very useful howto, and i managed to get everything up and running except the swap offcoure.
Thats when GEOM_VINUM came into the picure.

With the "normal" vinum i could boot from the vinum drives, but with GEOM_VINUM i can't boot:

> Oct 22 19:20:37 arcas kernel: GEOM_VINUM: subdisk swap.p0.s0 is stale
> Oct 22 19:20:37 arcas kernel: GEOM_VINUM: subdisk root.p0.s0 is stale
> Oct 22 19:20:37 arcas kernel: GEOM_VINUM: subdisk home.p0.s0 is stale
> Oct 22 19:20:37 arcas kernel: GEOM_VINUM: subdisk var.p0.s0 is stale
> Oct 22 19:20:37 arcas kernel: GEOM_VINUM: subdisk tmp.p0.s0 is stale
> Oct 22 19:20:37 arcas kernel: GEOM_VINUM: subdisk data.p0.s0 is stale

At this point i have to boot from /dev/ad6s1a then go into GEOM_VINUM do a rm -r max1 and create /etc/vinum.conf
After this i can mount all geom disks and use them without any problems.

Sysinfo: FreeBSD 5.3-RC1

Here is my bootloader.conf:

geom_vinum_load="YES"

This is the vinum.conf:

drive max1 device /dev/ad6s1h

volume root
  plex org concat
    sd len 8388608s driveoffset 2097136s drive max1
volume swap
  plex org concat
    sd len 2096871s driveoffset 265s drive max1
volume home
  plex org concat
    sd len 2097152s driveoffset 10485744s drive max1
volume var
  plex org concat
    sd len 2097152s driveoffset 12582896s drive max1
volume tmp
  plex org concat
    sd len 524288s driveoffset 14680048s drive max1
volume data
  plex org concat
    sd len 144867245s driveoffset 15204336s drive max1

Can someone tell me what the problem here is?

Mark.



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