[SOLVED] Ext3 Tuning: Are these safe; will it cause data loss on HD?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332
Rep:
Ext3 Tuning: Are these safe; will it cause data loss on HD?
Hi Group,
I am running Slackware 12.2 as a Samba server.
I have backups on a separate disc, but want to confirm whether these ext3 tuning options may cause data loss and cause the need for a complete reinstall.
Here's my current disc arrangement as shown in /etc/fstab:
Wrt data loss IMHO the best way to handle changing write_order is to run the commands from a Live CD and /forcefsck on reboot.
But if you're changing write_order for speedups and your machine doesn't suffer from blackouts and the data isn't crucial, why not ditch journalling completely and mount as ext2 + noatime + nodiratime or use a faster filesystem?
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332
Original Poster
Rep:
Quote:
Originally Posted by unSpawn
why not ditch journalling completely and mount as ext2 + noatime + nodiratime or use a faster filesystem?
unSpawn thanks for your reply, much appreciated.
I thought ext3 actually had some caching capabilities that make it faster than ext2 in many instances, and ext3 uses space on disc more efficiently in choosing/populating blocks with data.
You have me interested about maybe using an altogether different filesystem for highest performance capabilities. What do you suggest I look into?
All pointers to RTFM here and there are greatly appreciated.
EXT3 has some over head because of its journal. This journal can be placed on another hard drive for better performance. The next file system that you should try assuming the computer has at least 512 MB of RAM or more is XFS. XFS can be very fast, but only if you specify format options to make it perform well. JFS is another file system, but it has the same flaws as FAT. JFS gets fragmented and there is no utilities to defrag it. XFS has a built in defrag feature that it does over time just like EXT2/3. XFS has an option in one of its utilities. This option forces the defrag feature of XFS which is a cheap way for defragging. This cheap way of defragging has no brains of organizing data for certain task of the system. XFS makes a good reliable and fast alternative to EXT3. Since XFS is journal file system, the over head is still there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.