From owner-freebsd-geom@FreeBSD.ORG Sun Oct 24 19:19:02 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D309E16A4CE for ; Sun, 24 Oct 2004 19:19:02 +0000 (GMT) Received: from orion.frasa.net (orion.frasa.net [195.241.98.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F6CD43D3F for ; Sun, 24 Oct 2004 19:19:02 +0000 (GMT) (envelope-from bsd@orion.frasa.net) Received: from localhost (orion [127.0.0.1]) by orion.frasa.net (Postfix) with ESMTP id D448F5F3 for ; Sun, 24 Oct 2004 21:19:00 +0200 (CEST) Received: from orion.frasa.net ([127.0.0.1]) by localhost (orion.frasa.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20424-08 for ; Sun, 24 Oct 2004 21:18:58 +0200 (CEST) Received: by orion.frasa.net (Postfix, from userid 1004) id 657D75EA; Sun, 24 Oct 2004 21:18:58 +0200 (CEST) Date: Sun, 24 Oct 2004 21:18:58 +0200 From: Mark Frasa To: freebsd-geom@freebsd.org Message-ID: <20041024191858.GA20670@orion.frasa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd at frasa.net Subject: geom_vinum problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Frasa List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 19:19:03 -0000 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. From owner-freebsd-geom@FreeBSD.ORG Sun Oct 24 19:31:56 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0B1216A4CE for ; Sun, 24 Oct 2004 19:31:56 +0000 (GMT) Received: from imap.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC8643D41 for ; Sun, 24 Oct 2004 19:31:55 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben.prv.univie.ac.at (korben.prv.univie.ac.at [131.130.7.98]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i9OJVjb5206160; Sun, 24 Oct 2004 21:31:47 +0200 Date: Sun, 24 Oct 2004 21:31:45 +0200 (CEST) From: Lukas Ertl To: Mark Frasa In-Reply-To: <20041024191858.GA20670@orion.frasa.net> Message-ID: <20041024212903.Q9602@korben.prv.univie.ac.at> References: <20041024191858.GA20670@orion.frasa.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: imap 4247; Body=2 Fuz1=2 Fuz2=2 cc: freebsd-geom@FreeBSD.org Subject: Re: geom_vinum problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 19:31:57 -0000 On Sun, 24 Oct 2004, Mark Frasa wrote: > I am trying to setup a raid1 vinum config using this as reference: > http://devel.reinikainen.net/docs/how-to/Vinum/ Please follow the instructions on , especially the disklabel part; these should work. You should make sure that the first partition on the drive has an offset of several sectors from the beginning. cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Tue Oct 26 14:22:29 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3866516A4CE for ; Tue, 26 Oct 2004 14:22:29 +0000 (GMT) Received: from orion.frasa.net (orion.frasa.net [195.241.98.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5F2C43D2F for ; Tue, 26 Oct 2004 14:22:28 +0000 (GMT) (envelope-from bsd@orion.frasa.net) Received: from localhost (orion [127.0.0.1]) by orion.frasa.net (Postfix) with ESMTP id 6F4975F5 for ; Tue, 26 Oct 2004 16:22:27 +0200 (CEST) Received: from orion.frasa.net ([127.0.0.1]) by localhost (orion.frasa.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28724-02 for ; Tue, 26 Oct 2004 16:22:25 +0200 (CEST) Received: by orion.frasa.net (Postfix, from userid 1004) id E838E5F3; Tue, 26 Oct 2004 16:22:24 +0200 (CEST) Date: Tue, 26 Oct 2004 16:22:24 +0200 From: Mark Frasa To: freebsd-geom@freebsd.org Message-ID: <20041026142224.GA28752@orion.frasa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd at frasa.net Subject: Re: geom_vinum problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Frasa List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 14:22:29 -0000 On 2004.10.25 10:40:26 +0000, Lukas Ertl wrote: > On Mon, 25 Oct 2004, Mark Frasa wrote: > > >Isn't it so that if you have vinum working, you have to be able to > >switch to g_vinum _without_ any problems? > > Yes, that's the goal. Unfortunately, there are some cases where it > doesn't work. > > >You will hear when things work or don't work out. > > Thanks. > > cheers, > le > > -- > Lukas Ertl http://homepage.univie.ac.at/l.ertl/ > le@FreeBSD.org http://people.freebsd.org/~le/ Ok, Followed the page, did exactly the same in bsdlabel: > a: 245760 281 4.2BSD 2048 16384 0 # (Cyl. 0*- 15*) > c: 71771688 0 unused 0 0 # (Cyl. 0 - 4467*) > h: 71771672 16 vinum # (Cyl. 0*- 4467*) Did not yet edit fstab but only let vinum load the config.. Yet i get the message: GEOM_VINUM: root.p0.s0 is stale The vinum.conf looks like: drive max1 device /dev/ad4s1h volume root plex org concat sd len 245760s driveoffset 265s drive max1 Tried also offset 281s, no luck yet. This is what is maybe important; When i remove the config, and do create /etc/vinum.conf I see: > GEOM_VINUM: subdisk root.p0.s0 is down > GEOM_VINUM: plex root.p0 is down > GEOM_VINUM: subdisk root.p0.s0 is up > GEOM_VINUM: plex root.p0 is up What am I doing wrong over here? Mark. From owner-freebsd-geom@FreeBSD.ORG Tue Oct 26 21:18:06 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B2716A4CE for ; Tue, 26 Oct 2004 21:18:06 +0000 (GMT) Received: from imap.univie.ac.at (mailbox-lmtp.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 583F543D31 for ; Tue, 26 Oct 2004 21:18:05 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben.prv.univie.ac.at (korben.prv.univie.ac.at [131.130.7.98]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i9QLHsIq133710; Tue, 26 Oct 2004 23:17:58 +0200 Date: Tue, 26 Oct 2004 23:17:49 +0200 (CEST) From: Lukas Ertl To: Mark Frasa In-Reply-To: <20041026142224.GA28752@orion.frasa.net> Message-ID: <20041026231641.I588@korben.prv.univie.ac.at> References: <20041026142224.GA28752@orion.frasa.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx7.univie.ac.at 4247; Body=2 Fuz1=2 Fuz2=2 cc: freebsd-geom@FreeBSD.org Subject: Re: geom_vinum problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 21:18:06 -0000 On Tue, 26 Oct 2004, Mark Frasa wrote: > Did not yet edit fstab but only let vinum load the config.. > > Yet i get the message: > > GEOM_VINUM: root.p0.s0 is stale Please set kern.geom.debugflags=1 at the loader and send me the boot output. thanks, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Thu Oct 28 19:34:52 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01BD916A4CE; Thu, 28 Oct 2004 19:34:52 +0000 (GMT) Received: from orion.frasa.net (orion.frasa.net [195.241.98.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DB1243D1D; Thu, 28 Oct 2004 19:34:51 +0000 (GMT) (envelope-from bsd@frasa.net) Received: from localhost (orion [127.0.0.1]) by orion.frasa.net (Postfix) with ESMTP id 3A8ED5F5; Thu, 28 Oct 2004 21:34:50 +0200 (CEST) Received: from orion.frasa.net ([127.0.0.1]) by localhost (orion.frasa.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42007-05; Thu, 28 Oct 2004 21:34:46 +0200 (CEST) Received: from webmail.frasa.net (unknown [195.241.98.153]) by orion.frasa.net (Postfix) with SMTP id 4183E5B3; Thu, 28 Oct 2004 21:34:46 +0200 (CEST) MIME-Version: 1.0 X-Mailer: V-webmail 1.5.0 ( http://www.v-webmail.co.uk/ ) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20041026231641.I588@korben.prv.univie.ac.at> References: <20041026142224.GA28752@orion.frasa.net> <20041026231641.I588@korben.prv.univie.ac.at> Date: Thu, 28 Oct 2004 21:34:46 +0200 From: "Mark Frasa" To: Lukas Ertl , "Mark Frasa" X-Virus-Scanned: by amavisd at frasa.net cc: freebsd-geom@FreeBSD.org Subject: Re: geom_vinum problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bsd@frasa.net List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 19:34:52 -0000 Lukas Ertl wrote: > On Tue, 26 Oct 2004, Mark Frasa wrote: > > > Did not yet edit fstab but only let vinum load the config.. > > > > Yet i get the message: > > > > GEOM_VINUM: root.p0.s0 is stale > > Please set kern.geom.debugflags=1 at the loader and send me the boot > output. > > thanks, > le Is maybe the problem that it are SATA-disks? Just guessing. Mark. From owner-freebsd-geom@FreeBSD.ORG Sat Oct 30 13:16:44 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D82316A4CE for ; Sat, 30 Oct 2004 13:16:44 +0000 (GMT) Received: from mail.radnet.ru (mail.radnet.ru [62.183.38.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4944843D46 for ; Sat, 30 Oct 2004 13:16:43 +0000 (GMT) (envelope-from rslq@radnet.ru) Received: from localhost (localhost.radnet.ru [127.0.0.1]) by mail.radnet.ru (Postfix) with ESMTP id 79BCD1BE797 for ; Sat, 30 Oct 2004 17:16:41 +0400 (MSD) Received: from mail.radnet.ru ([127.0.0.1]) by localhost (mail.radnet.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91089-07 for ; Sat, 30 Oct 2004 17:16:35 +0400 (MSD) Received: from andc9lch5aeom2 (unknown [62.183.38.237]) by mail.radnet.ru (Postfix) with SMTP id C6E601BDD83 for ; Sat, 30 Oct 2004 17:16:35 +0400 (MSD) Message-ID: <00ba01c4be82$ad94e9e0$0701a8c0@andc9lch5aeom2> From: =?koi8-r?B?4c7E0sXK?= To: Date: Sat, 30 Oct 2004 17:16:33 +0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at radnet.ru Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: can't change the size of the swap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 13:16:44 -0000 FreeBSD 5-2RELEASE=20 The vinum volume manager. I boot in single user mode # mount -u / # mount /usr # bsdlabel ad0s1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # /dev/ad0s1:=20 8 partitions:=20 # size offset fstype [fsize bsize bps/cpg]=20 a: 6291456 614400 4.2BSD 2048 16384 28552=20 b: 614400 0 swap=20 c: 78156162 0 unused 0 0 # "raw" part, = don't edit=20 d: 1024000 6905856 4.2BSD 2048 16384 64008=20 e: 2097152 7929856 4.2BSD 2048 16384 28552=20 f: 68129154 10027008 4.2BSD 2048 16384 28544=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # bsdlabel -e ad0s1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # /dev/ad0s1:=20 8 partitions:=20 # size offset fstype [fsize bsize bps/cpg]=20 a: 6291456 614400 4.2BSD 2048 16384 28552=20 b: 614119 281 swap = #change c: 78156162 0 unused 0 0 # "raw" part, = don't edit=20 d: 1024000 6905856 4.2BSD 2048 16384 64008=20 e: 2097152 7929856 4.2BSD 2048 16384 28552=20 f: 68129154 10027008 4.2BSD 2048 16384 28544=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D :wq # bsdlabel ad0s1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # /dev/ad0s1:=20 8 partitions:=20 # size offset fstype [fsize bsize bps/cpg]=20 a: 6291456 614400 4.2BSD 2048 16384 28552=20 b: 614400 0 swap=20 c: 78156162 0 unused 0 0 # "raw" part, = don't edit=20 d: 1024000 6905856 4.2BSD 2048 16384 64008=20 e: 2097152 7929856 4.2BSD 2048 16384 28552=20 f: 68129154 10027008 4.2BSD 2048 16384 28544=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Can't change the size of the swap. In what a problem?