Hello
What is the largest file size that can be created on Linux ? is there any limitation ?
Thanks
On 7/25/07, Centos centos@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
Thank you Jim,
How can I find the current block size and file system type ?
Jim Perrin wrote:
On 7/25/07, Centos centos@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 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@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@centos.org http://lists.centos.org/mailman/listinfo/centos
ok, the file system is ext and block size is the default which is 4096, so I should be able to have 16 Tera Byte filesystem and 2 Tera Byte files size.
I had to transfer some files which the total size was about 250 G so I used tar -zcvf to tar and gzip them , but server crashed and rebooted two times, once when tar.gz file was about 32 G and the second time tar.gz file was about 64 G, any idea what could be the cause.
tar -zcvf tar.gz /somefolder/*
Thanks
Brett Schroeder wrote:
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
- sda1 (for SCSI or SATA partitions)
- md0 (for software raid devices)
- VolGroup00/LogVol00 (for Logical Volumes under LVM)
Jim Perrin wrote:
On 7/25/07, Centos centos@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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
any idea why my server crashes when I am creating a 200 G tar file? I am using tar -zcvf and the original file is about 250 G
Centos wrote:
ok, the file system is ext and block size is the default which is 4096, so I should be able to have 16 Tera Byte filesystem and 2 Tera Byte files size.
I had to transfer some files which the total size was about 250 G so I used tar -zcvf to tar and gzip them , but server crashed and rebooted two times, once when tar.gz file was about 32 G and the second time tar.gz file was about 64 G, any idea what could be the cause.
tar -zcvf tar.gz /somefolder/*
Thanks
Brett Schroeder wrote:
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
- sda1 (for SCSI or SATA partitions)
- md0 (for software raid devices)
- VolGroup00/LogVol00 (for Logical Volumes under LVM)
Jim Perrin wrote:
On 7/25/07, Centos centos@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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 7/26/07, Centos centos@unixplanet.biz wrote:
any idea why my server crashes when I am creating a 200 G tar file? I am using tar -zcvf and the original file is about 250 G
Probably because you're attempting to compress it at the same time. That's amazingly resource intensive, and it's probably causing a huge load spike.
Have you noticed any bad blocks warnings on your /var/log/messages? The badblocks command can also help you.
On 7/25/07, Centos centos@unixplanet.biz wrote:
ok, the file system is ext and block size is the default which is 4096, so I should be able to have 16 Tera Byte filesystem and 2 Tera Byte files size.
I had to transfer some files which the total size was about 250 G so I used tar -zcvf to tar and gzip them , but server crashed and rebooted two times, once when tar.gz file was about 32 G and the second time tar.gz file was about 64 G, any idea what could be the cause.
tar -zcvf tar.gz /somefolder/*
Thanks
Brett Schroeder wrote:
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
- sda1 (for SCSI or SATA partitions)
- md0 (for software raid devices)
- VolGroup00/LogVol00 (for Logical Volumes under LVM)
Jim Perrin wrote:
On 7/25/07, Centos centos@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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos