From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 11:54:10 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 2617D16A4CE for ; Tue, 6 Jan 2004 11:54:10 -0800 (PST) Received: from web41112.mail.yahoo.com (web41112.mail.yahoo.com [66.218.93.28]) by mx1.FreeBSD.org (Postfix) with SMTP id 8C03943D46 for ; Tue, 6 Jan 2004 11:54:08 -0800 (PST) (envelope-from scott@sremick.net) Message-ID: <20040106195408.31698.qmail@web41112.mail.yahoo.com> Received: from [199.172.45.60] by web41112.mail.yahoo.com via HTTP; Tue, 06 Jan 2004 11:54:08 PST X-RocketYMMF: siremick Date: Tue, 6 Jan 2004 11:54:08 -0800 (PST) From: "Scott I. Remick" To: Jerry McAllister In-Reply-To: <200401061902.i06J2Xe08477@clunix.cl.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Subject: Re: "Cannot find file system superblock" error - how to recover? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: scott@sremick.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 19:54:10 -0000 --- Jerry McAllister wrote: > > (is disklabel/bsdlabel only meant to be run on slices and not > > bsd-partitions?). > > You have it backwards in this question. Disklabel is meant to run > only on bsd partitions and not slices. Slices (1-4) are the major > divisions of the disk and partitions (a-h) are divisions within slices. > Fdisk is what creates slices. Ok, well the reason I thought it might be the other way is because if you run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which is working, or /dev/ad0s1 on another machine I have access to) it works fine (and reports an offset of 0), but if you run it on the partition (/dev/ad0s1c) you get an offset of 63 and errors like: partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition f: partition extends past end of unit So why does disklabel/bsdlabel produce errors when run on the partition even when the disk is fine, if it is meant to be run on partitions and not slices? Trying to learn... thanks!