From owner-freebsd-questions Fri Jan 26 15:15:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 4328D37B402 for ; Fri, 26 Jan 2001 15:15:37 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id F31B86A90D; Sat, 27 Jan 2001 09:45:34 +1030 (CST) Date: Sat, 27 Jan 2001 09:45:34 +1030 From: Greg Lehey To: "Dan Mahoney, System Admin" Cc: questions@freebsd.org Subject: Re: vinum Message-ID: <20010127094534.E1948@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from danm@prime.gushi.org on Fri, Jan 26, 2001 at 07:32:49AM -0500 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 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 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 26 January 2001 at 7:32:49 -0500, Dan Mahoney, System Admin wrote: > Okay, I've been at this the better part of the night, and reading the > mailing list doesn't seem to help. > > I'm pertty much at this point: > > I need to label a partition for vinum. From what I can gather from > Greg's postings the disk does not have to have any partitions on it, nor > does it have to have any slices labeled. All it seems to need is > disklabel -e. Well, it needs partitions alright. That's what disklabel does. >>>> At this point I have not done anything to the disk's (like newfs or >>>> /stand/sysinstall) they are low-level formatted only. >>> >>> That's all you need. I'm assuming that you're using an older version >>> of FreeBSD. Do 'disklabel -e da0' and it should work. Hmm. Not quite correct for a completely virgin disk. See below. > (in my case it's ad4 and ad6, but...) > > # /dev/ad4: > type: unknown > disk: amnesiac > label: fictitious I think this means that it's an idea in the mind of disklabel, and there's nothing out there at all. I think this is a bug in disklabel, but you could try # disklabel -w -r ad4 auto Then you need to create the Vinum partition with disklabel -e. > Here's the funny part. I've tried creating FreeBSD partitions on the > disks (but never labeled them) using /stand/sysinstall. The above did not > change at all. > > Even if I make no changes to the file, I get: > > disklabel: Operation not supported by device > re-edit the label? [y]: I suspect you didn't write the configuration you specified in sysinstall. The 'w' command should write a partition table, and it's an alternative to the disklabel command above. > Now I've also seen the vinum docs say that partition C is not usable, as > it refers to the entire disk. Well, there aren't any others there. That's not the issue. Make one. First, unwrap the line: c: 40011300 0 unused 0 0 # (Cyl. 0 - 39693*) Then add another line with changed parameters: h: 40011300 0 vinum 0 0 # (Cyl. 0 - 39693*) That's all you need to do. > Greg, help please! If you want my help, copy me on the message. I get 1400 messages a day, and I often delete messages without reading them. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. 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