How do I go about sharing an external HDD between GNU/Linux, FreeBSD and OpenBSD? - BSD
Nagase Iori
The external HDD is 1TB and it will mostly contain media.
What file system would be best to use?
The best one that comes to mind is ext2, since all three support it.
Is using ext2 a good idea, because the HDD might contain some important stuff too, besides anime.
Are there any better options?
Is this sitting on your internal network? If so I'd use either samba or NFS to setup a network file share
Nagase Iori
That would work if I only used my computers inside of my house, which would defeat the purpose of having an external drive.
I'll be going to a college in a different city and I'll have one computer at home, one computer in my rented apartment and a laptop to carry around.
I could set up a file server at home, but why would I want to be downloading files if I can have immediate access to them?
Besides, I won't have unlimited bandwidth in my rented apartment.

I just need the best way to have rw access to my external drive across those three operating systems.
FAT32 seems to be supported almost everywhere.
But you'll have a maximum file size limitation of 4GB and a limited number of files too.
Nagase Iori
Why would I use FAT32 if I can use ext2?
(if ext2 support on the BSD's is stable enough)
Ext2 on OpenBSD is good enough, in my opinion. Although it's not really battle-tested by a lot of users, I've been sharing /home between OpenBSD and Debian for >1 year on ext2 with no problems (lots and lots of reads and writes of many files), but OpenBSD's fsck_ext2fs is dodgy, don't use it. If the other BSDs ship with ext2 tools, they're probably similarly untested and generally unused. I wrote an article about it too, but that's the general idea.

The support on Net and FreeBSD must be better or at least as good, but I don't really know, someone else would have to chime in on that.

If you involve Windows in this, every ext2 driver I tried required a long e2fsck session from Debian to fix it after a write from Windows, so that's likely worse than useless. But you didn't mention Windows, so this is perhaps not relevant.
[EDIT]: sorry, I missed one message. :S What I say is that you could have a portable server solution no much bigger than an external hard drive itself with good read/write performances with an Ethernet switch, at the higher cost of having to setup a lot of (fun) things and a few money, and more hardware to carry around.

Another approach woud be another machine dedicated to distribute a networked filesystem (NFS, 9P...). This woud then be a SAN. This is also suited for storing the operating system files (/bin, /lib...).

If it is for storage, you could also go for a NAS, and use a protocol such as FTP, BitTorrent (once libgbt will be ready ;)), rsync...

Or you could also use a server with protocol dedicated to every kind of media: a streaming platform (or plain static HTTP website), fileserver, and if "important things" are code and mostly plain text, a git server would make it quite safe.

The you will have freedom in the kind of filesystem to use.

This would involve having another computer. A RaspberryPi or other ARM board, an old laptop (broken screen/keyboard/soundspeakers, a one too slow for daily use...). A 1GB or 10GB switch would allow direct, fast connection with the storage computer, and eventually connection to a network.
FAT32 is really your best bet, as much as I hate it. Using ext2 on OpenBSD is like using Windows ME - you can do it, but nobody will pity you when you lose all your data.

What about using a cheap VPS or one of the cloud services out there (yes, even Dropbox is acceptable, given some precautions are taken)?
An all in one solution could be a NAS adapter:

But I hate when solutions involve money.

It is a bit sad that not so many filesystems have an
explicit support for both Linux and BSD.

ZFS has great features and a lot of attention,
but its license is not compatible with Linux's
so it is not bundled with it. You have to install
it first.

I carry a FAT fulesystem between Linux and FreeBSD for SSH keys without issue so far.
mount            /dev/sdb /mnt/ssh  # on Linux
mount -t msdisfs /dev/da0 /mnt/ssh  # on FreeBSD
Is this a file system question, or a server question? If you have a USB 1TB drive that weighs about 20oz, sounds like a file system question.
If you are wanting to access the disk remotely without carrying it around, that's different....

Members  |  Stats  |  Night Mode