LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-13-2022, 04:25 AM   #1
chrisqck
LQ Newbie
 
Registered: Jan 2021
Posts: 6

Rep: Reputation: Disabled
External HDD File System Conundrum


Hi Everyone,

I would like seek your advice and guidance with regards to the file system to use on my external HDD.

I have a WD My Passport 2TB HDD that I would like to use with my Work Computer (Windows 10/11), Personal Laptop (Linux Mint) and my iPad Pro 11" (APFS). I will be using it to store both my work files (various references, bash script repository, documents) and personal files (mostly media content either downloaded or from my phone / iPad).

My initial thought was to exFAT the whole drive as it's supposed to be the most compatible file systems. However, upon reading this article, not to mention going through some of the forum posts, i'm not so sure now.

Then I thought perhapds I can go for NTFS instead. I understood that the Linux kernel now has native read & write capability to an NTFS partition. On the iPad Pro, at least I have read only access, which is majority of my use case. then recently I came across this article which talk about issues with NTFS support on Linux.

So now I'm kind lost as to what is the best solution ? I'm thinking maybe I'd need to use multiple partitions ? Any ideas ?
 
Old 05-13-2022, 09:02 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,930
Blog Entries: 28

Rep: Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353
I have had no issues with NTFS on external drives with any Linux distro that I've used.

You do need to make sure nfts-3g is installed; I think many distros include it by default these days.

Last edited by frankbell; 05-13-2022 at 09:07 PM. Reason: clarity
 
1 members found this post helpful.
Old 05-14-2022, 05:32 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,390

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Data are just data - there is no intrinsic requirement to use a particular filesystem.
A corollary might be that a single copy of that data is never safe. I keep my data on linux filesystems, and copy it to an external as necessary for interchange. Doesn't matter if the intermediary is flaky or not, it can always be repeated.
 
Old 05-14-2022, 04:44 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
NTFS has some ability to journal where the exfat (fat) doesn't have.

Last edited by jefro; 05-14-2022 at 08:00 PM.
 
Old 05-14-2022, 05:32 PM   #5
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 103Reputation: 103
NTFS works fine with Linux, however there is a significant performance hit when using NTFS partitions from Linux. In a test I ran a while (in 2021_ ago I found the same command run on ext4 took less than 1 second (0.107s) whereas it took almost 34 seconds (33.997s) on NTFS parition. [https://www.suramya.com/blog/2021/05...ared-to-ext4/]

Windows 10 now lets you mount Linux ext4 filesystems in WSL 2, so that is an option as well (But I have never tried it)

- Suramya
 
Old 05-14-2022, 07:08 PM   #6
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
I also used the NTFS file system with the ntfs-3g package without any problems. I do not know anything about your iPad as I have never used any apple products.

The link below has some information for anyone who would like to read, but basically what you need to know is that the NTFS driver is included with kernel 5.15

https://www.techrepublic.com/article...x-kernel-5-15/
 
Old 05-14-2022, 07:30 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,387

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
Quote:
Originally Posted by chrisqck View Post
So now I'm kind lost as to what is the best solution ? I'm thinking maybe I'd need to use multiple partitions ? Any ideas ?
I recommend that you create multiple partitions and format a partition in each of the native formats used by your devices. That should minimize the problems caused by an operating system not handling a foreign file system very well.

When you need to convert a file from one file system to another you should copy it into the partition which is the native file system for the device that you are going to manipulate the file on.

As a general rule an operating system does a better job of reading an alien file system than it does writing an alien file system. So you should to set up a table of what file systems each of your operating systems will handle so you will know which operating systems can do which cross platform copy. As a general rule you should set the copies up so that the operating system is copying from an alien file system into a native file system.
 
Old 05-16-2022, 03:58 PM   #8
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi chrisqck,

My 2 cents ...

I use exfat on USB drives, SD Cards and such - however, I have never formatted en entire hard drive or SSD with it. It is compatible with all 3 of your operating systems, though, so that is an advantage. Its lack of journaling capability will be more of an issue if your data is of critical importance, but, as mentioned by syg00 above, in such a case you would want to have robust backups.

As with all others here, I have been using NTFS with linux for years, on both internal and external drives, up to 6 TB in size, with no issues whatsoever (reliability, performance ...). So if you don't need to write from the system that only has read ability on NTFS, this is perhaps a more time-tested choice.

I would probably go with NTFS.

Cheers - hope this helps.

Rick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Time taken to copy data from PC to External USB HDD and External USB HDD to PC will same? jegadezz Linux - Newbie 3 11-14-2017 09:22 AM
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 08:52 PM
About fixing disks, probably a familiar linux system management conundrum John Yate Linux - Newbie 7 02-27-2012 07:46 PM
hdd conundrum nnjond Linux - Newbie 10 09-19-2010 04:04 PM
LXer: The File Format Standards Conundrum LXer Syndicated Linux News 0 03-25-2008 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration