Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-04-2009, 04:49 AM   #1
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
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!

Old 09-04-2009, 06:19 AM   #2
Registered: Jul 2007
Location: Knaphill, Surrey
Distribution: Linux Mint
Posts: 307

Rep: Reputation: 36
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.
Old 09-04-2009, 06:29 AM   #3
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36

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...
Old 09-04-2009, 07:19 AM   #4
Senior Member
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,103
Blog Entries: 5

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Maybe this Ext4_Howto could be helpful
Old 09-04-2009, 07:28 AM   #5
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 292Reputation: 292Reputation: 292
Here is another good tutorial on 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 07:42 AM.
Old 09-04-2009, 02:20 PM   #6
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,138

Rep: Reputation: 227Reputation: 227Reputation: 227
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:

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
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
,dmrc problem after moving /home partition to NTFS partition yeehung Linux - Newbie 1 11-14-2007 07:17 AM
Moving /home to a new partition jon_flanders Linux - General 2 05-24-2006 09:38 PM
moving /home partition bhodi Linux - Newbie 2 11-22-2003 08:57 AM
Moving /home today to a new partition... LinuxBAH Linux - General 1 06-24-2003 08:16 PM
Moving/using new /home partition concoran Linux - General 1 05-20-2002 10:32 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration