Skip to contentSkip to conversation

which filesystem to use on slackware

linux-lvm Chris Conn 6 participants 10 messages Jan 9, 2004 – Jan 12, 2004

lore
Share & tools
lore

Chris Conn

author
#0 lore raw

Hi, I'm running slackware 9.1, have a dual-boot Win98/Slack machine and I've just added a 60GB HD. I'm using 50GB of that for Windows (kid games :-)) and 10GB for Linux, have formatted it as EXT2 but now I'm thinking of trying one of the journaled file systems, reiserfs or IBM's JFS or EXT3. I haven't used that new partition yet.

My Slackware system is EXT2 on the original HD.

I work in AIX support at IBM (systems performance, mainly) and I'm thinking this will be a good opportunity to learn more about the LVM at home. Is there one of these journaled file systems that you all would recommend over the other? I'm not sure how I'm going to convert to the new filesystem, although I should be able to make the filesystem on the new HD whatever I want, so I'm halfway there.

Thanks for any advice,

=====
Chris Conn
[email protected] http://storm.cadcam.iupui.edu/~cmcgoat
Austin, TX

#1 lore raw
Quoted 17 lines · Chris Conn

Hi, I'm running slackware 9.1, have a dual-boot Win98/Slack machine and I've just added a 60GB HD. I'm using 50GB of that for Windows (kid games :-)) and 10GB for Linux, have formatted it as EXT2 but now I'm thinking of trying one of the journaled file systems, reiserfs or IBM's JFS or EXT3. I haven't used that new partition yet.

My Slackware system is EXT2 on the original HD.

I work in AIX support at IBM (systems performance, mainly) and I'm thinking this will be a good opportunity to learn more about the LVM at home. Is there one of these journaled file systems that you all would recommend over the other? I'm not sure how I'm going to convert to the new filesystem, although I should be able to make the filesystem on the new HD whatever I want, so I'm halfway there.

Quoted 1 line

Thanks for any advice,

They seem to all have their unique pros and cons.

I don't think any of them are 'the best'.

ext3 seems to be the most solid from what I read, but not great for performance.

reiserfs is great for lots of small files. It was tuned for news servers.

xfs is great at delivering streaming video.

I don't know anything about jfs.

I chose xfs 2 years ago as my filesystem of choice because I assumed it would be the most rock solid due to the SGI support. That has not been true, but the current XFS 1.3.1 seems to work pretty well.

Maybe there is a wiki somewhere that talks about the pros and cons. If not, there really should be.

Greg

Signature · 1 line
Greg Freemyer
#2 lore raw
Quoted 31 lines · Greg Freemyer
Quoted 17 lines · Chris Conn

Hi, I'm running slackware 9.1, have a dual-boot Win98/Slack machine and I've just added a 60GB HD. I'm using 50GB of that for Windows (kid games :-)) and 10GB for Linux, have formatted it as EXT2 but now I'm thinking of trying one of the journaled file systems, reiserfs or IBM's JFS or EXT3. I haven't used that new partition yet.

My Slackware system is EXT2 on the original HD.

I work in AIX support at IBM (systems performance, mainly) and I'm thinking this will be a good opportunity to learn more about the LVM at home. Is there one of these journaled file systems that you all would recommend over the other? I'm not sure how I'm going to convert to the new filesystem, although I should be able to make the filesystem on the new HD whatever I want, so I'm halfway there.

Quoted 1 line

Thanks for any advice,

They seem to all have their unique pros and cons.

I don't think any of them are 'the best'.

ext3 seems to be the most solid from what I read, but not great for performance.

reiserfs is great for lots of small files. It was tuned for news servers.

xfs is great at delivering streaming video.

Quoted 8 lines

I don't know anything about jfs.

I chose xfs 2 years ago as my filesystem of choice because I assumed it would be the most rock solid due to the SGI support. That has not been true, but the current XFS 1.3.1 seems to work pretty well.

Maybe there is a wiki somewhere that talks about the pros and cons. If not, there really should be.

There is, I've seen it, but I've lost the url. IIRC, the "pro" for jfs was that it had the lowest CPU usage.

If you want to tinker with logical volumes and journaled file systems to learn more about AIX, I'd go with jfs. I believe it's related but not identical to the jfs in AIX.

I've used both AIX and Linux, and like both. There are some interesting differences in their LVM, but in general your idea is sound.

I'd recommend you try all of the file systems and compare them yourself.

-David

#3 lore raw

Hi Chris,

I think the performances are not the main things in your case, you
need to see the "managment" capabilities of each filesystems, If you want to learn more about the LVM probably you test the move of a logical volume, the extend, reduce of a logical volume and...

With Ext3 you can grow the filesystem offline and with a kernel patch you can grow online, you can not shrink.

Reiserfs V3 you can grow the filesystem online and skrink offline. I do not know the capabilities of the ReiserFS V4 (you need to patch the kernel if you want to test Reiserfs V4) .

Xfs you can grow the filesystem online, no shrink.

Jfs you can grow offline (probably there is a patch for online growing), no shrink.

With the last version of lilo and grub you can boot all these filesystems with the LVM (probably grub need a patch to support the boot form a logical volume).

Best regards.

Francis

Quoted 72 lines · David Johnston
Quoted 34 lines · Greg Freemyer
Quoted 9 lines · Chris Conn

Hi, I'm running slackware 9.1, have a dual-boot Win98/Slack machine and I've just added a 60GB HD. I'm using 50GB of that for Windows (kid games :-)) and 10GB for Linux, have formatted it as EXT2 but now I'm thinking of trying one of the journaled file systems, reiserfs or IBM's JFS or EXT3. I haven't used that new partition yet.

My Slackware system is EXT2 on the original HD.

Quoted 10 lines

I work in AIX support at IBM (systems performance, mainly) and
I'm thinking this will be a good opportunity to learn more about the LVM at home. Is there one of these journaled file systems that you all would recommend over the other? I'm not
sure how I'm going to convert to the new filesystem, although
I should be able to make the filesystem on the new HD whatever
I want, so I'm halfway there.

Thanks for any advice,

They seem to all have their unique pros and cons.

I don't think any of them are 'the best'.

ext3 seems to be the most solid from what I read, but not great for performance.

reiserfs is great for lots of small files. It was tuned for news servers.

xfs is great at delivering streaming video.

Quoted 10 lines

I don't know anything about jfs.

I chose xfs 2 years ago as my filesystem of choice because I assumed it would be the most rock solid due to the SGI support. That has not been true, but the current XFS 1.3.1 seems to work pretty well.

Maybe there is a wiki somewhere that talks about the pros and cons. If not, there really should be.

There is, I've seen it, but I've lost the url. IIRC, the "pro" for jfs was that it had the lowest CPU usage.

If you want to tinker with logical volumes and journaled file systems to learn more about AIX, I'd go with jfs. I believe it's related but not identical to the jfs in AIX.

I've used both AIX and Linux, and like both. There are some interesting differences in their LVM, but in general your idea is sound.

I'd recommend you try all of the file systems and compare them yourself.

-David

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#4 lore raw
Quoted 9 lines · Francis SOUYRI

Hi Chris,

I think the performances are not the main things in your case, you need to see the "managment" capabilities of each filesystems, If you want to learn more about the LVM probably you test the move of a logical volume, the extend, reduce of a logical volume and...

With Ext3 you can grow the filesystem offline and with a kernel patch you can grow online, you can not shrink.

Ext3 can be shrunk offline.

Signature · 2 lines
M�ns Rullg�rd
[email protected]
author
#5 lore raw
Quoted 9 lines · --- Måns_Rullgård
Quoted 7 lines · Francis SOUYRI

Hi Chris,

I think the performances are not the main things in your case, you need to see the "managment" capabilities of each filesystems, If you want to learn more about the LVM probably you test the move of a logical volume, the extend, reduce of a logical volume and...

Quoted 8 lines
Quoted 2 lines

With Ext3 you can grow the filesystem offline and with a kernel patch you can grow online, you can not shrink.

Ext3 can be shrunk offline.

Signature · 2 lines
Måns Rullgård
[email protected]

Can I use ext3 and reiserfs on the same box? I've set up my second disk to use reiserfs but my main disk is ext2, thought about converting it to ext3 since that would be easier than re-installing... but I'm not sure if this is a good idea. It make more sense to just re-install slack on my main disk with reiserfs.

=====
Chris Conn
[email protected] http://storm.cadcam.iupui.edu/~cmcgoat
Austin, TX

#6 lore raw
Quoted 10 lines · Chris Conn
Quoted 9 lines · --- M�ns_Rullg�rd
Quoted 7 lines · Francis SOUYRI

Hi Chris,

I think the performances are not the main things in your case, you need to see the "managment" capabilities of each filesystems, If you want to learn more about the LVM probably you test the move of a logical volume, the extend, reduce of a logical volume and...

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

With Ext3 you can grow the filesystem offline and with a kernel patch you can grow online, you can not shrink.

Ext3 can be shrunk offline.

Can I use ext3 and reiserfs on the same box?

I should think so. I haven't done it personally, but I don't have any reason to believe that it shouldn't work.

Quoted 4 lines

I've set up my second disk to use reiserfs but my main disk is ext2, thought about converting it to ext3 since that would be easier than re-installing... but I'm not sure if this is a good idea. It make more sense to just re-install slack on my main disk with reiserfs.

That's up to you.

Signature · 2 lines
M�ns Rullg�rd
[email protected]
#7 lore raw
In reply to Chris Conn
Quoted 9 lines · Chris Conn
Quoted 8 lines · --- Måns_Rullgård
Quoted 6 lines · Francis SOUYRI

Hi Chris,
I think the performances are not the main things in your case, you need to see the "managment" capabilities of each filesystems, If you want to learn more about the LVM probably you test the move of a logical volume, the extend, reduce of a logical volume and...

Quoted 6 lines

Can I use ext3 and reiserfs on the same box? I've set up my second disk to use reiserfs but my main disk is ext2, thought about converting it to ext3 since that would be easier than re-installing... but I'm not sure if this is a good idea. It make more sense to just re-install slack on my main disk with reiserfs.

Chris, there's no reason you can't run Reiserfs, ext2, ext3, xfs, and jfs on the same box. You can only use one on a given logical volume (aka partition), but you can, for example, use ext3 for /, ext2 for /usr, Reiserfs for /var, xfs for /opt, and jfs for /home. I wouldn't do this on a heavily loaded production server, but on a test system there's no reason at all you can't do this.

Signature · 2 lines
David Johnston <[email protected]>
Little Bald Consulting, LLC
#8 lore raw
In reply to Francis SOUYRI
Quoted 2 lines · Francis SOUYRI

With Ext3 you can grow the filesystem offline and with a kernel patch you can grow online, you can not shrink.

This is not true. Using resize2fs you can grow and shrink the filesystem, but only offline. I'm not sure about the kernel-patch, but I'm certainly sure you can shrink at least offline. And using e2fsadm in conjunction with lvm is even more comfortable ;)) Although it had some issues with ext3, as sometimes a filesystem is reported unchecked even if you have run an e2fsck -f just right before. But adding a -f to resize2fs has always worked for me without any trouble at all.

I chose ext3 2 1/2 years ago, when doing kernel development for my diploma thesis, and an occassional ooops or other crash happened almost regularily. And waiting for the filesystem check annoyed me after the 3rd time ;)

The argument for ext3 at this moment was, that you can easily convert an ext2 filesystem to an ext3 filesystem using tune2fs -j (to add the journal), and even mount the ext3 filesystem as ext2, making it available even if you have no support for ext3 in your kernel (2 1/2 years ago quite important!)

Ext3 has never failed me in this time, I had no failure of filesystem and the performance was also good, at least for my needs :)

CU all,
Jens

Signature · 5 lines
GPG: 1024D/CF884D50  F2E8 F7FC F823 6464 4E9D  EFAB 6EE9 8B9C CF88 4D50
------------------------------------------------------------------------
 Jens Hoffrichter / [email protected] / Joho@IRC / Fon: +43-650-5376989
        The color of nature is not green. It is red, bloodred. 
         Cassie in  "Animorphs - The Unknown by K.A.Applegate
#9 lore raw

Hi Jens,

Quoted 4 lines · Jens Hoffrichter

On Sat, Jan 10, 2004 at 11:01:19AM +0100, Francis SOUYRI wrote:

Quoted 8 lines
Quoted 3 lines

With Ext3 you can grow the filesystem offline and with a kernel patch you can grow online, you can not shrink.

This is not true. Using resize2fs you can grow and shrink the filesystem, but only offline. I'm not sure about the kernel-patch, but I'm certainly sure you can shrink at least offline. And using e2fsadm in conjunction

Excuse me yes it is possible to shrink offline an ext2 filesystem.

For the online grow kernel patch there are informations at:

http://ext2resize.sourceforge.net/
or
http://sourceforge.net/projects/ext2resize/

For the merge of the patch in the 2.6 kernel there are informations at:

http://www.kernelnewbies.org/status/latest.html
or
http://kerneltrap.org/node/view/716

but I can not find the patch.

Quoted 14 lines

with lvm is even more comfortable ;)) Although it had some issues with ext3, as sometimes a filesystem is reported unchecked even if you have run an e2fsck -f just right before. But adding a -f to resize2fs has always worked for me without any trouble at all.

I chose ext3 2 1/2 years ago, when doing kernel development for my diploma thesis, and an occassional ooops or other crash happened almost regularily. And waiting for the filesystem check annoyed me after the 3rd time ;)

The argument for ext3 at this moment was, that you can easily convert an ext2 filesystem to an ext3 filesystem using tune2fs -j (to add the journal), and even mount the ext3 filesystem as ext2, making it available even if you have no support for ext3 in your kernel (2 1/2 years ago quite important!)

Quoted 7 lines

Ext3 has never failed me in this time, I had no failure of filesystem and the performance was also good, at least for my needs :)

CU all,
Jens

Best regards.

Francis