Re: File Size

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



Centos wrote:
> Thank you Jim,
> 
> How can I find the current block size and file system type ?
> 

File system type can be found in 3rd column of /etc/fstab.

For ext{2,3} file systems the block size can be found by

tune2fs -l /dev/XXXX | grep "Block size"

where XXX is something like
1) sda1 (for SCSI or SATA partitions)
2) md0 (for software raid devices)
3) VolGroup00/LogVol00 (for Logical Volumes under LVM)

> 
> 
> Jim Perrin wrote:
>> On 7/25/07, Centos <centos@xxxxxxxxxxxxxx> wrote:
>>> What is the largest file size that can be created on Linux ?
>>> is there any limitation ?
>>
>> This depends on several things, including the architecture (x86_64 vs
>> x86) and the blocksize used for the filesystem.
>>
>> For ext3, it breaks out like this ->
>>
>> Block size     Max file size     Max filesystem size
>> 1KiB               16GiB         2TiB
>> 2KiB               256GiB        8TiB
>> 4KiB               2 TiB          16TiB
>> 8KiB              16TiB                 32TiB
>>
>>
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux