LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Best filesystem for cross platform activity? (https://www.linuxquestions.org/questions/linux-general-1/best-filesystem-for-cross-platform-activity-4175425627/)

wolecki 09-04-2012 02:38 PM

Best filesystem for cross platform activity?
 
Hello my friends,
A relevant and ill discussed question.

Following my experience in a musical workshop in Crete - sharing digital information from time to time with an external disk oner audience can be an "area of conflict" between Mac, Win, and Linux fs.

Latest posts i've excavated suggests that FAT32 is the most complient cross platform fs but being restricted to 4GiB in filesize, is irrelevant for many tasks. NTFS complience to linux and mac might demand 3rd party drivers.

The main question is what filesystem will be best suited for using external HD over different OS?
is it possible to format such drive as a UDF fs which is built for cross platform support?

Regards,
Amit.

mostlyharmless 09-04-2012 08:45 PM

I recommend ext3 but make sure you make it with inode size 128, which is not the default, but will make it more compatible with Windows (using Ext2IFS ) , BSD (older versions ). Or you can go with NTFS, which everyone can handle with NTFS-3g, as you know.

so..

mkfs -i 128 -t ext3 /dev/sda1

for example or whatever partition you have your drive on instead of sda1.

jefro 09-04-2012 09:32 PM

http://serverfault.com/questions/550...d-drive-as-udf

dmcnatty 09-05-2012 05:36 AM

I use ext3 - if you configure avahi and samba your drive(s) will be visible/accessible from macs and windows machines

geox 09-05-2012 08:57 AM

FAT32 no question.

If you just want it to work that is.
Yes, it does have a filesize limit.
Yes, it does defragment (badly)
Yes, if you unplug it too soon you can loose new files easily
Yes, i still trust it enough to commit my data to it :)

But aside from this it is still the most widely spread and supported filesystem. You can even use it on any type of flash storage media without worrying about wear leveling and stuff.

vorbote 09-05-2012 08:57 AM

Quote:

Originally Posted by dmcnatty (Post 4773163)
I use ext3 - if you configure avahi and samba your drive(s) will be visible/accessible from macs and windows machines

Whatever filesystem you use beneath a network filesystem is irrelevant, FYI.

wolecki 09-05-2012 02:27 PM

Thanks for the light shedding!

could any of you explain some more about network filesystem: how to format? would it be slower than direct filesystem read/write? would it require installing samba and avahi on the windows/mac machine?

I guess we can conclude that currently there is no filesystem that will work plug&play from every machine except FAT32 which is out of question with files > 4GiB.

Regards,
Amit.

michaelk 09-05-2012 04:05 PM

nfs and samba (SMB) are networking protocols and not real file systems. No formatting is required. Is networking the computers together an option?

Nothing has to be installed on the windows or AFAIK Mac computers.

http://reviews.cnet.com/8301-13727_7...disks-in-os-x/

http://www.appleinsider.com/articles...king_services/

ReaperX7 09-05-2012 09:08 PM

FAT32 would be the most logical choice as just about all operating systems support it and doesn't require FUSE.

geox 09-06-2012 02:46 AM

If you share a disk via some networking protocol the underlying filesystem is less important but still does matter.

Suppose I want to share a large disk via CIFS/samba/windows-file-sharing from a linux system.
Firsty I want the best performance and full support by linux. That leaves FAT32, ext2/3/4, xfs, ReiserFS, and possibly jfs. NTFS is supported well and I have used it at customers sites but setting it up requires some tender loving care.
Secondly I want to create shares for different users with different access rights. That rules out FAT32. So that leaves ext2/3/4, xfs, ReiserFS and jfs.
Thirdly I want reliability so that rules outs ReiserFS (oh boy am i going to get flamed for this :O )
Lastly I want the best performance so that leaves ext4 and xfs.

XFS has full ACL support when sharing it via samba and I like the fact you can create volume snapshots from XFS disks so this one is my personal favourite for most sharing. Ext4 has somewhat better performance for small files so I use that to share development disks, etc.

Then again, so many people, so many opinions so I am positive that there are many other options.

wolecki 09-06-2012 09:22 AM

many people, many opinions and also many different uses and problems...
the problem i'm trying to solve is: an external hard drive to hold and share music and videos (mainly larger than 4GB) between musicians - using any machine, easily.
what will be the best way doing that?

geox 09-06-2012 02:05 PM

Larger than 4Gb?
Never thought I'd say this on a linux forum, but for an external disk, i'd choose NTFS.
If you dont need to share it via SAMBA there is hardly any configuration to do.
NTFS is well supported in modern Linux distro's; reading and writing is absolutely problemfree. I have one customer where I setup a NTFS harddisk on a Ubuntu 10.04 LTS. Its running for more than a year and it is used extensively on a daily basis. Really only one downside: you cannot check the disk from within Linux; that really needs to be done on a windows PC. Then again, NTFS is very robust and i never need to.
On my MAC i noticed NTFS disks are read only, not sure if writing is possible even.


All times are GMT -5. The time now is 02:22 AM.