Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-04-2009, 03:49 AM
|
#1
|
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 633
Rep:
|
Moving /home partition to ext4
With the upgrade to 64bit Slackware 13 I thought it might be time to upgrade the /home partition to ext4 as well. It's been the same for a couple of years and could probably use a "defrag" so rather than just upgrade the journal++ from ext3 to ext4, I wish to do a complete backup, reformat and restore.
From way back I remember various ext4-related questions to a change in default parameters to ext4 both at creation time and at mount time to prevent dataloss in case of a system crash. I can however not remember which way the default changed, and Google gives too many contradictary hits to make sense.
So here goes:
Are there any special parameters that I should add to mke2fs to make the new /home ext4 partition more robust?
Are there any matching parameters to be added to fstab?
Thanks in advance!
-y1
|
|
|
|
09-04-2009, 05:19 AM
|
#2
|
|
Member
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Mint 13
Posts: 261
Rep:
|
You should take a look at my little help guide I created.
It should explain using LVM to creating a filesystem. Its very simple to do.
Hope this helps you.
|
|
|
|
09-04-2009, 05:29 AM
|
#3
|
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 633
Original Poster
Rep:
|
Hi,
Can't see any references to ext4 fs tuning in there anywhere, so i cannot see how that helps.
lvm is not needed for this setup. just looking for recommendations for fs blocksize and things like data written ordered,writeback or journaled etc...
|
|
|
|
09-04-2009, 06:19 AM
|
#4
|
|
Member
Registered: Oct 2005
Location: France
Distribution: Slackware 14.0
Posts: 663
Rep:
|
Maybe this Ext4_Howto could be helpful
|
|
|
|
09-04-2009, 06:28 AM
|
#5
|
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,125
|
Here is another good tutorial on ext4:
http://wiki.archlinux.org/index.php/Ext4
It explains that you can mount your existing ext3 partition as ext4 for slightly improved performance. It also describes how to convert an ext3 partition to ext4.
I have read that if you are concerned about possible data corruption in the event of a system crash due to the delayed allocation feature of ext4, you can add nodelalloc to the partition's boot options in fstab. Although I have read that this is not really necessary with the most recent linux kernels that have better implementations of ext4.
Last edited by tommcd; 09-04-2009 at 06:42 AM.
|
|
|
|
09-04-2009, 01:20 PM
|
#6
|
|
Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 13.37, Pardus 2011.2
Posts: 884
Rep:
|
In addition to the point that Tom made, remember that (as part of efforts to fix some I/O wait time regressions) the recent kernels (>= 2.6.30 I think) have a different default ext3 behaviour as well. You can see an earlier post of mine about this:
https://www.linuxquestions.org/quest...ml#post3569439
AFAIK 2.6.31 will include another new mount option which will improve the performance without raising data security concerns.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:37 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|