From owner-freebsd-questions Mon Feb 21 14:30:21 2000 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 1C04637B5B0 for ; Mon, 21 Feb 2000 14:30:16 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA65008; Tue, 22 Feb 2000 08:59:52 +1030 (CST) Date: Tue, 22 Feb 2000 08:59:52 +1030 From: Greg Lehey To: Vallo Kallaste Cc: Morten Seeberg , questions@FreeBSD.ORG Subject: Re: Did a newfs on /dev/vinum/vinum0 not the raw device Message-ID: <20000222085952.D61305@freebie.lemis.com> References: <00f801bf7c84$a2f8e0d0$16280c0a@sos> <20000221212020.A52298@myhakas.matti.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000221212020.A52298@myhakas.matti.ee> 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, 21 February 2000 at 21:20:20 +0200, Vallo Kallaste wrote: > On Mon, Feb 21, 2000 at 04:59:29PM +0100, Morten Seeberg wrote: > >> I hadnīt discovered the /dev/rvinum when i installed vinum, so I did a: >> newfs -v /dev/vinum/vinum0 and mounted it, and it works just fine. Im not >> running on this systems, should I worry, did newfs autodetect the raw >> device? > > You probably mean /dev/vinum/rvinum0? I can't tell you definitive > answer as I don't know what version of FreeBSD you are running, but > some time ago the -current version drop block device support. In > this case you don't have the r prefix indicating "raw" device as all > appropriate devices are already "raw" devices. If so, don't worry, > otherwise somebody else answers your question. Yes, he should have said which version of FreeBSD he's running, but I suppose it's 3.X. In that version, Vinum creates two raw nodes, in this case /dev/vinum/rvinum0 and /dev/rvinum/vinum0. They're both the same, and they'll both be gone in 4.0, since block devices will be gone. It is possible to newfs a block device in 3.x. It's not a good idea: I've seen panics as a result, but it can be done, and if it succeeds, you can assume that there are no problems. 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