From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 03:13:11 2004 Return-Path: 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 EC27E16A4CE; Wed, 13 Oct 2004 03:13:10 +0000 (GMT) Received: from mx3.mra.co.id (mx3.mra.co.id [202.138.254.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 440F843D41; Wed, 13 Oct 2004 03:12:52 +0000 (GMT) (envelope-from reza@mra.co.id) Received: from localhost (localhost.mra.co.id [127.0.0.1]) by mx3.mra.co.id (Postfix) with ESMTP id 343002E0A9; Wed, 13 Oct 2004 10:29:04 +0700 (WIT) Received: from mx3.mra.co.id ([127.0.0.1]) by localhost (mx3.mra.co.id [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63662-13; Wed, 13 Oct 2004 10:29:03 +0700 (WIT) Received: from mailbox.mra.co.id (unknown [172.16.0.225]) by mx3.mra.co.id (Postfix) with ESMTP id CA8B42E0A8; Wed, 13 Oct 2004 10:29:03 +0700 (WIT) Received: from mra.co.id (unknown [172.16.0.228]) by mailbox.mra.co.id (Postfix) with ESMTP id 0A0AE238; Wed, 13 Oct 2004 10:21:53 +0700 (WIT) Message-ID: <416BD856.8050404@mra.co.id> Date: Tue, 12 Oct 2004 20:12:54 +0700 From: Muhammad Reza User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg 'groggy' Lehey References: <41669A62.9040700@mra.co.id> <200410092122.25811.Emanuel.Strobl@gmx.net> <4169BDDC.20500@mra.co.id> <20041012022323.GB1140@wantadilla.lemis.com> In-Reply-To: <20041012022323.GB1140@wantadilla.lemis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mra.co.id cc: freebsd-questions@freebsd.org Subject: Re: RAID 1 in HP NetServer LC 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 03:13:11 -0000 Greg 'groggy' Lehey wrote: >On Monday, 11 October 2004 at 5:55:24 +0700, Muhammad Reza wrote: > > >>Ok.. vinum then.. >>but i have error when applied this vinum.conf >> >>drive drive1 device /dev/da0s1e >>drive drive2 device /dev/da1s1e >>volume usr setupstate >> plex org concat >> sd length 13887091s drive drive1 >> plex org concat >> sd length 13887091s drive drive2 >>volume var setupstate >> plex org concat >> sd length 0 drive drive1 >> plex org concat >> sd length 0 drive drive2 >> >>mail# vinum >>vinum -> create -f /etc/vinum.conf >> 2: drive drive2 device /dev/da1s1e >>/*** 2 : Invalid argument*/ >>1 drives: >>D drive1 State: up Device /dev/da0s1e Avail: >>0/16488 MB (0%) >>D drive2 State: referenced Device /dev/da1s1e >>Avail: 0/0 MB >> >>2 volumes: >>V usr State: up Plexes: 2 Size: 6780 MB >>V var State: up Plexes: 2 Size: 9707 MB >> >>4 plexes: >>P usr.p0 C State: up Subdisks: 1 Size: 6780 MB >>P usr.p1 C State: up Subdisks: 1 Size: 6780 MB >>P var.p0 C State: up Subdisks: 1 Size: 9707 MB >>P var.p1 C State: up Subdisks: 1 Size: 0 B >> >>4 subdisks: >>S usr.p0.s0 State: up PO: 0 B Size: 6780 MB >>S usr.p1.s0 State: up PO: 0 B Size: 6780 MB >>S var.p0.s0 State: up PO: 0 B Size: 9707 MB >>S var.p1.s0 State: up PO: 0 B Size: 0 B >> >>which argumen is invalid ? i use 4.10 .. >>please help me... >> >> > >Take a look at the man page or >http://www.vinumvm.org/vinum/how-to-debug.html. > >Greg >-- >When replying to this message, please copy the original recipients. >If you don't, I may ignore the reply or reply to the original recipients. >For more information, see http://www.lemis.com/questions.html >See complete headers for address and phone numbers. > > Dear All, After read some paper and man page of vinum, i still have some difficulty. I have 2 disk identical disk that i want to mirrored 1:1 (RAID-1), first disk label is /#disklabel /da0 --snip-- 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1024000 0 4.2BSD 2048 16384 90 # (Cyl. 0 - 63*) b: 1048576 1024000 swap # (Cyl. 63*- 129*) c: 35840952 0 unused 0 0 # (Cyl. 0 - 2230*) e: 33768376 2072576 4.2BSD 2048 16384 89 # (Cyl. 129*- 2230*/) /#cat /etc/fstab /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /usr ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0/ my question is ; how to prepare second disk layout (ad1) and rename it, so it can user RAID-1 and boot from the second one if ad0 fail ? Please help me. regards reza