1

I'm a relatively new Ubuntu user and am about to set up a new computer with Ubuntu 15.10. I've added a 2 TB drive to the unit but I'm unsure what format I should use. I've been using NTFS for all my Windows machines previously but have understood that this is not the best match for Ubuntu. So which format should I use?

The computer will have a 128 GB SSD for the OS and then the 2TB for storing media.

All tips will be appreciated.

Zucram
  • 17

2 Answers2

2

Ext4 file system is recommended for all Linux operating systems because has backwards compatibility with its predecessors, you can mount Ext2 and Ext3 as an Ext4 file system

Ext4

  • reduces file fragmentation
  • employs delayed allocation which helps with flash memory life as well as fragmentation.
  • Good choice for SSDs and HDD

BtrFS

  • it allows for drive pooling, on the fly snapshots
  • transparent compression
  • online defragmentation
  • it’s not stable in some distros

ReiserFS

  • Has great performance for small files such as logs and is suited for databases and email servers.
  • ReiserFS can be dynamically expanded but not shrunk and does not support FS level encryption.

XFS

  • Good for a media file server because of constant throughput for large files.
  • Most distributions require separate /boot partition because XFS and GRUB can be unpredictable
  • Performance with small files is not as good.

JFS

  • Good performance for both large and small files and because of its low CPU usage is probably best for low powered servers and computers
  • It does not have built in tools for drive pooling
  • It also has fast disk checking compared to Ext but there have been some reports of disk corruption after long term use.

ZFS

  • Shows great performance in large disk arrays.
  • Supports a lot of advanced features including drive pooling, snapshots, and dynamic disk striping.
  • It may be difficult to install in Linux because it requires FUSE and might not be supported by your distribution.

More info found Here

Pick the file system best for your setup.

GParted supports the following actions on file systems

Neil
  • 4,585
1

Ubuntu's default (and recommended) filesystem is ext4. I always recommend to make the following partitioning scheme for the OS as follows:

  • One ext4 partition (with at least 20 GB) to be the root (/) partition.

Even though it's possible to make separate partitions for /home, /boot, /var and actually any subdirectory inside the root partition, don't do that. It's much easier to deal with a single volume and you won't get "low disk space" problems very soon.

  • One swap partition (formatted as linux-swap). Some people recommend to make its size the double of your RAM memory, but that's not a rule. About 150% of it sould be fine.
Eduardo Cola
  • 5,876
  • 3
  • 20
  • 33