LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Large Filesystem (about 24TB) (https://www.linuxquestions.org/questions/linux-server-73/large-filesystem-about-24tb-832854/)

adiehl 09-17-2010 11:23 AM

Large Filesystem (about 24TB)
 
Hi,

I want to create a filesystem on a 24 TB partition, but I can't.
So what filesystem should I use, and how should I create and mount it?

I'm using Centos 5.5 on a x86 Machine, partition table is GPT, created with parted.

I tried the following:

1. Create the praised ext4 filesystem:
Code:

# mkfs.ext4 /dev/sde3
mke4fs 1.41.9 (22-Aug-2009)
mkfs.ext4: Size of device /dev/sde3 too big to be expressed in 32 bits
        using a blocksize of 4096.

--> failed
Then I forced a block size of 8192 .. worked but mounting crashed the machine.
AFAIK, the mkfs does not support > 16 TB.

2. Create xfs which should handle it:
Code:

# mkfs.xfs /dev/sde3
meta-data=/dev/sde3              isize=256    agcount=32, agsize=175303405 blks
        =                      sectsz=512  attr=0
data    =                      bsize=4096  blocks=5609708960, imaxpct=25
        =                      sunit=0      swidth=0 blks, unwritten=1
naming  =version 2              bsize=4096 
log      =internal log          bsize=4096  blocks=32768, version=1
        =                      sectsz=512  sunit=0 blks, lazy-count=0
realtime =none                  extsz=4096  blocks=0, rtextents=0

# mount /dev/sde3 /data
mount: Argument list too long

Any ideas?

PS: I don't care about what filesystem to use, but it should support quota.

AsusDave 09-17-2010 08:33 PM

Searching Google for argument too long shows quite a few hits. Evidently you are hitting a limitation of x86 architecture. Switching to _64 (if possible) and using XFS should work for you.

HTH
Dave

HasC 09-17-2010 08:45 PM

ext4? btrfs? take a look at http://en.wikipedia.org/wiki/File_sy...parison#Limits

michaelk 09-17-2010 09:29 PM

Also have a look at jfs.

xfs is not capable of >16TB without a 64bit system and like you have found out the ext utilities can not support >16TB yet.

HasC 09-18-2010 08:16 AM

Quote:

Originally Posted by michaelk (Post 4101212)
you have found out the ext utilities can not support >16TB yet.

https://ext4.wiki.kernel.org/index.p...and_File_Sizes
D'oh, you're right :study:

adiehl 09-19-2010 03:21 PM

Quote:

Originally Posted by michaelk (Post 4101212)
Also have a look at jfs.

xfs is not capable of >16TB without a 64bit system and like you have found out the ext utilities can not support >16TB yet.

Thanks a lot ... I'll go and buy a x86_64-Bit system now and get xfs running. :)


All times are GMT -5. The time now is 11:18 AM.