Cross-OS File System That Sucks Less?
An anonymous reader writes "I recently got an external hard disk with USB 2.0/Firewire/Firewire 800/eSATA to be used for backup and file exchange — my desktop runs Linux (with a Windows partition for games but no data worth saving), and the laptop is a MacBook Pro. So the question popped up: what kind of filesystem is best for this kind of situation? Is there a filesystem that works well under Linux, MacOS X, and Windows? Linux has HFS+ support but apparently doesn't support journaling and there's also an issue with the case-insensitivity of HFS+. Are we stuck with crummy VFAT forever or are there efforts underway to bring a modern filesystem (I'm thinking something like ZFS, BeFS, or XFS) to all platforms? Or are there other clever solutions like storing ISO images and loop-mounting those?"
NTFS-3G
http://www.fs-driver.org/
I just use a external drive formatted in EXT3, and for windows files i just install the Ext3 driver.
ext2 is supported everywhere and it's far better than fat32 or ntfs. for windows, http://www.fs-driver.org/ and for osx http://sourceforge.net/projects/ext2fsx/
There are ext2 drivers available for windows. ext2 is just ext3 without journaling. It should be a viable option.
Give me Classic Slashdot or give me death!
Since MacOSX is BSD based, I would be willing to bet that similar projects and support can be found (but, I Am Not A Mac Fanboy).
On Windows, you are pretty much stuck using either NTFS or FAT. FAT volumes can not be created in windows larger than 32GB. Although, you could create the partition using 3rd party tools to get beyond that limitation. I have had some success mounting ext3 partitions using Ext2 Installable File System For Windows or Ext2 File System Driver for Windows.
Personally, from my experience, VFAT or NTFS are about your only options.
Having been in the exact same situation I've tried all sorts of different solutions and I'd say the best current solution is NTFS, which is out of the box natively supported on both OSX and Windows (natch) and also available R/O in the default linux kernel as well as having strong R/W support now via ntfs-3g. Of course fat32 still works just fine for this application, but it's getting a little long in the tooth as far as advanced features and modern storage needs go (c'mon what is up with those weak filesize limits)!?!? And I've had some limited success with using ext2/3 on windows and linux but found that the windows kernel driver for ext2 was not very stable in my config and the userspace tools to read/write ext3 in windows was far too kludgy for my tastes; I haven't had a chance to try ext2/3 on OSX.
-*The above statement is printed entirely on recycled electrons*-
For quite some time now (10.3 Panther I think) there has been a case-sensitive variant of HFS+. The Linux kernel has supported mounting it for some time now since I contributed a patch after realizing I couldn't access my filesystem. Unfortunately, it does not support HFS+ journaling so you have to make sure OS X gets shut down properly. Also, the last time I looked, the open source HFS+ utilities like fsck did not handle case-sensitive HFS+. I looked into fixing it but it was such a god-awful mess of code I decided I didn't trust it anyway.
On Windows you should be able to use MacDrive but you may want to check with them to make sure that case-sensitive HFS+ is supported. I only say this because for instance Alsoft's DiskWarrior product didn't support case-sensitive HFS+ until very recently. Why, I don't know since case-sensitive HFS+ simply omits the case-folding step before determining b-tree position. It's all documented in TN1150.
...which is perfectly fine, because Ext3 is backwards compatible and Windows wouldn't make use of the journaling feature, anyway.
See above.
ext2 is ext3 without the journaling.
There is no problem what so ever accessing an ext2/3 partition or disk from XP, it's just not journaling when writing.
"The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
It's not just for 12cm frisbees.
NTFS is exactly what I use for my portable hard drive that I share between Windows, Linux and Mac computers. The main reason for choosing NTFS was that I need to store big virtual machine disks where files are sometimes many gigabytes in size. In Mac OS X and Linux, I use NTFS-3G to access the drive. It works, but it's very slow when transferring many and/or large files, so I would love to have a better alternative.
Linux and Mac both have native UFS (a.k.a Fast File System) support, windows can also support UFS: http://ffsdrv.sourceforge.net/
Because it doesn't work. The ext2 driver for OS X is _VERY_ unstable. The last time I tried it, about five months ago, the driver caused a kernel panic. After rebooting, OS X wouldn't read the drive anymore. It was unable to seek the disk. I thought it had caused a head crash until I hooked it up to a Mac without the driver installed; that one was able to see the disk and format it. Needless to say, I removed the ext2 driver.
FAT is really the only viable option at the moment. The problem there is that you will be limited to files 2GB in size. Have a DVD image you want to access from all three platforms? Forget it. You'll either have to burn it to a DVD or use FTP, because SAMBA is limited by the same 2GB limit.
Someone else posted a response about using UDF. I'll have to look into that, but I'm not sure OS X or Windows will format a hard drive to UDF. Well, at least not with OS X's "Disk Utility" application.
The ntfs-3g website says you can boot from it, and run Linux of it, so apparently you can. Will there be any issues? Quite possibly.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
The authors of the free NTFS claim that they've found and worked around a number of bugs in Microsoft's NTFS implementation, bugs that Microsoft has later acknowledged and still later fixed.
All experience I have had, and have heard of, shows it to be robust and bug-free.
Thad
I love Mondays. On a Monday, anything is possible.
And I understand perfectly well that windows is built off NT now. In fact, that virus infected, featureless, resource hog Windows XP was based off of NT too. Didn't seem to do much for it.
and how it's the most elite FS and never fragments. I know it's BS, most educated people reading this know it's BS, and you probably even know it's BS.
See here you are already showing your inexperience. It isn't that a FS won't fragment, even if the FS is good and 'tries' not to. The issue comes down to how the FS deals with fragmented files and lookup processes that are required to access additional file fragments. For example some FS are horrible at this because they have to play 'where is next chunk' or let's follow the maze around the HD.
The thing here is that NTFS fragments just like all other FS, even though it does try to anticipate file usage and tries to write to a unfragmented area.
However, the performance knock with fragmentation is in how much it 'costs' to access a fragmented file versus one that isn't, and in this regard NTFS is very good and the cost is very 'light' in comparison to several types of file systems, especially older ones like FAT.
So even if NTFS is fragmented to hell, the decrease in performance is going to be MINIMAL, that is why it was 'never' important and on modern HD and hardware is still less important for average desktop users.
Yes MS started shipping a defrag tool for NT in Win2k, but it is honestly more important and used more for high use and load files and PROPERLY ordering them on the HD as the OS and applications that use them would benefit from the placement.
So this has more to do with boot optimization and file layout and with XP and Vista with regard to prefetch and superfetch and less to do with the 'tiny' performance difference from a file that has 10 fragments and moving it so it only has 1.
Truly go look up fragmentation, this whole post is getting really old.
It is also getting old that you 'magically' would fix computers because 'you' knew what was wrong with them by 'reinstalling' a backup.
You may have solved problems, but it would have been from tweaking and restoring the installation from an OS install than ANYTHING to do with NTFS and you are either fooling yourself or your friends.
Take this advice from someone that has 'truly' worked in the tech industry with NT and NTFS since it was Alpha, not just a couple of years at college.
As you will find with most people at SlashDot, you may be your parent's computer genius, but you can easily find yourself out of your league here quickly.
That was discussed couple of years ago and there were no solution found. I mean FAT32 is no solution - more of a problem. Albeit being read by most if not all OSs.
Many people in past had recommended for OS specific stuff to use ZIP archives (since they are also universally available). Additionally to preserve verbatim information from *nix/MacOS volumes you can create disk image (laying on FAT32 volume). All decent OSs allow you to mount such disk images. Formats are different so it is not portable solution to preserve not portable OS-specific information about files.
Just to reiterate FAT32 is more or less only such solution.
P.S. I have looked also into ext2 support. In MacOS 10.3.x there were no official drivers (nor such drivers materialized in 10.4). Second party solution (I found only one) crashed my MacOS during installation and didn't worked in the end. For Windows there are multiple working ext2 solutions. Though not nice, yet allowing you to extract your files from ext2 volume. Not fitting for usual everyday work - but passable.
All hope abandon ye who enter here.