t_fischer: (jump)
Thomas Fischer ([personal profile] t_fischer) wrote in [community profile] linux4all2013-05-30 10:44 am
Entry tags:

Filesystem for large USB storage devices?

Recently I purchased an external USB harddrive as a replacement for a failing old one. This device came with NTFS preconfigured, but as I plan to use the drive under Linux, I am looking for alternatives.

The external harddrive will be plugged into different computers and used by different users who have no consistent UIDs across machines. Access control (rwx) for different users is not required in my case, instead encryption is used to protect private data. Indeed, access control only causes problems when switching between machines due to restrictive permissions and umask and setgid do not mitigate this sufficiently.

So far, I have been considering the following filesystems, but none of them is perfectly suited:

ext3 or ext4
Linux default filesystem. I would consider it for a "normal" storage, but the access control (users, permissions) make it difficult to handle (see discussion above).
FAT/vFAT
No access control means no problems in my case. However, this filesystem is said to be inefficient for large filesystems (≥ 1 TB) plus is has a file size limitation that would make it impossible to store large DVD ISO images (≥ 4 GB) in this filesystem.
NTFS
AFAIK write support is still experimental under Linux, so I would not trust my data on this filesystem.

In summary, the filesystem I am looking for should have the following features:

  • First-class citizen in the Linux kernel with reliable read/write support.
  • File ownership or permissions should not be enforced. Exotic switches to mount are not good enough, has to work when mounting the storage within a desktop environment through udev, udisk or alike.
  • Has to support large files (≥ 4 GB).

Any ideas or suggestions?

doldonius: (Default)

[personal profile] doldonius 2013-05-30 12:26 pm (UTC)(link)
VFAT has no ownership but doesn't support large files. Unix filesystems support large files but have ownership and permissions. I'm afraid it's a "choose one" case.
sally_maria: (Mint Logo)

[personal profile] sally_maria 2013-05-30 03:40 pm (UTC)(link)
I'm not an expert on file-systems, but I've been using NTFS formatted partitions for data files on my dual-booting computers for nearly 3 years now, and I've not had any write problems in that time.

Certainly on Ubuntu NTFS is the recommended format - http://askubuntu.com/questions/164728/should-i-choose-exfat-or-ntfs-for-a-shared-partition-in-a-dual-boot-system
dreamatdrew: An orange leopard gecko half hiding behind the leaf of a 'lucky bamboo' plant, looking directly at you. (Default)

[personal profile] dreamatdrew 2013-05-30 09:33 pm (UTC)(link)
There is as far as I am aware no extant filesystem which meets your stated requirements. NTFS is going to be the least-of-evils option.