From owner-freebsd-questions Mon Sep 20 19:18:12 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 427C3153B6 for ; Mon, 20 Sep 1999 19:18:04 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA16560; Tue, 21 Sep 1999 11:47:56 +0930 (CST) Date: Tue, 21 Sep 1999 11:47:56 +0930 From: Greg Lehey To: river Cc: questions@freebsd.org Subject: Re: VINUM (MORE) Message-ID: <19990921114756.D55065@freebie.lemis.com> References: <21DC5E98AE1FD311B1290020AFDB6C6E63FC@cx288885-b.okcs1.ok.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <21DC5E98AE1FD311B1290020AFDB6C6E63FC@cx288885-b.okcs1.ok.home.com>; from river on Mon, Sep 20, 1999 at 08:34:42PM -0500 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 Monday, 20 September 1999 at 20:34:42 -0500, river wrote: > I resent that..... > > I read the documentation front to back.....thats the problem....the > documentation is hard to follow and doesnt provide the steps that are > needed. I asked you to comment on what was missing. > I read all your emails, followed what you said (without any snide > comments about your lack of communication skills) You've caught up now. But I don't see any evidence that you tried what I wrote below. > and this is where I am. Right. > All I did was ask for your help with this functional/non-functional > software. Well, you also made the messages illegible. But you don't appear to have done what I suggest. Instead, you go off and try init, which is incorrect. Greg > -----Original Message----- > From: Greg Lehey [mailto:grog@lemis.com] > Sent: Monday, September 20, 1999 7:56 PM > To: river > Cc: questions@freebsd.org > Subject: Re: VINUM (MORE) > > > On Monday, 20 September 1999 at 6:52:12 -0500, river wrote: >> I had already tried to init the mirror: > > I don't think there's any point in continuing with this. You don't > read the documentation, you don't read my messages, and you send back > text which I can't read. > > Greg > >> vinum -> init -v -w mirror.p1 >> vinum[53957]: initializing subdisk /dev/vinum/rsd/mirror.p1.s0 >> vinum[53957]: can't write subdisk /dev/vinum/rsd/mirror.p1.s0: > Input/output >> error >> child 53957 exited with status 0x1 >> vinum[53954]: couldn't initialize plex mirror.p1, 1 processes died >> vinum -> start mirror.p1.s0 >> Can't start mirror.p1.s0: Invalid argument (22) >> vinum -> >> >> when I rebooted, this is the output that I got.....the second slice of the >> mirror changed to faulty: >> >> D drive1 State: up Device /dev/da1e Avail: >> 17/117 MB (14%) >> D drive2 State: referenced Device Avail: 0/0 MB >> >> V mirror State: up Plexes: 2 Size: 100 > MB >> >> P mirror.p0 C State: up Subdisks: 1 Size: 100 > MB >> P mirror.p1 C State: faulty Subdisks: 1 Size: 100 > MB >> >> S mirror.p0.s0 State: up PO: 0 B Size: 100 > MB >> S mirror.p1.s0 State: crashed PO: 0 B Size: 100 > MB >> > >> From: Greg Lehey [mailto:grog@lemis.com] >> Sent: Sunday, September 19, 1999 11:30 PM >> To: river >> Cc: FreeBSD Questions >> Subject: Re: VINUM (MORE) >> >> >> [Format recovered--see http://www.lemis.com/email/email-format.html] >> >> On Sunday, 19 September 1999 at 23:09:18 -0500, river wrote: >>> I think I have it setup correctly now >> >> Looks reasonable. >> >>> I did a test mirror (100m each) and was able to newfs and mount it. I > was >>> curious if it is supposed to say State:emply on S mirror.p1.s0 ? >>> >>> vinum -> list >>> Configuration summary >>> >>> Drives: 2 (4 configured) >>> Volumes: 1 (4 configured) >>> Plexes: 2 (8 configured) >>> Subdisks: 2 (16 configured) >>> >>> D drive1 State: up Device /dev/da1s1e Avail: >> 17/117 MB (14%) >>> D drive2 State: up Device /dev/da2s2e Avail: >> 17/117 MB (14%) >>> >>> V mirror State: up Plexes: 2 Size: 100 >> MB >>> >>> P mirror.p0 C State: up Subdisks: 1 Size: 100 >> MB >>> P mirror.p1 C State: initializing Subdisks: 1 Size: 100 >> MB >>> >>> S mirror.p0.s0 State: up PO: 0 B Size: 100 >> MB >>> S mirror.p1.s0 State: empty PO: 0 B Size: 100 >> MB >> >>> From vinum(8): >> >> setupstate >> >> When creating a multi-plex volume, assume >> that >> the contents of all the plexes are >> consistent. >> This is normally not the case, and > correctly >> you should use the init command to first >> bring >> them to a consistent state. In the case of >> striped and concatenated plexes, however, > it >> does not normally cause problems to leave >> them >> inconsistent: when using a volume for a > file >> system or a swap partition, the previous > con- >> tents of the disks are not of interest, so >> they >> may be ignored. If you want to take this >> risk, >> use this keyword. It will only apply to > the >> plexes defined immediately after the volume >> in >> the configuration file. If you add plexes > to >> a >> volume at a later time, you must integrate >> them. >> >> You can fix this with 'start mirror.p1.s0'. You should also look at >> the 'mirror' command. -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message