Date: Sat, 29 Apr 1995 15:46:02 -0700 (PDT) From: pete@pelican.com (Pete Carah) To: current@FreeBSD.org Subject: fdisk+disklabel, etc Message-ID: <m0s5LH1-000K0jC@pelican.com>
next in thread | raw e-mail | index | archive | help
I'm having a bear of a time getting a disk labelled - whatever I do, disklabel won't label the disk. This is a quantum 540 scsi with 1057758 sectors. This doesn't factor into anything which will fit into dos (or bios)'s idea of cyl-hd-record. To use these scsi drives, there has to be a way of getting fdisk and disklabel to buy the drive size without paying any attention *at all* to the slice table's cyl-hd-rec data. I saw some description fly by but it won't work for this drive no matter what I try (even go down to the next "cyl" value using xxx-64-32 or xxx-32-32 or xxx-16-63) I don't want to lose a meg at the end if possible, and it doesn't work even with that loss. We need a decent way to 1. Get the slice manager to buy ONLY beginning/size and totally ignore the bios data. 2. Fake out the size so it can be bigger than cyl*hd*sec as long as the real drive size isn't exceeded. The latter is supposed to work if #cyl is 1023 but this drive doesn't conveniently partition so that works. I also have to allocate a 1-cyl dos partition for all time to get the slice table accepted at boot time, no matter what - if I delete it and write the bsd slice as the whole disk then things fail when I try to disklabel. (actually, now, the fail when I try to disklabel anyhow, independent of the fbsd size. This is with disklabel aimed at: sd1 /dev/rsd1 /dev/rsd1c /dev/rsd1s4 /dev/rsd1s4c.) Mostly it complains that the a partition extends past the end of unit, even though the beg is 0 and size matches that in the slice table. The last complained about no such file. We need a GOOD writeup on this; I know it can be done. -- Pete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0s5LH1-000K0jC>