Date: Sat, 25 Jan 97 23:25:57 +0100 From: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> To: freebsd-hackers@freebsd.org Subject: fdisk headache Message-ID: <9701252225.AA13971@cabri.obs-besancon.fr>
next in thread | raw e-mail | index | archive | help
Hi,
I try to add another disk, but it seems that something has changed
since my last drive installation because fdisk doesnt want to write a
correct information.
My new drive is probed as:
(ncr1:6:0): "QUANTUM FIREBALL_TM3200S 300N" type 0 fixed SCSI 2
sd4(ncr1:6:0): Direct-Access
sd4(ncr1:6:0): 10.0 MB/s (100 ns, offset 8)
3067MB (6281856 512 byte sectors)
sd4(ncr1:6:0): with 6810 cyls, 5 heads, and an average 184
sectors/track
(why 6810*5*184 != 6281856 ???)
When I start fdisk it tells me that the drive has 19035cyl, 6heads,
55sec/trk. Wanting to change the values to 6810/5/184, I get
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 1, size 6265199 (3059 Meg), flag 80
beg: cyl 0/ sector 2/ head 0;
end: cyl 666/ sector 55/ head 5
The last value is obviously wrong, but if try to change it to
something more realistic, eg. 6810/5/183, fdisk interpret my values as
666/55/5 !!!!!
The real problem is then when I want to label the disk: I get
ioctl DIOCWLABEL: Operation not supported by device
sd4s4: type 0xa5, start 1, end = 6265199, size 6265199
sd4s4: C/H/S end 666/5/55 (220109) != end 6265199: invalid
sd4: cannot find label (no disk label)
sd4s4: cannot find label (no disk label)
Is there a solution? I don't care if the geometry is incorrect as long
I can disklabel/newfs the drive and use the 3067 Mb!!!
Jean-Marc
_____________________________________________________________________________
Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex
PGP Key: finger jmz@cabri.obs-besancon.fr
=============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9701252225.AA13971>
