@voxel
Quote:
As per its documentation, SFS2 support really BIG partitions (way bigger than 2 TB).
per example, a 3 TB disk with a 2048 GB SFS2 partition is formated fine by both SFSFormat and sys:system/format.
But the same 3 TB drive with a full 2760 GB SFS2 partition is formated by the same softs as... 730 GB !
and a 4 TB disk with a full 3726 GB SFS2 partition is shrink-formated by the same as... 1678 GB !
for a filesystem meant to cope with "petabytes" partitions (perhaps I exagerate a little ;)) is disapointing at least :(
so, questions to the maintainer of SFS2 :
- what's the problem ?
How did you check it's not working correctly?
Please note that there are some limits in OS structures and tools a file system can't fix, for example the number of total blocks on a partition returned in the DiskInfo id_NumBlocks is a 32 bit value and therefore limited to about 2 TB ((2^32-1)*512 bytes/block). It's the same for the number of free blocks, which will be displayed wrong as well as long as more than 2 TB are free (with 512 bytes/block), and with both wrong the percentage of used/free space on a partition can't be displayed correctly either.
Using larger block sizes may "work" (1024 bytes/block -> 4 TB, 2048 -> 8 TB, ..., 32768 -> 128 TB), but only for
displaying the size in some external tools, the Workbench, etc., it wont make any difference to the correct 64 bit sizes used inside the file system itself, and unlike for example FFS SFS gets slower with larger block sizes and therefore larger block sizes shouldn't be used. The tools which display the size have to use 64 bit calculations internally or it still wont work, with 32 bit calculations probably still used by a lot of tools you'll get an overflow and wrong sizes displayed even when using larger block sizes.
Quote:
- will an updated sfsformat will suffice to have that BIG partitions (FULL SIZE 3 and 4 TB disks partitions) formated to the right size ?
No, formatting is done inside file systems.
Quote:
- where to find the SFS2 sources to work on it ?
On my HDs and backups
It's not open source.