From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 08:08:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B24FD16A402 for ; Thu, 13 Apr 2006 08:08:43 +0000 (UTC) (envelope-from lists@oak-wood.co.uk) Received: from ash.oak-wood.co.uk (ash.oak-wood.co.uk [62.3.200.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id E00B943D45 for ; Thu, 13 Apr 2006 08:08:42 +0000 (GMT) (envelope-from lists@oak-wood.co.uk) Received: from localhost (localhost [127.0.0.1]) by ash.oak-wood.co.uk (Postfix) with ESMTP id 353AAA712A for ; Thu, 13 Apr 2006 08:08:41 +0000 (GMT) Received: from ash.oak-wood.co.uk ([127.0.0.1]) by localhost (ash.oak-wood.co.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16440-02-2 for ; Thu, 13 Apr 2006 08:08:40 +0000 (GMT) Received: from celandine.oak-wood.co.uk (celandine.oak-wood.co.uk [62.3.200.115]) by ash.oak-wood.co.uk (Postfix) with ESMTP id DC77EA6C29 for ; Thu, 13 Apr 2006 08:08:40 +0000 (GMT) Message-ID: Date: Thu, 13 Apr 2006 09:08:28 +0100 To: freebsd-questions@freebsd.org From: Chris Hastie MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii User-Agent: Turnpike/6.02-U () Subject: Vinum and upgrading from 5.1-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 08:08:43 -0000 I tried to upgrade from 5.1-RELEASE to 5_RELENG last night and hit big problems with vinum. 5_RELENG in retrospect was an error I suspect, as what I really wanted was 5.4-RELEASE. The system has two mirrored disks, with Vinum used for the root filesystem. make buildworld, make buildkernel and make installkernel happened without complaint. But on rebooting vinum loaded, but failed to load any volumes. Consequently the root filesystem didn't mount. I ended up manually mounting ad0s1a, then in a desperate attempt to get out of the situation mount -u -w / mount /dev/ad2s1a /root cd /boot mv kernel kernel.55 mv kernel.old kernel cd /root/boot mv kernel kernel.55 mv kernel.old kernel reboot To my surprise and relief this worked and I managed to get more or less back to where I started. But what do I need to do now to upgrade this system and have it actually work? For info, output of vinum dumpconfig below: Drive chaucer: Device /dev/ad0s1h Created on xxxxxxx at Mon Sep 29 21:14:13 2003 Config last updated Thu Apr 13 07:59:46 2006 Size: 58946229760 bytes (56215 MB) volume rootvol state up volume varvol state up volume tempvol state up volume usrvol state up plex name rootvol.p0 state up org concat vol rootvol plex name rootvol.p1 state up org concat vol rootvol plex name varvol.p0 state up org concat vol varvol plex name varvol.p1 state up org concat vol varvol plex name tempvol.p0 state up org concat vol tempvol plex name tempvol.p1 state up org concat vol tempvol plex name usrvol.p0 state up org concat vol usrvol plex name usrvol.p1 state up org concat vol usrvol sd name rootvol.p0.s0 drive shakespeare len 524288s driveoffset 265s state up plex rootvol.p0 plexoffset 0s sd name rootvol.p1.s0 drive chaucer len 524288s driveoffset 265s state up plex rootvol.p1 plexoffset 0s sd name varvol.p0.s0 drive shakespeare len 31457280s driveoffset 524553s state up plex varvol.p0 plexoffset 0s sd name varvol.p1.s0 drive chaucer len 31457280s driveoffset 524553s state up plex varvol.p1 plexoffset 0s sd name tempvol.p0.s0 drive shakespeare len 1048576s driveoffset 31981833s state up plex tempvol.p0 plexoffset 0s sd name tempvol.p1.s0 drive chaucer len 1048576s driveoffset 31981833s state up plex tempvol.p1 plexoffset 0s sd name usrvol.p0.s0 drive shakespeare len 82098946s driveoffset 33030409s state up plex usrvol.p0 plexoffset 0s sd name usrvol.p1.s0 drive chaucer len 82098946s driveoffset 33030409s state up plex usrvol.p1 plexoffset 0s Drive /dev/ad0s1h: 54 GB (58946229760 bytes) Drive shakespeare: Device /dev/ad2s1h Created on xxxxxxx at Mon Sep 29 21:14:13 2003 Config last updated Thu Apr 13 07:59:46 2006 Size: 58946229760 bytes (56215 MB) volume rootvol state up volume varvol state up volume tempvol state up volume usrvol state up plex name rootvol.p0 state up org concat vol rootvol plex name rootvol.p1 state up org concat vol rootvol plex name varvol.p0 state up org concat vol varvol plex name varvol.p1 state up org concat vol varvol plex name tempvol.p0 state up org concat vol tempvol plex name tempvol.p1 state up org concat vol tempvol plex name usrvol.p0 state up org concat vol usrvol plex name usrvol.p1 state up org concat vol usrvol sd name rootvol.p0.s0 drive shakespeare len 524288s driveoffset 265s state up plex rootvol.p0 plexoffset 0s sd name rootvol.p1.s0 drive chaucer len 524288s driveoffset 265s state up plex rootvol.p1 plexoffset 0s sd name varvol.p0.s0 drive shakespeare len 31457280s driveoffset 524553s state up plex varvol.p0 plexoffset 0s sd name varvol.p1.s0 drive chaucer len 31457280s driveoffset 524553s state up plex varvol.p1 plexoffset 0s sd name tempvol.p0.s0 drive shakespeare len 1048576s driveoffset 31981833s state up plex tempvol.p0 plexoffset 0s sd name tempvol.p1.s0 drive chaucer len 1048576s driveoffset 31981833s state up plex tempvol.p1 plexoffset 0s sd name usrvol.p0.s0 drive shakespeare len 82098946s driveoffset 33030409s state up plex usrvol.p0 plexoffset 0s sd name usrvol.p1.s0 drive chaucer len 82098946s driveoffset 33030409s state up plex usrvol.p1 plexoffset 0s Drive /dev/ad2s1h: 54 GB (58946229760 bytes) and /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad2s1b none swap sw 0 0 /dev/vinum/rootvol / ufs rw 1 1 /dev/vinum/tempvol /tmp ufs rw 2 2 /dev/vinum/usrvol /usr ufs rw 2 2 /dev/vinum/varvol /var ufs rw,userquota 2 2 /dev/ad1s1d /bak ufs rw 2 2 -- Chris Hastie