LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices

Reply
 
LinkBack Search this Thread
Old 09-04-2012, 02:38 PM   #1
wolecki
LQ Newbie
 
Registered: Dec 2010
Posts: 13

Rep: Reputation: 0
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.
 
Old 09-04-2012, 08:45 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.13.2
Posts: 1,465
Blog Entries: 10

Rep: Reputation: 141Reputation: 141
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.

Last edited by mostlyharmless; 09-04-2012 at 08:51 PM.
 
Old 09-04-2012, 09:32 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
http://serverfault.com/questions/550...d-drive-as-udf
 
Old 09-05-2012, 05:36 AM   #4
dmcnatty
LQ Newbie
 
Registered: Sep 2009
Location: Croton on Hudson NY
Distribution: mce 0710
Posts: 2

Rep: Reputation: 0
I use ext3 - if you configure avahi and samba your drive(s) will be visible/accessible from macs and windows machines
 
Old 09-05-2012, 08:57 AM   #5
geox
Member
 
Registered: Jan 2012
Posts: 40

Rep: Reputation: 2
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.
 
Old 09-05-2012, 08:57 AM   #6
vorbote
Member
 
Registered: Aug 2009
Location: 2,625 m of paranoia above sea level
Distribution: GNU/Linux
Posts: 66

Rep: Reputation: 6
Quote:
Originally Posted by dmcnatty View Post
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.
 
1 members found this post helpful.
Old 09-05-2012, 02:27 PM   #7
wolecki
LQ Newbie
 
Registered: Dec 2010
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 09-05-2012, 04:05 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,530

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
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/
 
Old 09-05-2012, 09:08 PM   #9
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,383
Blog Entries: 14

Rep: Reputation: 582Reputation: 582Reputation: 582Reputation: 582Reputation: 582Reputation: 582
FAT32 would be the most logical choice as just about all operating systems support it and doesn't require FUSE.
 
Old 09-06-2012, 02:46 AM   #10
geox
Member
 
Registered: Jan 2012
Posts: 40

Rep: Reputation: 2
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.
 
Old 09-06-2012, 09:22 AM   #11
wolecki
LQ Newbie
 
Registered: Dec 2010
Posts: 13

Original Poster
Rep: Reputation: 0
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?
 
Old 09-06-2012, 02:05 PM   #12
geox
Member
 
Registered: Jan 2012
Posts: 40

Rep: Reputation: 2
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.

Last edited by geox; 09-06-2012 at 02:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Best Filesystem for an external hard disk of 1TB with cross platform support. LXer Syndicated Linux News 0 02-02-2012 07:10 AM
LXer: WebOS' Enyo 2.0 dev platform goes cross-platform, adopts Apache license LXer Syndicated Linux News 0 01-27-2012 06:30 AM
Cross platform filesystem for large drives Aerlock Linux - Software 1 04-02-2006 04:07 AM
cross platform c++ nyomon Programming 6 07-03-2005 03:24 PM
cross platform filesystem z9_87 Linux - Hardware 5 03-20-2005 06:49 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration