FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-26-2012, 01:27 PM
"Hans-J. Ullrich"
 
Default wheezy: ext4 or ext3

Hi list,

I am now a proud user of a ssd drive. As I cloned my system (which was
installed 5 years ago) to the drive, the filesystem on the source drive is
ext3.

On my new drive I chose ext4 (with luks encryption) for as far as I read, most
people are using ext4 instead of ext3 on ssd drives.
Is this really recommended?

And if yes, should I change the filesystem from ext3 to ext4 on my old spin
drive? I think, this can be done with tune2fs (when I remember correctly),
without any loss of data. If I am wrong, please point me to the correct tool.

Most important thing for me is speed and security, and, of course, lifetime of
the ssd is also important. I added noatime and discard to /etc/fstab, hope
this is correct.

Just a last question: During installation, I forgot, how I formatted the "/"
partition (ext3 or ext4?). Is there a way, to find out, how it is formatted?
Strangely, the option "discard" in /etc/fstab seem not to work on this
particular partition.

Thanks for any help!

Best regards

Hans




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205261527.12708.hans.ullrich@loop.de">http://lists.debian.org/201205261527.12708.hans.ullrich@loop.de
 
Old 05-26-2012, 01:36 PM
Claudius Hubig
 
Default wheezy: ext4 or ext3

Hello Hans-J.,

"Hans-J. Ullrich" <hans.ullrich@loop.de> wrote:
> On my new drive I chose ext4 (with luks encryption) for as far as I read, most
> people are using ext4 instead of ext3 on ssd drives.
> Is this really recommended?

ext4 provides shorter recovery/file system check times, which I
really like. Apart from that, I don’t think there are many
differences between the two visible to the normal user.

> And if yes, should I change the filesystem from ext3 to ext4 on my old spin
> drive? I think, this can be done with tune2fs (when I remember correctly),
> without any loss of data. If I am wrong, please point me to the correct tool.

I think so, too, but have never tried that.

> Most important thing for me is speed and security, and, of course, lifetime of
> the ssd is also important. I added noatime and discard to /etc/fstab, hope
> this is correct.

If you have a reasonably modern SSD, lifetime normally should not be
a problem. Of course, noatime helps nevertheless (if only by speeding
up things and giving you fewer reasons to throw the laptop around
impatiently ).

> Just a last question: During installation, I forgot, how I formatted the "/"
> partition (ext3 or ext4?). Is there a way, to find out, how it is formatted?
> Strangely, the option "discard" in /etc/fstab seem not to work on this
> particular partition.

The output of ‘mount’ should contain the file system, for example:

/dev/sda1 on /boot type ext3 (rw,noatime,errors=continue,commit=5,barrier=1,dat a=writeback)
/dev/mapper/ares0-root on / type ext4 (rw,noatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered)
^^^^

Best regards,

Claudius
--
<woot> Put *that* in you .sig and smoke it, Knghtbrd.
<Culus> You know he will read this :>
<woot> heheheheh.
http://chubig.net telnet nightfall.org 4242
 
Old 05-26-2012, 06:08 PM
Steven Post
 
Default wheezy: ext4 or ext3

On Sat, 2012-05-26 at 15:36 +0200, Claudius Hubig wrote:
> Hello Hans-J.,
>
> "Hans-J. Ullrich" <hans.ullrich@loop.de> wrote:
> > On my new drive I chose ext4 (with luks encryption) for as far as I read, most
> > people are using ext4 instead of ext3 on ssd drives.
> > Is this really recommended?
>
> ext4 provides shorter recovery/file system check times, which I
> really like. Apart from that, I don’t think there are many
> differences between the two visible to the normal user.

If you deal a lot with file transfers you may find that ext4 is faster.

>
> > And if yes, should I change the filesystem from ext3 to ext4 on my old spin
> > drive? I think, this can be done with tune2fs (when I remember correctly),
> > without any loss of data. If I am wrong, please point me to the correct tool.
>
> I think so, too, but have never tried that.

I have, and I can comfirm that this really works, you can use the ext4
driver to mount ext3 as well, just to benefit from the improved code,
and you can always revert back to plain ext3 when doing this.
You can also use the new ext4 features, but then you will not be able to
mount it as ext3 again, only ext4.

>
> > Most important thing for me is speed and security, and, of course, lifetime of
> > the ssd is also important. I added noatime and discard to /etc/fstab, hope
> > this is correct.
>
> If you have a reasonably modern SSD, lifetime normally should not be
> a problem. Of course, noatime helps nevertheless (if only by speeding
> up things and giving you fewer reasons to throw the laptop around
> impatiently ).
>

Ext4 will give you some speed gain when booting, perhaps not that much,
but certainly there is some improvement.

Should you choose to convert to ext4, there are plenty how-to's on the
internet such as this one:
https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4

Kind regards,
Steven
 

Thread Tools




All times are GMT. The time now is 10:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org