From owner-freebsd-questions Tue Feb 25 14:26:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA20580 for questions-outgoing; Tue, 25 Feb 1997 14:26:53 -0800 (PST) Received: from proxy3.ba.best.com (root@proxy3.ba.best.com [206.184.139.14]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA20575 for ; Tue, 25 Feb 1997 14:26:51 -0800 (PST) Received: from bsampley.vip.best.com (bsampley.vip.best.com [206.184.160.196]) by proxy3.ba.best.com (8.8.5/8.8.3) with SMTP id OAA05120 for ; Tue, 25 Feb 1997 14:21:59 -0800 (PST) Date: Tue, 25 Feb 1997 14:20:36 -0800 (PST) From: Burton Sampley To: questions@freebsd.org Subject: Another ? about Fujitsu M1638TAU drive Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I finally was able to get the 2.5 gig EIDE Fujitsu drive labeled and newfs'ed. I finally called Fujitsu and spoke to customer service and determined there was a problem with the hardware. I returned the drive for a new one. I also located the FAQ about adding a new drive using /stand/sysinstall. The new drive works, but later I examined the disklabel and I can not figure out how or why this drive now works! The geometry reported by disklabel is no where near the correct geometry, however the drive can now read and write without crashing the system (3.0-current and only a hardboot would recover). I've attached a copy of the disklabel for this drive. Can somebody let me know if this is something I should be worried about because the primary purpose of this drive is to store a backup copy of my primary drive? [NOTE: dump was only done AFTER /stand/sysinstall setup the disk. Disklabel and fdisk reported the same info about the drive BEFORE I attempted dump] I have already done (the drive in question is mounted as /backup): dump 0auf /backup/bk1_root.970224 / dump 0auf /backup/bk1_var.970224 /var dump 0auf /backup/bk1_usr.970224 /usr dump exits successfully after completing. I can read the directory ok, I even did mkdir 970224 and mv'ed all three files to it. The correct geometry (per Fujitsu) is 4982 cylinders, 16 heads, 63 SCT. (FYI: the correct geometry is reported by both BIOS and the initial probe on startup (here's the appropriate info from dmesg:) wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 2452MB (5021856 sectors), 4982 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, accel, dma, iordis Here's what disklabel thinks: bash$ disklabel -r /dev/rwd1 # /dev/rwd1: type: ESDI disk: wd1s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 312 sectors/unit: 5021856 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 5021856 0 unused 0 0 # (Cyl. 0 - 312*) e: 5021856 0 4.2BSD 0 0 0 # (Cyl. 0 - 312*) bash$ Here's what fdisk reports: bash# fdisk /dev/rwd1 ******* Working on device /dev/rwd1 ******* parameters extracted from in-core disklabel are: cylinders=524 heads=152 sectors/track=63 (9576 blks/cyl) parameters to be used for BIOS calculations are: cylinders=524 heads=152 sectors/track=63 (9576 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 5021856 (2452 Meg), flag 80 beg: cyl 0/ sector 1/ head 0; end: cyl 312/ sector 63/ head 151 The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: bash# her's output from df -k: bash# df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a 31775 24483 4750 84% / /dev/wd0s1f 1411583 1094459 204198 84% /usr /dev/wd0s1e 63567 14231 44251 24% /var /dev/wd1s1e 2435758 1222906 1017992 55% /backup procfs 4 4 0 100% /proc /dev/wcd0c 640690 640690 0 100% /cdrom bash# Thanks for the help. Burton Sampley Email: bsampley@best.com Alternate Email: bsampley@haywire.csuhayward.edu Home Page: http://www.best.com/~bsampley