Filesystems For Removable Disks?
An anonymous reader asks: "I have recently (as in today ) acquired a 250GB external HD with both USB2 and Firewire ports, with an eye to using it to carry around all my stuff (my humungous e-mail archive, ISO images of whetever distro I'm running, music and work files - I do a lot of database work, so I often need to move 40GB+ database dumps). The thing is, In order to make proper use of it I have to be able to mount and write to it on all three platforms I use: Windows (easy, it comes formatted as FAT32), Linux (trivial mount syntax) and Mac OS X (it just works as is, since it also supports FAT32). However, I'd like to get rid of FAT32." What filesystems, aside from the FAT varieties, have decent support across the major operating systems?
"The disk comes factory-formatted (Windows doesn't allow you to format a disk this big as a single FAT32 partition), and even though I'm not running against any FAT32 limitations yet, I was wondering if there was a better filesystem to use. NTFS would be perfect (given its rock-solid transaction support - always useful on an external drive), but the Linux versions are far from reliable for large file writes and Mac OS X lacks it. ext3 isn't supported on Windows or the Mac (as far as I know).
In short, my requirements are:
- The filesystem must be read/write for Windows, Linux and Mac
- The disk must have a single partition
- There must be tools available for all three OSs to format the HD with that filesystem in case something goes wrong and I'm away from home base
Fat32 works across all, so I cannot use it.
OK.
Hello, I currently have a portable storage system working just fine with FAT32 across three different platforms. However, this is much too easy to me and I'd like to bash Windows at the same time, so I'm asking for advice on how to make my life difficult and go with some obscure filesystem which won't have many third-party tools available to alter it if something goes wrong.
Have you ever heard "If it ain't broke, don't fix it?"
If not, can you at least tell me WHY you want to break a good thing? It works FINE for you in all 3 OSes! Is your question a troll? If so, damn fine work!
With Windows, your choices are FAT16, FAT32 and NTFS. NTFS isn't amazingly portable, so you're pretty much stuck.
Supported on variety of operating systems, including Windows 2000 Professional, Windows 2000 Server, Windows 2000 Advanced Server, Windows 2000 Datacenter, Windows 2003 Server, Windows XP Home, Windows XP Professional, Windows 2003 Server Web Editition and many, many others.
Right, exactly. This isn't a 'switch', its a 'compare'.
I myself am very interested in the answer. I wonder if the solution may be to have an ext3 (or xfs, or jffs) shim for Win32, also?
Man, if only there were an *open*, *journaled*, *fast* and *efficient* filesystem which all 3 OS's were allowed to play well with.
Seems to me if the answer to this "Ask Slashdot" ends up being "just use FAT32", then there's an opportunity for a decent OSS project: completely open, cross-platform, fast, journaled filesystem, with code tarballs for all major platforms.
Hmmm...
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
Your other options include Paragon's Mount Everything and their Ext2fs Everywhere (which is really just a subset of `Mount Everything'.) These programs let you mount ext2/ext3 under Windows, or let you mount NTFS under Linux (I don't know how good that is -- I know that Linux has some NTFS support itself, but know it's not very mature.)
If that's not clear enough -- if you want to spend some money, spend it with Paragon and you can use ext3 or NTFS. If not, stick with fat32.
- Maybe use FAT32, but mount .ISO files?
- Windows is the problem: what open source filesystems are there for Windows, anyway?
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
as well as using ext3 under linux.
m s-HOWTO -6.htmls oftware/ ltools.htmm acosx/ 18619
See here for general info:
http://www.ibiblio.org/mdw/HOWTO/Filesyste
And here for windows tools, but read the link... First.
http://www.it.fht-esslingen.de/~zimmerma/
And finally for OSX:
http://www.versiontracker.com/dyn/moreinfo/
Play nice and have fun!
Bah!
The important fact that you're missing is that it IS broke.
He can't reformat the drive as a single partition. Perhaps you missed the parts where he said "the built-in Disk Manager only lets me format 40GB partitions in FAT32" and "I do a lot of database work, so I often need to move 40GB+ database dumps". That's a serious usability problem.
He's obviously using two other OSes without that artificial 40GB limit. He could just use one of them when he needs to format.
I think you've about nailed it though: while there are a lot of valid criteria for selecting a good filesystem (security, permissions, metadata, etc), one of them in this case has to be portability, and without the help of third party software, no version of Windows has support for anything other than FAT* or NTFS. And while NTFS isn't such a bad filesystem, incomplete support for NTFS's security mechanisms has meant that there are few if any non-Windows drivers that can both read and write the format. Maybe, as you say, Panter will have this, but that still leaves some maturing on the Linux side.
My best idea -- which maybe isn't viable to the original "anonymous reader" -- is to let the single partition requirement slip. If the drive has one or two FAT32 partitions, that can meet the portability requirement. Then a more advanced filesystem can be used for OSX/Linux interchange. I know you have more flexibility if you just need to support those two, but I'm not sure what your best options are. OSX will let you use either HFS+ (modernized version of the old MacOS filesystem) or UFS (Unix FileSystem, which AFAIK is also what the *BSDs use. UFS might be a pretty good choice then -- it should be mountable on not only OSX & Linux, but also Solaris, BSD, Irix, and other *nix variants. I don't know what support OSX has for ext2, ReiserFS etc, but if it isn't there already then the architecture of the system is such that adding third party support should in theory be easier than adding any other drivers to Windows.
DO NOT LEAVE IT IS NOT REAL
Okay -- this one is purely for the "FWIW" file...
You could run NT's other original filesystem, HPFS. Linux has decent HPFS support available, the allocation unit is a 512b sector, and it's organized for fast searches and minimal fragmentation. It can also format up to 64GB partitions (although it still has a 2GB filesize limit).
The trick is to get HPFS support for Windows. To do this, you need to get the driver files from Windows NT v3.x (something that, admittedly I'm not sure works with Windows versions > NT 4. I don't do Windows personally, so I haven't tested it -- like I said above, FWIW). That will give you two of the three OSs supported. HPFS has been around for a while, (circa 1988), so you might be able to find something from the Intel FreeBSD world you could port to OS X.
I use HPFS for my 100MB ZIP disks (which I admittedly rarely use anymore for anything than quick archival purposes). It's not journalled, but it uses a bidirectional sector pointer system, so chaining errors are amost always fixable. The big downside is that if the filesystem is dirty, checking it can take a huge amount of time.
It's probably not a practical solution (I didn't and won't claim it is), but it's still a slightly more constructive answer than "Your stuck with FAT32" :).
Yaz.
You could use the ext2 filesystem. Mac OS X Ext2 Filesystem is a beta and Explore2efs is available for Windows.
Unfortunately, same goes for ext2 in general. You can compile your kernel with large file support, but your applications and filesystem drivers need to support it as well.
/boot filesystem (the only with ext2). This is the maximum with 1k blocks. The limit is caused by the maximum number of blocks addressable with three levels of indirection. It is slightly larger than 16GB because you can also use the direct, single, and double indirection. With three levels of indirection you get 2^4 times as large files by doubling the block size. In other words with 2kb block size you can create files as large as 256GB. With 4kb block size you run into another limitation at 2TB file size.
It is true that applications need to support large files, however the most important applications already do. And ext2 does support files larger than 2GB. I just created a 17247252480 bytes file on my
Do you care about the security of your wireless mouse?