[CentOS] File Size
Brett Schroeder
brett at kinibay.net
Wed Jul 25 14:06:03 UTC 2007
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 at unixplanet.biz> 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
More information about the CentOS
mailing list