Date: Mon, 5 Mar 2001 19:13:35 -0600 From: Doug Poland <doug@polands.org> To: Greg Lehey <grog@lemis.com> Cc: richard childers <fscked@pacbell.net>, freebsd-questions@freebsd.org Subject: Re: SCSI disks / disklabel / vinum Message-ID: <20010305191334.A19735@polands.org> In-Reply-To: <20010306101228.A13082@wantadilla.lemis.com> References: <20010303150356.B29412@polands.org> <20010304091830.B12820@wantadilla.lemis.com> <20010305173531.A13041@polands.org> <20010306101228.A13082@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010305191334.A19735>