Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 14:58:56 +0200 (CEST)
From:      Micke Josefsson <mj@isy.liu.se>
To:        Thomas Spreng <spreng@iamexwi.unibe.ch>
Cc:        questions@FreeBSD.ORG
Subject:   RE: creating RAID1 with vinum
Message-ID:  <XFMail.000921145856.mj@isy.liu.se>
In-Reply-To: <Pine.GSO.4.10.10009210855540.1278-100000@amiet>

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

On 21-Sep-00 Thomas Spreng wrote:
> Hi,
> im trying to set up a mirrored system on my box. 
> I have two identical harddrives and would like to mirror 
> the complete system. I have a /, swap, /var and /usr 
> partition on my disk. 

That won't work. The system cannot be booted from a vinum volume. Leave /
untouched.

> I have read some docs about vinum (freebsddiary and lemis)
> and i only have one problem with it. When you change
> your fstype to vinum your data will be erased. 
> So my question is...how can i change my root partition 
> to vinum without deleting everything? 

You will lose all info when moving from ufs to vinum. I suggest a
dump/restore procedure with all the goodies you want to keep.

> I have only done a minimum install so far, there is 
> plenty of space free on my /usr part.
> 
> Well, if anyone has the same configuration (mirrored drives)
> i would be grateful to see your config. Just in case that i
> encounter any problems later on.


vinum -> printconfig
# Vinum configuration of vanheden.isy.liu.se, saved at Thu Sep 21 14:56:34 2000
drive vinumdrive0 device /dev/da1s1e
drive vinumdrive1 device /dev/da2s1e
volume mirror
plex name mirror.p0 org concat vol mirror 
plex name mirror.p1 org concat vol mirror 
sd name mirror.p0.s0 drive vinumdrive0 plex mirror.p0 len 17915975s driveoffset
265s plexoffset 0s
sd name mirror.p1.s0 drive vinumdrive1 plex mirror.p1 len 17915975s driveoffset
265s plexoffset 0s
vinum -> 
 
> Thanks so far, Tom
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.5-STABLE
----------------------------------


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?XFMail.000921145856.mj>