How to Convert Ext3 File System to Ext4? How to Solve the Error Linux-x86_64 Error: 27: File too large?
You might be in a situation where you want to save a file whose size is more than 2 TB and File system is Ext3. In that situation Following document would be of help.
How to Convert Ext3 File System to Ext4?
unmount the File system before activity
umount /APP02
Modify the Ext3 file system to include ext4 features.
tune2fs -O extents,uninit_bg,dir_index /dev/mapper/APP02
Then do a force File System Check
e2fsck -f /dev/mapper/APP02
This will still not support create file size grater than 2 TB. So to Support that we need to update "huge_file" feature in the File System. Check the File System Feature.
[root@APP02 /]# tune2fs -l /dev/mapper/APP02 | grep -i features
Filesystem features: has_journal resize_inode dir_index filetype extent sparse_super large_file uninit_bg
[root@APP02 /]#
Now update the "huge_file" feature in the File System.
[root@APP02 /]# tune2fs -O huge_file /dev/mapper/APP02
tune2fs 1.42.9 (28-Dec-2013)
[root@APP02 /]#
Now Check the File System Feature.
[root@APP02 /]# tune2fs -l /dev/mapper/APP02 | grep -i features
Filesystem features: has_journal resize_inode dir_index filetype extent sparse_super large_file huge_file uninit_bg
[root@APP02 /]#
Now create the Large Files grater than 2 TB.
You might be in a situation where you want to save a file whose size is more than 2 TB and File system is Ext3. In that situation Following document would be of help.
How to Convert Ext3 File System to Ext4?
unmount the File system before activity
umount /APP02
Modify the Ext3 file system to include ext4 features.
tune2fs -O extents,uninit_bg,dir_index /dev/mapper/APP02
Then do a force File System Check
e2fsck -f /dev/mapper/APP02
This will still not support create file size grater than 2 TB. So to Support that we need to update "huge_file" feature in the File System. Check the File System Feature.
[root@APP02 /]# tune2fs -l /dev/mapper/APP02 | grep -i features
Filesystem features: has_journal resize_inode dir_index filetype extent sparse_super large_file uninit_bg
[root@APP02 /]#
Now update the "huge_file" feature in the File System.
[root@APP02 /]# tune2fs -O huge_file /dev/mapper/APP02
tune2fs 1.42.9 (28-Dec-2013)
[root@APP02 /]#
Now Check the File System Feature.
[root@APP02 /]# tune2fs -l /dev/mapper/APP02 | grep -i features
Filesystem features: has_journal resize_inode dir_index filetype extent sparse_super large_file huge_file uninit_bg
[root@APP02 /]#
Now create the Large Files grater than 2 TB.
0 Comments