I would like to know if it is possible to mount an XFS filesystem on a Mac as I want to use XFS on my flash drive.


Short answer: No.

Long answer: It is not possibly natively. It could however be possible to find a port of the XFS filesystem to FUSE, which would be a hacky solution, but still work. As far as I remember though, there are no projects on porting XFS to OS X.

| improve this answer | |
  • Thanks, I will not be able to so this though as I don't have admin privileges on the mac machine. Thanks again, RayQuang – RayQuang Nov 21 '10 at 14:04

You can mount XFS under OS X in read-only mode using OSXFUSE together with Fuse-XFS.

From author's website:

Fuse-xfs is a MacFuse (OSXFUSE) driver for XFS filesystems. This driver allows Mac OS 10.7 with OSXFUSE/MacFuse to mount XFS filesystems in read only mode.

The journal is ignored, but basic read only operations should work fine.

This software should be considered alpha, and provides no guarantees that the XFS filesystem remains unaltered (although the code does not support writing in any way). Use of the software is entirely at the users own risk.

| improve this answer | |

A complicated solution would be to use a virtual machine like VirtualBox run a linux in that and use it to do your filesystem operations.

Unfortunately I couldn't find a recent documentation that states whether you need administrator privileges for the install.

| improve this answer | |
  • Actually I do this all the time for external drives. You can have VirtualBox passthrough USB devices to Linux. But yes, you do have to have administrator privs to install VB on the system. – Angelo Jan 13 '18 at 21:13
  • @Angelo You can even mount XFS in the VM and then share the mountpoint to the macOS host! – Manchineel Aug 3 '19 at 13:01

Using OSXFUSE together with Fuse-XFS works BUT is very slow. Booting Linux on the Mac (USB "live" linux) works FAST!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.