From owner-freebsd-questions Mon Mar 5 17:13:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from out4.mx.nwbl.wi.voyager.net (out4.mx.nwbl.wi.voyager.net [169.207.1.77]) by hub.freebsd.org (Postfix) with ESMTP id 0FA2B37B71F for ; Mon, 5 Mar 2001 17:13:38 -0800 (PST) (envelope-from dpoland@execpc.com) Received: from earth.execpc.com (dpoland@earth.execpc.com [169.207.16.1]) by out4.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id f261DZN62032; Mon, 5 Mar 2001 19:13:35 -0600 (CST) Received: (from dpoland@localhost) by earth.execpc.com (8.9.0) id TAA20361; Mon, 5 Mar 2001 19:13:35 -0600 (CST) Date: Mon, 5 Mar 2001 19:13:35 -0600 From: Doug Poland To: Greg Lehey Cc: richard childers , freebsd-questions@freebsd.org Subject: Re: SCSI disks / disklabel / vinum Message-ID: <20010305191334.A19735@polands.org> Mail-Followup-To: Greg Lehey , richard childers , freebsd-questions@freebsd.org References: <20010303150356.B29412@polands.org> <20010304091830.B12820@wantadilla.lemis.com> <20010305173531.A13041@polands.org> <20010306101228.A13082@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010306101228.A13082@wantadilla.lemis.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 06, 2001 at 10:12:28AM +1030, Greg Lehey wrote: > > Did you create a 4.2BSD partition? The default labelling doesn't > create one. > I used sysinstall to create a freebsd partition consuming the entire disk. I performed identical steps on all of the drives. > > > The truely weird thing is I can see the 4.2BSD partition with a > > disklabel -r but not in disklabel -e. See following... > > > > judeah# disklabel -r da4 > > # /dev/da4: > > type: SCSI > > disk: da4s1 > > label: > > 8 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > c: 3933040 0 unused 0 0 # (Cyl. 0 - 244*) > > e: 3933040 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 244*) > > > > judeah# disklabel -e da4 > > # /dev/da4: > > type: SCSI > > disk: IBMRAID > > label: 0664M1H9337 > > > > 8 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > c: 3933040 0 unused 0 0 # (Cyl. 0 - 1440*) > > > > The same thing shows for da5. > > Strange. The label doesn't agree either. This could be something to > do with the kind of disks you're using. What does fdisk say? > judeah# fdisk da4 ******* Working on device /dev/da4 ******* parameters extracted from in-core disklabel are: cylinders=1440 heads=210 sectors/track=13 (2730 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1440 heads=210 sectors/track=13 (2730 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 3933040 (1920 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 0; end: cyl 244/ sector 13/ head 209 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: > > Do you have any file systems mounted on these drives? > judeah# mount /dev/ad0s1a on / (ufs, NFS exported, local) /dev/ad0s1f on /usr (ufs, local, soft-updates) /dev/ad0s1e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/da0s1e on /data/disk00 (ufs, local) /dev/da1s1e on /data/disk01 (ufs, local) /dev/da2s1e on /data/disk02 (ufs, local) /dev/da3s1e on /data/disk03 (ufs, local) /dev/da4s1e on /data/disk04 (ufs, local) /dev/da5s1e on /data/disk05 (ufs, local) > > If so, what is the output of the df command? > judeah# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 73M 33M 34M 49% / /dev/ad0s1f 3.3G 1000M 2.1G 32% /usr /dev/ad0s1e 73M 2.0M 65M 3% /var procfs 4.0K 4.0K 0B 100% /proc /dev/da0s1e 1.8G 1.0K 1.7G 0% /data/disk00 /dev/da1s1e 1.8G 1.0K 1.7G 0% /data/disk01 /dev/da2s1e 1.8G 1.0K 1.7G 0% /data/disk02 /dev/da3s1e 1.8G 1.0K 1.7G 0% /data/disk03 /dev/da4s1e 1.8G 1.0K 1.7G 0% /data/disk04 /dev/da5s1e 1.8G 1.0K 1.7G 0% /data/disk05 -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message