LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-19-2016, 11:16 AM   #1
billsee
Member
 
Registered: May 2013
Posts: 42

Rep: Reputation: Disabled
Question File system compatibility between Apple and CentOS 6.8


I'm using a fat32 file system to transfer files to and from my Mac (10.12) and a Linux system running CentOS 6.8. The file system has a maximim file size of 4GB and I need more. exfat appears that it will work but I can't make that file system with mkfs and yum can't find the exfat-utils or fuse-exfat packages. Any suggestions?
 
Old 12-19-2016, 11:34 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,611
Blog Entries: 3

Rep: Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857
HFS+ works much, much better. Just don't count on also being able to read the device from outdated systems like Windows. Just be sure that Journaling is turned off for that removable device once it's formatted for HFS+. There used to be an option with the Disk Utility for that, but I cannot recall what the current status is, you may have to use the shell.

Or, if you are willing to hop through some hoops, you can read EXT4 from OS X and use that.
 
Old 12-19-2016, 01:12 PM   #3
ccj4467
LQ Newbie
 
Registered: Jan 2009
Posts: 26

Rep: Reputation: 4
Just went through this, as Turbo says HFS+ works great. Had a user who needed to transfer 7TB of data to my server. He formatted an 8TB drive HFS+, put in a USB caddy, copied the files to it(took a long time), brought me the disk, I plugged it in and voila the server recognized it and I happily copied the files for him(took a long time).
 
Old 12-19-2016, 01:20 PM   #4
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
I am trying to format flash drives. I don't see any way to format as HFS+ on my MAC or
the CentOS 6.8 box.
 
Old 12-19-2016, 01:28 PM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,611
Blog Entries: 3

Rep: Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857
You probably have to add the tools. Do you have a package called hfsplus-tools available in your repository?

In OS X, you have the Disk Utility which will do it.
 
Old 12-19-2016, 01:40 PM   #6
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
I tried formatting on the MAC as exfat and MAC OS extended (journaled). In the first case
the Linux system did not recognise the flash drive when inserted and in the second case a error window popped up saying the file system was not recognised.
 
Old 12-19-2016, 01:44 PM   #7
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,611
Blog Entries: 3

Rep: Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857
Quote:
Originally Posted by billsee View Post
...and MAC OS extended (journaled)...
As mentioned, you have to turn off journaling. There should be an item in one of the Disk Utility menus about that, before or after the formatting. If not, then you'll have to do it via the shell. Otherwise, the CentOS system won't be able to work with the partition even if you have added the hfs-tools package.
 
Old 12-19-2016, 01:53 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,490

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
The hfs+ package is in the elrepo repository and the exFAT package is in the nux-dextop repository.

https://wiki.centos.org/AdditionalRe...s/Repositories
 
1 members found this post helpful.
Old 12-19-2016, 02:12 PM   #9
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
No way in the MAC disk utility to turn off journaling that I could see.
I will soldier on. Thanks for your help.
 
Old 12-19-2016, 02:16 PM   #10
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,611
Blog Entries: 3

Rep: Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857
Quote:
Originally Posted by billsee View Post
No way in the MAC {sic} disk utility to turn off journaling that I could see.
I will soldier on. Thanks for your help.
If you mean Mac then there are several good sources of information. Here's one:

https://support.apple.com/en-md/HT204435
 
Old 12-19-2016, 02:41 PM   #11
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
I found this link:
http://julio.meroh.net/2007/04/how-t...fs-volume.html
and executed the command and it ran successfully but the volume still would
not mount in CentOS. The error reads: Error mounting: mount: unknown filesystem type 'hfsplus'
 
Old 12-19-2016, 02:43 PM   #12
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,611
Blog Entries: 3

Rep: Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857
Many distros read HFS+ out of the box. Apparently CentOS needs you to add a package. See post #8 in this thread. Add that and you should be good to go.
 
Old 12-19-2016, 02:54 PM   #13
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
I tried executing 'yum install elrepo' and 'yum install nux-dextop' and yum did not know about
these packages.
 
Old 12-19-2016, 02:58 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,490

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Go to the elrepo website and follow the instructions to enable the repository. Once enabled you can use yum to install hfs+ packages.

http://elrepo.org/tiki/tiki-index.php
 
Old 12-19-2016, 03:03 PM   #15
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
OK, problem solved. I installed package kmod-hfsplus and I was able to
mount an unjournaled HFS+ file system. Thanks much.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux' Linus calls Apple's file system 'complete and utter crap,' worse than Windows LXer Syndicated Linux News 0 07-15-2011 01:20 PM
LXer: Apple discontinues port of Sunís ZFS file system. LXer Syndicated Linux News 0 10-28-2009 07:00 PM
ext4 new file system mounting compatibility with the older ext3 type james2b Linux - Newbie 6 09-08-2009 05:57 PM
Apple Formally Announces Mac/Windows Compatibility peter_89 General 11 04-16-2006 02:22 PM
Best file system to use for compatibility with Windows blixel Linux - General 2 10-09-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration