Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 23:15:05 +0200
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        Glenn Johnson <gjohnson@srrc.ars.usda.gov>, freebsd-questions@freebsd.org
Subject:   Re: upgrading a system with vinum volumes
Message-ID:  <200202272115.g1RLFqb08923@lv.raad.tartu.ee>
In-Reply-To: <20020227205813.GA37568@node1.cluster.srrc.usda.gov>
References:  <200202271825.g1RIP4I08041@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Glenn!

On 27 Feb 02 at 14:58 you wrote:

> On Wed, Feb 27, 2002 at 08:24:22PM +0200, Toomas Aas wrote:
> 
> > I got through cvsup, make buildworld, make buildkernel, make
> > installkernel, reboot. After boot -s I bumped into a problem. When
> > trying to 'fsck -p' and then 'mount -a', I get a message:
> > /dev/vinum/mirror01: device not configured.
>
> After you get to single user mode, type: 'vinum start'

d0h! so simple! But meanwhile, I figured out another way. After 
booting the new kernel to single user and making sure it worked, I 
re-booted into multiuser mode with kernel.old, then did 'shutdown 
now', which dropped me into single-user mode with all volumes 
mounted. From there one everything ran smooth as silk and I am now 
a proud administrator of shiny new 4.5-RELEASE-p1 system!

> >  - copy /usr/src to non-vinum volume and run installworld from
> >    there. Does the installworld process want to access anything
> >    outside /usr/src that would prohibit this? Does the fact that
> >    buildworld and installworld are done in different directories mess
> >    up any file paths?
> 
> First off, this should not be necessary. Even if it were it
> would not do what you are thinking. files are put in an object
> directory, usually /usr/obj, so just moving /usr/src would do no
> good. The files in /usr/obj are built from the source files in
> /usr/src with 'make buildworld'; the files in /usr/obj are then
> installed with 'make installworld'.

Yep, that would have been bad idea indeed. In addition to what you 
mention, some parts of the world to be installed would still have 
been on (unmounted) vinum volume, so the process would have left me 
with partially installed world!

Thanks for your time!
--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* I take my wife everywhere, but she keeps finding her way back.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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