Slashdot Mirror


Best Filesystem For External Back-Up Drives?

rufey writes "I've recently embarked on a project to rip my DVD and CD collection to a pair of external USB drives. One drive will be used on a daily basis to access the rips of music and DVDs, as well as store backups of all of my other data. The second drive will be a copy of the first drive, to be synced up on a monthly basis and kept at a different location. The USB drives that I purchased for this are 1 TB in size and came pre-formatted with FAT32. While I can access this filesystem from all of my Windows and Linux machines, there are some limitations." Read on for the rest, and offer your advice on the best filesystem for this application. "Namely, the file size on a FAT32 filesystem is limited to 4GB (4GB less 1 byte to be technical). I have some files that are well over that size that I want to store, mostly raw DVD video. I'll primarily be using these drives on a Linux-based system, and initially, with a Western Digital Live TV media player. I can access a EXT3 filesystem from both of these, and I'm thinking about reformatting to EXT3. But on Windows, it requires a 3rd party driver to access the EXT3 filesystem. NTFS is an option, but the Linux kernel NTFS drivers (according to the kernel build documentation) only have limited NTFS write support, only being safe to overwrite existing files without changing the file size). The Linux-NTFS project may be able to mitigate my NTFS concerns for Linux, but I haven't had enough experience with it to feel comfortable. At some point I'd like whatever filesystem I use to be accessible to Apple's OS X. With those constraints in mind, which filesystem would be the best to use? I realize that there will always be some compatibility problems with whatever I end up with. But I'd like to minimize these issues by using a filesystem that has the best multi-OS support for both reading and writing, while at the same time supporting large files."

22 of 484 comments (clear)

  1. The solution.. by Anrego · · Score: 5, Interesting

    is to stop being so diverse! Pick a platform and stick with it!

    Ok, in all seriousness.. here's what you do:

    - buy yourself a cheap (~200) box
    - hook all your drives to it
    - use whatever file system you want (JFS, XFS would be my recommendation)
    - share it over your zoo of a network using nfs, samba, etc..

    As a bonus, your file server box could double as a media center, and replace your WD TV Live dealie.. (probably not though.. right)

    Irregardless, I think you're way better off with this approach vice trying to find the magical widely supported cross platform file system with large file capacity.

    You also might want to consider RAID vs. your monthly sync. Yes, RAID isn't a backup.. but for something like this where
    restoration would be possible, but just a pain in the ass.. mirrored raid can be a lot more convenient. You can always have
    a third external to back up your irreplacable data on a semi-annual basis..

    1. Re:The solution.. by Dynedain · · Score: 4, Informative

      Thats exactly what I did. Threw a couple of external drives on a Mac Mini. Formatted as HFS+ and did software array. Then using afp and smb provided the contents as shares to the Windows media center and various client machines on the network.

      Sure, software raid over USB is slow, but the bottleneck is the network so it doesn't really matter.

      --
      I'm out of my mind right now, but feel free to leave a message.....
    2. Re:The solution.. by rpresser · · Score: 5, Insightful

      It might if irregardless was actually a word.

    3. Re:The solution.. by multimediavt · · Score: 5, Informative

      WRONG!

      Irregardless is not a proper English word. Its usage has *ALWAYS* irked me from when I was a small boy to now. To use common vernacular, it's a mashup of 'irrespective' (one negative; prefix) and regardless (also, one negative; suffix). 'Irregardless' is a double negative and is thusly illogical by construction and would only be understandable to people born in the U.S. since 1970, and those less literate in the U.S. prior to that.

      On my words that aren't words list it's right up there with 'impactful'.

    4. Re:The solution.. by uglyduckling · · Score: 4, Insightful

      Irregardless is nonsense caused by confusion between the words irrespective and regardless.

    5. Re:The solution.. by molarmass192 · · Score: 5, Funny

      You're words are truthy enough, but your assuming that synergistic words like irregardless don't have impacts on english as we know it. The facts is that people will use words like that wether we like it or not. This is truely, the case when it comes to American's use of language. Sadly, theirs very little we, as people far more litterate than the average people, can really do about that. If people used grammer checkers, then you and me would not see so many people authoring bad words and having a negative affect on english as it is known and practised today but should be editted and spokened tomorrow.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    6. Re:The solution.. by EdIII · · Score: 5, Insightful

      I've seen it used multiple times in this discussion. That makes it a word.

      ummmm. okay. "Fugnutish". Let's keep it going a few more replies and I gots my new word :)

    7. Re:The solution.. by Tanktalus · · Score: 5, Funny

      No, most people use it because they think they sound smart when they use a big word. The problem is, it's not a word and thus they just sound like an idiot to the very people they are trying to impress when they say or write irregardless.

      As a former coworker once told me, "Never use a large word when a diminutive one will suffice." I think he was showing off.

    8. Re:The solution.. by camperdave · · Score: 5, Funny

      What's the difference between irregardless and regardless?

      Irregardless works in the dark.

      --
      When our name is on the back of your car, we're behind you all the way!
    9. Re:The solution.. by yukk · · Score: 5, Funny

      Utter rubbish. Irregardless is a perfectly cromulent word.

      Exactly. It embiggens the language.

      --
      The trouble with the rat race is that even if you win, you're still a rat." Lily Tomlin
  2. NTFS by Hamsterdan · · Score: 4, Insightful

    THat's what I use here. for MAC, there's NTFS-3G (free) or Paragon ($ but faster on writes).

    I use NTFS on both my machines (Win/OS X/Linux) without any problems.

    NTFS-3G is also available for Linux.

    --
    I've got better things to do tonight than die.
  3. Re:Ext3 by moderatorrater · · Score: 5, Informative

    I personally go the other way. Sure, there's an Ext3 driver for windows, but from what I've seen it's not that good. On the other hand, I've used the NTFS driver on Linux quite a bit and it's worked pretty well. More importantly, I have confidence that the NTFS driver will continue to get better.

  4. The best is... by FreemanPatrickHenry · · Score: 5, Funny

    ...ReiserFS. I hear it's killer.

    --
    I have discovered a truly marvelous .sig which, unfortunately, this space is too small to contain.
  5. I wouldn't.... by fak3r · · Score: 4, Interesting

    I wouldn't limit myself to a certain filesystem, I'd run a dedicated NAS like FreeNAS and share it over the network via SMB (windows), AFP (apple) and whatever for Linux - all set. Plus as mentioned above, you can run Firefly media server, a bittorrent server, a DAAP server (itunes sharing), etc (all included in FreeNAS. http://freenas.org/) on the same box. And since filesystems don't matter in this config, you can use ZFS to make a RAIDZ pool of your drives. It's what I do now.

  6. NTFS is becoming the lingua franca by FreelanceWizard · · Score: 4, Informative

    Honestly, if FAT32 won't do what you need, NTFS is pretty much where you'll need to go. NTFS-3g gives you stable read/write capability on Linux and OS X as a FUSE driver; in fact, many distributions have NTFS-3g in their repositories. There's also native NTFS write support in Snow Leopard if you want to risk turning it on. I personally haven't had any issues with it, but some people have encountered file corruption when using it, so you might want to be wary. It is worth noting, however, that many embedded devices won't read anything other than FAT. If you plan on hooking this drive up to, say, a DVD player to show pictures, NTFS won't work for you.

    Like it or not, Microsoft file systems are the lingua franca of file transfer on portable drives these days, merely due to the installed base of Windows computers.

    --
    The Freelance Wizard
  7. Words of caution by RenHoek · · Score: 5, Informative

    I have ~6TB on external USB drives and I've been doing this for a few years now. I have a few words of caution about NTFS. If you get an USB drive that for example spins down or if you turn your USB drive off without properly dismounting it (or if Windows crashes), you might see this line:

    Delayed write failed!

    And on two occasions that meant that Windows fucked up the file allocation table or whatever it's called under NTFS and I lost the _entire_ disk.

    Windows loves getting its fingers into that table whenever you mount a USB filesystem. It's not like it tries to keep its write cache empty. Nooo.. every file access needs to be continuously recorded in that thing.

    Anyway, be careful when you use NTFS on a USB drive. Alternatively use EXT3, which you can still mount under Windows using:

    http://www.ext2fsd.com/

    (Note that these experiences are under Windows XP, I have no clue if Vista or 7 does any better, I assume not.)

  8. Re:Ext3 by Sophira · · Score: 5, Informative

    Sure, there's an Ext3 driver for windows, but from what I've seen it's not that good.

    Which particular driver are you referring to? There are a few.

    Personally, I use Ext2 IFS in Windows (it works for Ext3 too) and it is, hands-down, the stablest and best Ext2/3 Windows driver I've used. Every other one I've tried would have stability issues; with IFS I don't have to worry. (There's been precisely *one* time in pretty much years that the driver crashed on me, and that's when I was doing something weird and stupid; I don't remember what. But more importantly, it didn't do anything bad to the filesystem in that crash.)

  9. Why all those ext3 recommendations? by the_other_chewey · · Score: 5, Interesting

    I see quite many people here recommending ext3. Oh my. ext3 sucks for large files,
    which is exactly what the submitter wants to use his setup for. Look into the crazy structures
    ("double indirect blocks") it uses. He should go with an FS that has sane data structures with
    files >>4GB.

    That kills most of the choices and leaves XFS, ext4, ZFS (only worth it if not used via FUSE,
    i.e. in Solaris), and a couple more obscure ones.
    I second the "forget OS portability, use a server" suggestion. There's great low-power, low-cost
    hardware for this nowadays.

  10. Please read this by Anonymous Coward · · Score: 5, Informative

    Dear AP,

    I was pondering with a very similiar problem two years ago, when I bought my first terabyte-class external USB hard drive to my home server (old 800 MHz Duron). I was thinking exactly like you are thinking now, and decided FAT-32 would be the way to go. MISTAKE. Four important things stand out, that I want you to read:

    1. You never really transfer that drive. Much less than you think. Chances are more than 99% of their lifetime they will be sitting hooked to one computer, never really being moved; portability is just another nice extra feature that you hardly ever use. During the two years I have switched my drives a couple of times between the desktop machine and the server, both of which run Linux as main OS. I have never ever taken any of these drives outside of my home.
    2. 4 GB limitation is really bad! Most DVD ISOs are bigger that that. An hour of HD video in state-of-the-art H.264 is more than 4 GB. And rest assured, when you have the space and facilities to accquire gigabyte-class multimedia, the temptation will be there. As BluRay becomes the new DVD, maybe you want to RIP your fav. movies to your hard drive for quick access? NO WAY with FAT-32!
    3. Lack of UNIX parameter support. Okay, so you just want to store back-ups? Okay.. Remember than FAT-32 doesn't support symbolic links, file ownership, user/group/others access permissions, file name character case (in Microsoft Windows, "Soviet Union" equals to "soviet union"; WILL result in a conflict when copying data from UNIX filesystems!). This information is LOST, unless you use some container format like tar (but remember the 4GB limit again). These little things are a) very helpful everyday things, value of which you realize only after loosing them (e.g. any file on extfs can be replaced/virtualized without moving files around; it can even point to a non-existstent file! And all works seamlessly, as long as the program understands symbolic links; now how valuable is that?), and b) what makes your UNIX fs work. The value of your backups is lower if they dont work "out of the box", e.g. data is lost when transfering to FAT-32. I mean, you just have a chance to save so much hassle there.. When needed, you can NFS-mount the filesystem (and its free space and contents) to your local machine from your drive, and everything works transparently to BOTH Windows and Linux (the properties of FAT-32 are a small subset of those of extfs.)
    4. Acccess speed. Ext3 and Ext4 or just about any 21st century UNIX fs are lightyears ahead of the archaic FAT in data structures. E.g. if I "ls" a big directory on my only FAT-32 drive, it is SLOW! You can see the entries being fetched one by one. Whereas, if I do the same in a similiarly-sized directory on the ext3, the files appear immediately! Access is almous immediate even over NFS mount in LAN. This comes handy, rest assured.

    Okay, those are my four vocal points. They could be in any order, because all of them are equally important reasons NOT to choose FAT-32! As it happened, after using the 0.5TB drive for 6 months with FAT-32, I bought more space (a new drive). This time there was no question about the filesystem. I made a small, few-sector long 200 MB FAT-32 partition to the beginning of the drive and downloaded all the latest Win32 EXT2 drivers there from different vendors, just for the really unplausible situation that I would ever want to mount these drives in Windows. Then I just made the rest Ext3. And, I am REALLY satisfied with the decision! Ext3 just work so sparklingly faster and better with Linux than FAT-32 ever does. Since then I have bought one more drive and did the same 200MB + 1TB thing. I will probably never use these drives in Windows, but it gives me a warm feeling to the heart that there's always a way if I should, even if the computer doesn't have an Internet connection.

    Oh, one thing I forgot to mention: get a file server! It makes your life so much easier. Nowadays I am running a desktop computer with a 60 GB SSD drive and no HDD at a

  11. Problem with ReiserFS by TheLink · · Score: 5, Funny

    The big problem with ReiserFS: Vendor lock-in.

    --
  12. Avoid USB attached storage. (Re:Words of caution) by KonoWatakushi · · Score: 4, Informative

    The fundamental problem lies in USB bridge chips which do not properly implement the cache management commands. Others have replied that you need to disable the write cache, and while that would be a solution, it is often impossible. Even with bridge chips that do support the cache disable command, some hard drives will not honor it anyway.

    Most USB bridges simply lie about when data has been written, which makes it very difficult for a filesystem on top of it to make any guarantees. While it may not happen often, this can have disastrous results, as you have seen.

    The copy on write nature of ZFS left it especially vulnerable to broken USB storage, and could easily leave you with a corrupted pool requiring manual intervention and a bit of luck to recover. Thankfully, the recent bits address this, and ZFS is now the only filesystem that I would trust on top of USB storage. Most other filesystems will survive without incident, but at the cost of some silent data corruption.

  13. Hybrid? FAT32 and [your-choice-of-fs-here] by corychristison · · Score: 4, Interesting

    I know this comment will get lost in the sea of other comments, but my recommendation to you would be a hybrid solution.

    Create a small partition (1GB would be overkill) and format it FAT32.
    Create another partition for the rest of the drive (or however you please) with your choice of FS (I prefer XFS, personally).

    Store the drivers(/utilties) for the FS you chose and store them on the FAT32 drive.
    Some popular drivers/utilties for Windows are:
    ext2fsd for EXT2 - http://sourceforge.net/projects/ext2fsd/
    rfstool for ReiserFS - http://freshmeat.net/projects/rfstool/
    ltools for EXT2/EXT2/ReiserFS - http://www2.hs-esslingen.de/~zimmerma/software/ltools.html/
    and so on and so forth (a simple google for "[FS] Windows Compatibility" usually works.)

    Just my thoughts. :-)