From owner-freebsd-stable@FreeBSD.ORG Fri Feb 11 22:47:42 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62B3016A4CE for ; Fri, 11 Feb 2005 22:47:42 +0000 (GMT) Received: from clever.eusc.inter.net (clever.eusc.inter.net [213.73.101.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 768A643D1F for ; Fri, 11 Feb 2005 22:47:41 +0000 (GMT) (envelope-from msch@snafu.de) Received: from pd9e6adfd.dip0.t-ipconnect.de ([217.230.173.253] helo=stable.alpenflugzentrum.de) by clever.eusc.inter.net with asmtp (Exim 3.36 #4) id 1CzjZb-0003hY-00; Fri, 11 Feb 2005 23:47:39 +0100 Received: from stable.alpenflugzentrum.de (localhost.alpenflugzentrum.de [127.0.0.1])j1BMldGq001366; Fri, 11 Feb 2005 23:47:39 +0100 (CET) (envelope-from msch@snafu.de) Received: from localhost (localhost [[UNIX: localhost]]) j1BMlW4I001365; Fri, 11 Feb 2005 23:47:32 +0100 (CET) (envelope-from msch@snafu.de) X-Authentication-Warning: stable.alpenflugzentrum.de: matthias set sender to msch@snafu.de using -f From: Matthias Schuendehuette Organization: Micro$oft-free Zone To: freebsd-stable@freebsd.org Date: Fri, 11 Feb 2005 23:47:31 +0100 User-Agent: KMail/1.7.2 References: <4209E2FB.2070806@studserv.uni-leipzig.de> <200502091808.24679.msch@snafu.de> <420C9F79.4090700@studserv.uni-leipzig.de> In-Reply-To: <420C9F79.4090700@studserv.uni-leipzig.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200502112347.32269.msch@snafu.de> cc: Henning Kropp Subject: Re: (g)vinum with 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: msch@snafu.de List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 22:47:42 -0000 Am Freitag, 11. Februar 2005 13:05 schrieb Henning Kropp: > [...] > drive a device /dev/ad0s1e > drive b device /dev/ad1s1c //has changed to s1c > drive c device /dev/ad2s1c / -"- > volume myvolume > plex org concat // I mist to post that the last time, sry! > sd length 3214325K drive a > sd length 3242353K drive b > sd length 3214243K drive c //size dont matter here > > [...] > > root# bsdlabel /dev/ad2s1c > # /dev/ad2s1c: > 8 partitions: > size offset fstype [fsize bsize bps/cpg] > c: 78172227 63 4.2BSD 2048 16384 28552 # "raw" part, > don't edit > partition c: partition extends past end of unit > bsdlabel: partition c is not marked as unused! > bsdlabel: partition c doesn't start at 0! > bsdlabel: An incorrect partition c may cause problems for standard > system utilities > > Both have an offset of 63, which is the default I think. But still > bsdlabel is not very happy with both. I sry but I cant tell why. If > anybody could I'll be happy to know. Did you read what bsdlabel(8) told you? The " # "raw" part, don't edit" behind the 'c'-data for instance? This is not meant as a joke... really: *don't edit*! According to the bsdlabel(8) man-page (hint, hint! :-), the 'c'-partition stands for the whole disk or slice resp. and has to have the type 'unused' and an offset of "0". It must not be used at all! The 'a'-partition of the boot disk is used for the root filesystem and any 'b' partitions are generally used for swap space. So it's save to use partitions 'd'-'h' for filesystems, additionally partition 'a' on non-boot disks. Please read the bsdlabel(8) man-page *and* the FreeBSD Handbook, Chapter 16.3 *before* you label your disk. > But what happens when either try to run vinum or gvinum is: > vinum easily runs with this configuration but as the system reboots > it panics saying: > panic: umount. dangling vnode As I mentioned already: You *must* start classic-vinum *after* the main filesystems are already mounted. That is either you do it manually (e.g. once for backup purposes) or you modify the 'vinum'-script in /etc/rc.d so that it is executed after... I would try after "LOGIN". You must not load classic-vinum via /boot/loader.conf. You also have to modify the (classic-) vinum-filesystems in /etc/fstab so that they are not mounted automaticly ( option 'noauto'). See the fstab(5) man-page for details. Because all of this I always mounted classic-vinum filesystems manually under FreeBSD-5... :-) > I was told that this is to vfs_mount.c and geom_dev.c and a downgrade > to vfs_mount.c 1.27 and geom_de.c 1.75 would make the thing work > again. This is because the new versions together cant deal with every > config, for example it cant work with mine. How can I either > downgrade or rewrite my config?? (Maybe Mathias has written his PR) I never tried this way... > Of course I tried to use gvinum right from the start. But with the > config gvinum tells me, that drive a (dev/ad0s1e, by now mounted with > /usr) is already known. Well, dont know what gvinum is tying to tell > me here. What?! Did you mount it? Or is it still mentioned in /etc/fstab but not mounted any more... If you *did* mount /dev/ad0s1e as /usr you should start from the beginning reading the vinum(8) man-page as well as Chapter 17 of the handbook. Then there's a basic misunderstanding how (g)vinum should be configured... You can mount /dev/(g)vinum/myvolume but not any of the drive partitions! > I surely appreciate any help. Thanks! -- Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) PGP-Key at and ID: 0xDDFB0A5F