Re: Partitions: Amiga RDB partition on 2 TB disk way too big, while OK in AmigaOS 4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Am Sonntag, 17. Juni 2012 schrieb Geert Uytterhoeven:
On Sun, Jun 17, 2012 at 2:58 PM, Martin Steigerwald <Martin@xxxxxxxxxxxx> wrote:
Am Sonntag, 17. Juni 2012 schrieb jdow:
| JXFS 64 bit file system
| With AmigaOS 4.x a new file system has been introduced called JXFS.
| It is a totally new 64 bit file system that supports partitions up
| to 16 TB in size. It is a modern journalling file system, which
| means that it reduces data loss if data writes to the disk are
| interrupted. It is the fastest and most reliable file system ever
| created for AmigaOS.

Well I asked AmigaOS 4 developers about this issue as well. Lets see
what they say about 2 TB limits.

16 TB = 2 TB * 8. Perhaps they increased the block size from 512 to

I hope to get anything back from the AmigaOS 4 developers.

block/partitions/amiga.c reads the block size from
but after conversion to 512-byte blocks, all further calculations are
done on "int", so it will overflow for disks larger than 2 TiB.

Note that in your profile-binary.img, the field is 0x200, i.e. 512
bytes per block,
so I'll have to get a deeper look into your RDB first...

Okay, thanks!

I did not get any information regarding the current size limit yet.

Strangely on AmigaOS 4.1 all values seem to be fine except for the total
sectors value. 

And on Linux begin and end cylinders are correct, only size is off:

merkaba:~> amiga-fdisk -l /dev/sdb                         
Disk /dev/sdb: 3 heads, 16 sectors, 81396441 cylinders, RDB: 0
Logical Cylinders from 43 to 81396440, 24576  bytes/Cylinder 

Device     Boot Mount   Begin      End     Size   Pri  BBlks    System
/dev/sdb1       *        43   65536043   1572864024     0      0  Linux native
/dev/sdb2       *    65536044   78643244   314572824     0      0  [unknown]
/dev/sdb3       *    78643245   81396440   66076704     0      0  Amiga FFS Int.

But not only from the first, also of the second and third one it seems.

65536043 - 43 = 65536000

78643244 - 65536044 = 13107200

81396440 - 78643245 = 2753195

I would think that if there is a overflow it would already be in the cylinder

Martin 'Helios' Steigerwald -
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Video for Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux