From owner-freebsd-questions Fri Dec 31 18:49:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 12CB814DCF for ; Fri, 31 Dec 1999 18:49:15 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA14182; Sat, 1 Jan 2000 13:19:04 +1030 (CST) Date: Sat, 1 Jan 2000 13:19:04 +1030 From: Greg Lehey To: Marc Dodsworth Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vinum question (warning long message) Message-ID: <20000101131904.I1528@freebie.lemis.com> References: <99123123443500.00997@zen.dodsworth.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <99123123443500.00997@zen.dodsworth.org> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 31 December 1999 at 23:31:39 +1030, Marc Dodsworth wrote: > Hi > > Got a little problem with vinum. > > I am creating a Raid5 array using 5 x 300Mb drives and have a little problem. > > Then I can create the file array with "vinum create zen) and it works fine. > Configuration summary > > > > V RAID State: down Plexes: 1 Size: 1200 MB > > P RAID.p0 R5 State: init Subdisks: 5 Size: 1200 MB > > S RAID.p0.s0 State: empty PO: 0 B Size: 300 MB > S RAID.p0.s1 State: empty PO: 32 kB Size: 300 MB > S RAID.p0.s2 State: empty PO: 64 kB Size: 300 MB > S RAID.p0.s3 State: empty PO: 96 kB Size: 300 MB > S RAID.p0.s4 State: empty PO: 128 kB Size: 300 MB > > how ever when vinum starts (vinum start) I get a warning about defective object > > Warning: defective objects > > V RAID State: down Plexes: 1 Size: 1200 MB > P RAID.p0 R5 State: init Subdisks: 5 Size: 1200 MB > S RAID.p0.s0 State: empty PO: 0 B Size: 300 MB > S RAID.p0.s1 State: empty PO: 32 kB Size: 300 MB > S RAID.p0.s2 State: empty PO: 64 kB Size: 300 MB > S RAID.p0.s3 State: empty PO: 96 kB Size: 300 MB > S RAID.p0.s4 State: empty PO: 128 kB Size: 300 MB That looks the same as before. > and when I try to newfs the plex (newfs -v /dev/vinum/RAID (or rRAID) it comes > back with. This is a feature, not a bug. Your subdisks contain inconsistent data. To quote vinum(8): init [-S] size [-v] [-w] plex | subdisk vinum init initializes a subdisk by writing zeroes to it. You can initialize all subdisks in a plex by specifying the plex name. This is the only way to ensure consistent data in a plex. You must perform this initialization before using a RAID-5 plex. It is also recommended for other new plexes. vinum initializes all subdisks of a plex in parallel. Since this operation can take a long time, it is normally performed in the background. If you want to wait for completion of the command, use the -w (wait) option. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message