Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
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.
|
 |
07-10-2012, 10:55 PM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 3
Rep: 
|
What file system to use when formatting?
Does it matter what file system you use when formating a disk in linux? I know there is a host of options that are available in the system, but which ones are best to use?
|
|
|
07-11-2012, 12:02 AM
|
#2
|
Member
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Debian 12 (Bookworm)
Posts: 747
Rep: 
|
For Linux I use ext4 though I've seen people recommend ext3 instead.
For usb flash drives, fat32 is usually recommended for cross-platform compatibility, the same can be said for sd/mmx cards.
The other options are generally intended for specific needs and can mostly be ignored. 
|
|
|
07-11-2012, 02:35 AM
|
#3
|
Member
Registered: May 2012
Posts: 426
Rep: 
|
A lot of installs default to ext4 these days but ext3 is fine too. I have a laptop with Arch Linux and is formatted ext2, as it's quick but not as forgiving as ext3/4 due to lack of journalling. For backup partitions and flash drives then its bog standard FAT32.
|
|
|
07-11-2012, 04:10 AM
|
#4
|
Member
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 275
Rep:
|
Im using XFS for my 7.5tb LVM disk but I need to defrag it every so often.
It sometimes gets up to 70% fragmentation.
Ive never had to defrag my xsf4 system disk(it may be usage though).
Ive also read that Rieserfs is very good for disks that use many small files.
|
|
|
07-11-2012, 04:47 AM
|
#5
|
Member
Registered: May 2012
Posts: 426
Rep: 
|
Quote:
Originally Posted by Adol
Ive also read that Rieserfs is very good for disks that use many small files.
|
Yes but I don't think there would be too many takers for for that file system now.
|
|
|
07-11-2012, 05:20 AM
|
#6
|
Member
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 275
Rep:
|
Quote:
Originally Posted by nixblog
Yes but I don't think there would be too many takers for for that file system now.
|
I haven't looked into file systems in awhile.
Has it not been keeping up with ext? Last I heard they had Rieserfs2.
|
|
|
07-11-2012, 07:53 AM
|
#7
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by BennK
Does it matter what file system you use when formating a disk in linux? I know there is a host of options that are available in the system, but which ones are best to use?
|
Yes, it does matter. It comes down to what you plan to do with the partition. For example, If you plan to use a large partition as storage for large files XFS is more efficient then ext4. If you want share files with Windows NTFS would be the way to go. If you want to share with Windows and MacOS X FAT32 is your only option.
But usually, if you have no special purpose for that partition, you will be fine with ext4, it is stable and faster than its predecessors.
|
|
|
07-11-2012, 07:59 AM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
I will use ext2 for thumb drives. I don't run windows, and ext2 will have fewer writes without a journal.
For /boot, I usually use ext2. For / and /home and the rest, I use ext4.
If you aren't running a large database or video streaming server, ext4 should be fine.
|
|
|
07-11-2012, 08:07 AM
|
#9
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Quote:
Originally Posted by Adol
I haven't looked into file systems in awhile.
Has it not been keeping up with ext? Last I heard they had Rieserfs2.
|
Support for reiserfs basically died when Hans Reiser went to jail a few years ago.
http://en.wikipedia.org/wiki/Hans_Reiser
Last edited by suicidaleggroll; 07-11-2012 at 08:08 AM.
|
|
|
All times are GMT -5. The time now is 07:41 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
|
|