Skip to contentSkip to conversation

Is there still at 2TB limit?

DISCUSSION Dale Amon 3 participants 5 messages Dec 21, 2003 – Dec 22, 2003

lore
Share & tools
lore

Dale Amon

author
#0 lore raw

I've got to make a very large file system and ran across old discussions on a patch for the 2TB file system size problem.

Is this standard in 2.6.0 kernels? What filesystem size and file size limits are there currently?

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------
#1 lore raw
Quoted 3 lines · Dale Amon

Is this standard in 2.6.0 kernels? What filesystem size and file size limits are there currently?

In 2.6.x kernels you are also limited by the 2 TiB limit on block device sizes, limit which you can extend compiling a 2.6.x kernel with "Large Block Device" support (menu "Device Drivers" -> "Block devices", at the end).

You will also need filesystems that support that big sizes and can hold big files on them, have a look at the following URL for more information:
http://www.suse.de/~aj/linux_lfs.html

Greetings.

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0)
author
#2 lore raw
Quoted 3 lines · Jose Luis Domingo Lopez

You will also need filesystems that support that big sizes and can hold big files on them, have a look at the following URL for more information:
http://www.suse.de/~aj/linux_lfs.html

Thanks. I notice the notes there are quite old. Are there libraries available now that work with LFS?

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------
author
#3 lore raw
Quoted 2 lines · Dale Amon

Thanks. I notice the notes there are quite old. Are there libraries available now that work with LFS?

Actually I've got the answer. glibc 2.1.3 has full api; glibc 2.2 has full support; I'm currently using glibc 2.3.2ds1 so if I toggle on that LFS option, it should all just work merrily with many terries of bytes.

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------
#4 lore raw
In reply to Dale Amon
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dale" == Dale Amon <[email protected]> writes:

Dale> On Sun, Dec 21, 2003 at 11:14:06AM +0100, Jose Luis Domingo

Quoted 3 lines · Dale> Lopez wrote:
Quoted 3 lines

You will also need filesystems that support that big sizes and can hold big files on them, have a look at the following URL for more
information: http://www.suse.de/~aj/linux_lfs.html

Dale> Thanks. I notice the notes there are quite old. Are there Dale> libraries available now that work with LFS?

Yes. Most glibc are distributed compiled with _LARGEFILE64 support.

See also http://www.gelato.unsw.edu.au/IA64wiki/LargeBlockDevices
I haven't got around to updating for 2.6.0, but the 2.5 notes still apply.

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever*