I use HDToolBox under WorkBench 3.1.
I'm here right now trying to figure out how to set this HDD up. In a manual I've read it has 90773 cylinders and 2 heads. I would need blocks per track and blocks per cylinder. As Thomas said, we have 143,374,744 blocks (sectors). Besides, at the end of this link http://discountechnology.com/Seagate-ST373207LW-SCSI-Hard-Drive we can see: 181,548 tracks
Blocks per track = 143.374.744/181.584 = 789
Blocks per cylinder = 143.374.744/90773 = 1580
You make it far too complicated. The values for cylinders / heads / sectors are logical values needed by dos.library. They are in no way related to the real physical geometry of the disk. You can choose them freely.
I already told you that the formula is
cylinders * blocks per track * heads = total number of blocks
and
blocks per track * heads = blocks per cylinder
and that blocks per cylinder should be next to 1 MB (2048 blocks). Also no value should exeed 32768 too much.
So we know that the drive has 143,374,744 blocks. This is a difficult number for calculating nice cylinder sizes because it is only divisible by 8 and 17921843 which is a prime number.
Well, if I just ignore that I would choose
Cylinders = 70007
Heads = 8
Blocks per Track = 256
Blocks per Cylinder = 2048
This wastes 408 sectors in the end of the drive (204 KB).
Or if I made cylinders more near to 32768 I would use
Cylinders = 35003
Heads = 16
Blocks per Track = 256
Blocks per Cylinder = 4096
This wastes 2456 sectors in the end of the drive (1228 KB).
With these parameters HDToolBox reports the HDD has 397 mb :eek:
It's not difficult to get negative sizes. If those parameters were correct, the size should be less than 0, isn't it? Because we are talking about more than 4 gb.
We know that the drive has 143,374,744 sectors of 512 bytes each. This means that the real capacity of the drive is 73,407,868,928 Bytes. If you divide this by 4GB (4,294,967,296 Bytes) you get 17 times 4GB plus a remainder of 393,424,896 Bytes. The remainder, i.e. a number less than 4GB, is the only part of the capacity which can be stored in 32bits. Thus this is the value HDToolbox displays as size. Only if the remainder is larger then 2GB, it will be displayed as a negative number. In your case a display of 375 MB is correct.
About the filesystem, I've seen this somewhere:
Custom file system PFS3-060ds
Mask 0x7ffffffe
mas transfer 0x00ffffff (UPDATE - now set at 0x0001FE00)
block size 512
buffers 300
Please don't read "somewhere". Please read the documentation of PFS3!
Is really possible install this HDD with workbench 3.1 or I need a higher version?
Yes, it is possible. The question is whether you really want such a big drive with AmigaOS. Once the drive has been installed successfully, you might want to fill it with files and install software on it. There are many software titles which also have problems with numbers bigger than 2GB or 4GB. These titles may refuse to install themselves to partitions with more than 2GB free space or may later refuse to save data to these partitions because they think that there is no enough free space.