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?"
Not really, right? Even if there was, Microsoft doesn't seem to be interested in keeping it that way. With the "advent" of Vista and whatever relational-style FS they might try to forcably upgrade us to in the future, what are the odds of the prototypical modern journaling, etc FS being shared across the two? My guess is you're stuck with ext on linux and NTFS or whatever else on Windows. Of course, you could run NTFS on Linux if you've got two big brass ones.
I'm not so sure you even read the summary. Course it's 10am on saturday so I don't blame you.
Under the influence of Post-Cyberpunk Gonzo Journalism
Have any of you read the post you are replying to? He's asking for a solution for multiple platforms, not just windows and linux. If you read his question, he uses Linux, Mac OS X and uses a Windows partition for games. Solutions that only work on windows and linux or linux and bsd are USELESS. Stop answering with your favorite non-portable file system and answer the question, or STFU please.
nfts-3g was the only good answer. I should have mentioned that, but the problem is a whole, not just a windows issue. Assuming that something works because OS X is posix is wrong as we are talking about data here, often un-recoverable and damned important. Stability and maturity is too important to leave up to chance.
That doesn't make any sense. FreeBSD is using sun's ZFS code with only a few changes (for stuff like jails).
Hi, I have exactly the same problem, One MacbookPro, One PC, and another Linux. The fact is, there isnt a portable filesystem, if you are planning on ext2/3, the mac os x driver is unstable like the hell, and will make you loose your data and crash your system, as it happens to mine. Fat and fat32 will work but with small disks only, and NTFS your linux/macos will damage it within time. I Have a 400 GB Sata external disk and currently using HFS, because its the only one that doesnt corrupt the data from time to time, and you have drivers for windows/linux. I know it isnt the best choice but if you plan to keep your data, its my advice.
Trying to use a filesystem across multiple platforms is painful. That's a clue that you're tackling the wrong problem. You don't need to share filesystems, you need to share files. Different problem with different solutions.
I set up an old PC with Linux to solve many needs. NFS and Samba provide a common pool of storage for every OS that I use. Since setting that up, I haven't ever though about shared partitions. They aren't needed.
Linux and Samba worked for me, but that's not the only solution. A NAS box might work better for you. The point is that you need shared storage, not a shared drive. Every OS supports network storage. Every OS supports backups across the network.
Personally I have a golden rule I always keep in mind when dealing with cross-OS file system usage: Never trust write support on foreign filesystem drivers. FAT12/16/32 is the only exception, since it's so old and primitive that anyone should have fully mastered the support of it by now. But apart from that, I'll never believe a filesystem driver to reliably write on ext2/3 outside of Linux, or HFS+ outside of OS X, or NTFS outside of Windows.
Modern filesystems are complicated beasts. One tiny error can have catastrophic results. Native filesystem drivers are the results of many years of real-life testing by millions of users. Can you really believe a third-party filesystem driver to be solid enough to write on a foreign filesystem?
Read-only support is OK because it's a magnitude easier to implement, though.
The only viable solution to cross-OS filesystem usage (without crippling yourself to FAT32) is networking.
The reason why it's a proprietary one that is "the best cross platform one", is because the proprietary OS's refuse to support other filesystems. If windows would support Reiserfs, it'd be a much better option for cross platform than AWFUL ntfs/fat32. But unfortunately M$, for obvious reasons, refuses to do that. Meaning that open source software has to attempt to reverse engineer a crappy file system and use it, instead of having the best filesystem win out for system users of ALL platforms.
There are ext2 drivers for Windows, but they're definitely not ready for production use. There's just not much interest in them compared to NTFS on Linux. If we want to promote ext2/3 as a Free cross platform filesystem, let's throw some support behind a good Windows ext2 driver.
Use FAT32. Yes, it sucks as a file system. But it's fine for your stated goals (backup and transfer), and it has universal compatibility. Don't discard an optimal solution just because it makes you feel uncool.
Broken or not, NTFS is the solution. Windows supports FAT and NTFS. Microsoft doesn't exactly go out of their way to be compatible with other systems, so if you want to share a file system between Windows and something else, it has to be one of those two.
The smart thing to do would be to stop using Windows, but you're not going to do that, you're just going to whine and take it.
You do realize that for roughly the first 20 years Microsoft did not document FAT either, and Linux support comes from reverse engineering efforts?
:-)
I guess that you also don't use Samba either
4GB per file. If your backup job creates large tarballs, your hosed. At work, I was trying to backup a 20GB file to a USB external drive, and it told me the drive was out of space, even though it still had 700GB left. I had to format it NTFS for it to work.
"Be grateful for what you have. You may never know when you may lose it."