Help needed to enable "large_file" using tune2fs
Hi ,
I want to enable the "large_file" option for a file system sda5. Though i got the option from "man tune2fs" , am unable to execute that. Code:
#dumpe2fs -h /dev/sda5 | grep "Filesystem features" Code:
tune2fs -O[+]feature[,large_file] /dev/sda5 |
You're reading too much into the syntax diagram - try "tune2fs -O large_file /dev/sda5"
|
Note:
Quote:
try: Code:
tune2fs -O +large_file /dev/sda5 |
Thanks syg00 and gd2shoe.
Am yet to try both options provided by you . I have a question before that . Is that ok to execute the tune2fs on a mounted File system ? If Yes, will that "large_file" support be available after a reboot ? Or do we need to run some commands to make that permanently . Sorry to ask , as i don't have a test server for now. Thanks ZAMO |
Yes and yes. In fact if you don't do anything, and simply create a big file, the kernel will turn the option on for you.
Supposedly .... :p BTW, both those commands do the same thing - do (just) one. The "+" is optional, as indicated by the square brackets in the manpage. |
Hi syg00,
I raised this thread here , because when a log of around 2GB was created the system was unable to perform most functions . it failed to execute even simple commands as well with an error "File size limit exceeded" . But even there , i wonder that one FS is enabled with large_file and others not . (provided no storage here and all in a singe HDD) . So i planned to enable large_file support manually . |
Might depend on level - I've never turned it on manually (other than just now), and I regularly download DVD isos (work and home). SLES11 disk2 (I think) was over 4 Gig.
Usually btrfs these days, but must have done it under ext[34] and had it turn on automagically. |
You might not have a "modern kernel". You could try updating.
Alternativly, this might be caused by a quota system of some kind. Try: Code:
ulimit -a |
Thanks for the valuable inputs, but am unable to execute both option (i was suppose to use one):
Code:
#tune2fs -O large_file /dev/sda5 Code:
$ uname -a |
2.4 ???. Erk - don't like your chances. I should have noticed the back-level version of tune2fs from your first post.
I doubt you can get a supported e2fsprogs that far back - RH usually rolls back what support it thinks users needs. My e2fsprogs is 1.41.10 for example (Fedora 13). |
Thanks again . Finally i gave up in enabling this feature :)
|
Just an FYI, in case you don't already know: unless you want to pay the extra for 'Extended Support', RHEL 3 is now officially unsupported https://access.redhat.com/support/po...pdates/errata/
|
All times are GMT -5. The time now is 01:13 AM. |