Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
85 user(s) are online (68 user(s) are browsing Forums)

Members: 0
Guests: 85

more...

Support us!

Headlines






Smart FileSystem size support and limitations
Just popping in
Joined:
2006/12/1 18:03
Posts: 119
I have an issues that really bother me. What are the limitations and what is supported by SFS 1.274 (regarding filesize)?

And one more thing. What are the advantages of a new format with large file support above that what was available in previous versions?


Edited by mailman on 2007/8/19 23:04:18
   Report Go to top

Re: Smart FileSystem size support and limitations
Just popping in
Joined:
2006/11/27 19:41
From Poland
Posts: 67
@joerg

SFS 1.274:

DOSType 'SFS\0'
DOSType 'SFS\2'.

1. Partitions limit:

SFS\0 - ?

SFS\2:
"The limit for 'SFS\2' partitons is 1 TB."
J?rg Strohmayer - here:
http://www.amigans.net/modules/newbb/ ... t_id=13067#forumpost13067

2. Large files limit:

SFS\0 - 2 GB?
SFS\2 - 4 GB to ?

   Report Go to top

Re: Smart FileSystem size support and limitations
Just popping in
Joined:
2006/12/4 1:03
From Sweden
Posts: 124
@SZAMAN

SFS/2 has 1TB limit with 512byte block size and 64TB with
32Kb block size.

Joerg mentioned something about AmiDVD when he said
it supports 4GB file size. Can't remember if he meant with
just that program or even if that was the file size limit.
If its 64bit it should support way larger files than 4GB.

But he could have set a limit because of limitations in the
filesystem. The old SFS 2 filesystem supported larger than
100GB files if I'm not mistaken.

_________________
Best Regards,

Harry

[SOLD] ?A1-C, 512MB, Antec Aria
   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1740
@SZAMAN

Quote:

2. Large files limit:

SFS\0 - 2 GB?


IIRC this is exactly 4GB - 2 bytes, i.e. 2^32 - 2 bytes (largest size possible).

The limit for FFS might be around 2GB though if it uses signed 32-bit integers.

   Report Go to top

Re: Smart FileSystem size support and limitations
Just popping in
Joined:
2006/12/1 18:03
Posts: 119
@SZAMAN

So, to sum up. Can anybody confirm if I am correct.

In SFS 1.274 there are really two types of SFS: SFS/0 and SFS/2. Purpose of this is just to seperate things for large files (for those below 4 GB the system uses SFS/0, for those above - SFS/2).

SFS/0 has the limit for the size of the file to 4 GB while SFS/2 can break the boundary of 4 GB.

Edited: typo


Edited by mailman on 2007/8/20 12:08:30
   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1740
@mailman

Quote:

In SFS 1.274 there are really two types of SFS: SFS/0 and SFS/2. Purpose of this is just to seperate things for large files (for those below 4 GB the system uses SFS/0, for thos above - SFS/2).


You can compare this to how FastFileSystem uses disk ids like DOS\x where x is a different number depending on whether the disk is formatted as OFS or FFS and if it uses international mode, directory caching, long filenames support, etc..

   Report Go to top

Re: Smart FileSystem size support and limitations
Not too shy to talk
Joined:
2006/12/8 18:02
From Germany
Posts: 391
Quote:

1.254 (4.3.2006)
- The limits mentioned in the 1.245 notes were wrong, sorry. The actual
partition size limit of SFS 1.x is 128 GB, no matter which blocksize
you are using. Changed the checks to the actual limits. You can
continue to use too large partitions, but you may get "disk full"
errors (instead of a trashed partition) even if there is still free
space on the partition.


SFS2 should work with all programms that use the new 64bit dos.library functions.

   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/12/1 19:07
From Germany
Posts: 1022
@mailman

Quote:
I have an issues that really bother me. What are the limitations and what is supported by SFS 1.274 (regarding filesize)?
With DOSType SFS\0 it's the same as in all older AmigaOS versions of SFS:
Max. partition size: 128 GB, independent of the block size.
Max. file size: 4,294,967,294 bytes (4 GB - 2 bytes).
DOSType SFS\2:
Max. partition size: 1 TB * blocksize/512.
Max. file size: more than enough (more than the max. partition size).

But independent of the limits in the file system there is probably a lot of old software which fail with files >= 2GB already, and nearly everything which doesn't use the new 64 bit dos.library functions (ExamineDir(), GetFileSize(), ChageFileSize(), GetFilePosition(), ChangeFilePosition(), ...) or the 64 bit C library I/O functions doesn't work with files >= 4 GB.

Quote:
And one more thing. What are the advantages of a new format with large file support above that what was available in previous versions?
If you mean the old SmartFileSystem2 versions: They didn't work.

   Report Go to top

Re: Smart FileSystem size support and limitations
Just popping in
Joined:
2006/12/1 18:03
Posts: 119
@joerg

Thanks joerg. That clear things up.

   Report Go to top

Re: Smart FileSystem size support and limitations
Just popping in
Joined:
2007/10/10 18:20
Posts: 14
@joerg

> DOSType SFS\2:
> Max. partition size: 1 TB * blocksize/512.

If I understood you correctly, you completely integrated the former SFS2 into SFS >= 1.275 by using the DOSType CFS\02 now. That way I should be able to format a harddrive of 500GB with OS3.x to its whole size into single partition. I tried so with Amithlon (OS3.9.2) on my ASUS A8V Deluxe which has a supported SATA controller onboard. The drive shows up correctly in HDToolBox and can be fully prepared there. But I am not allowed to make any partition bigger than 128GB. Did I understand the Changelogs and your calculation wrongly? Can it be addressed in future versions to make use of the whole drive as one single partition?

   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/12/1 19:07
From Germany
Posts: 1022
@Sprocki

Quote:

Sprocki wrote:
@joerg

> DOSType SFS\2:
> Max. partition size: 1 TB * blocksize/512.

If I understood you correctly, you completely integrated the former SFS2 into SFS >= 1.275 by using the DOSType CFS\02 now.
DOSType 'SFS\2', 0x53465302.

Quote:
That way I should be able to format a harddrive of 500GB with OS3.x to its whole size into single partition.
Yes, but unless you have software which supports files larger than 4 GB, wich is very unlikely especially on AmigaOS 3.x, you shouldn't use 'SFS\2' partitions, especially not such a large one. There are no recovery tools for the new 'SFS\2' format yet, and even if you use a 2nd SATA2 HD for backups creating and restoring 500 GB backups takes a lot of time ...

   Report Go to top

Re: Smart FileSystem size support and limitations
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2847
@Sprocki

Welcome new member

_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1099
I tried to install SFS/02 on my USB HardDisk.

Al goes ok, SFS/02 is used but when I try to get the latest Mandriva on this disk, the maximum lenght of the file is 2,1 Gb.

I thought that with SFS/02 I could write a file well over 4Gb.

What is going wrong?

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/12/1 19:07
From Germany
Posts: 1022
@K-L

Quote:
Al goes ok, SFS/02 is used but when I try to get the latest Mandriva on this disk, the maximum lenght of the file is 2,1 Gb.
The AmigaOS4 dos.library and SFS\2 support files larger than 4 GB, but the software you used to create the file very likely doesn't.

   Report Go to top

Re: Smart FileSystem size support and limitations
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1099
@joerg

Thanks Joerg, I'm using ctorrent to downlod the ISO. I now understand better where does the problem come

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project