Problem:
I have been using GPT partitions with Fat32 file system, mainly because it is said to be the most commonly supported filesystem among different systems, which I do not doubt.
However, change of plans. I no longer trust the Fat32 file system.
I just had a bad experience with missing files, nothing like that to drive you crazy when you're trying to get work done and cannot find the files you just created yesterday.
So I pulled the files in from a backup. But they refused to show up in FreeBSD / zfs.
So I found out what was going on...
1.) Using a linux computer with ext4, I copied 12 files from ext4 (external hard drive) to fat 32 (external hard drive), fat32 shows 12 files copied.
So far, so good.
2,) Using a FreeBSD computer with zfs, I copied 12 files from fat 32 (external hard drive), zfs shows only 7 files copied.
Not good.
And even worse...
Not only did it refuse to copy 5 files over, but it then deleted those same 5 files on the source (fat32 file system on external hard drive).
Repeated this experiment twice, with the same exact result.
In case it matters, all permissions were the same, groups the same, all are libreoffice spreadsheet files. But since we're dealing with fat32, all owner/group/permissions are lost anyway.
I then repeated the same experiment using the ext2 file system on the external (transfer) device.
1.) Using a linux computer with ext4, I copied 12 files from ext4 (external hard drive) to ext2 (external thumb drive), ext2 shows 12 files copied.
2.) Using a FreeBSD computer with zfs, I copied 12 files from ext2 (external thumb drive), zfs shows all 12 files copied.
Works fine, as it should.
Solution:
So, here's what I'm wondering.
I would like to know, based on real experiences, what is the best file system for external use (thumb drives and external hard drive(s)/enclosures)?
Some possibilities at this point:
Might also be wise to do away with thumb drives and use only hard drives?
Thanks for your help!
I have been using GPT partitions with Fat32 file system, mainly because it is said to be the most commonly supported filesystem among different systems, which I do not doubt.
However, change of plans. I no longer trust the Fat32 file system.
I just had a bad experience with missing files, nothing like that to drive you crazy when you're trying to get work done and cannot find the files you just created yesterday.
So I pulled the files in from a backup. But they refused to show up in FreeBSD / zfs.
So I found out what was going on...
1.) Using a linux computer with ext4, I copied 12 files from ext4 (external hard drive) to fat 32 (external hard drive), fat32 shows 12 files copied.
So far, so good.
2,) Using a FreeBSD computer with zfs, I copied 12 files from fat 32 (external hard drive), zfs shows only 7 files copied.
Not good.
And even worse...
Not only did it refuse to copy 5 files over, but it then deleted those same 5 files on the source (fat32 file system on external hard drive).
Repeated this experiment twice, with the same exact result.
In case it matters, all permissions were the same, groups the same, all are libreoffice spreadsheet files. But since we're dealing with fat32, all owner/group/permissions are lost anyway.
I then repeated the same experiment using the ext2 file system on the external (transfer) device.
1.) Using a linux computer with ext4, I copied 12 files from ext4 (external hard drive) to ext2 (external thumb drive), ext2 shows 12 files copied.
2.) Using a FreeBSD computer with zfs, I copied 12 files from ext2 (external thumb drive), zfs shows all 12 files copied.
Works fine, as it should.
Solution:
So, here's what I'm wondering.
I would like to know, based on real experiences, what is the best file system for external use (thumb drives and external hard drive(s)/enclosures)?
Some possibilities at this point:
ext2
ext3/4 - (I heard there can be incompatibilities between linux versions / ext3/4, not sure if true, but journaling is not good for thumb drives.)
UFS
ZFS (on non-hardware raid multi-drive enclosures) - but a pain to mount the device?
Others ??
Might also be wise to do away with thumb drives and use only hard drives?
Thanks for your help!