Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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.
mkfs -i 128 -t ext3 /dev/sda1
for example or whatever partition you have your drive on instead of sda1.
Last edited by mostlyharmless; 09-04-2012 at 08:51 PM.
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.
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.
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.
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?
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.