Mount XFS partition on OS X using OSXFUSE

22,218

Solution 1

As Daniel Beck pointed out, there is Fuse-XFS, which let's you mount XFS under OS X in read-only mode.

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.

Solution 2

  1. Install FUSE for OSX
  2. Connect the HD partitioned with XFS
  3. Run Disk Utility, you should be able to see the mounted device (e.g: disk3)
  4. ls /dev/disk3*, you should be able to see the partition (e.g: disk3s1)
  5. create the mount point (e.g: /mnt/my_xfs_hd)
  6. sudo fuse-xfs /dev/disk3s1 -- /mnt/my_xfs_hd -o default_permissions,allow_other
  7. cd /mnt/my_xfs_hd, you should now have read-only access to all the data stored in the XFS partition

Solution 3

minixfs is a file system for the minix operating system (MINIX-FS), rather than a small implentation for XFS (mini-xfs) :-)

So, look out for FUSE-XFS.

Share:
22,218

Related videos on Youtube

Milo Wielondek
Author by

Milo Wielondek

Updated on September 18, 2022

Comments

  • Milo Wielondek
    Milo Wielondek over 1 year

    How can I mount an XFS-partition on OS X 10.7 using OSXFUSE?

    In their filesystem repository under filesystems-c/unixfs I have found minixfs. However, I'm not sure how to go about installing it and using it to mount the partition, hence I would be grateful if someone could write a short guide/tutorial. I wasn't able to find any instructions on the topic elsewhere.

    • HikeMike
      HikeMike almost 12 years
      It's not "Mini XFS", it's Minix FS.
    • HikeMike
      HikeMike almost 12 years
      Did you Google for osxfuse xfs and find this on the first page? If so, why doesn't it work for you? If not, why not?
    • Milo Wielondek
      Milo Wielondek almost 12 years
      @DanielBeck D'oh! I don't know how I missed it. Bonus question - is there a way of getting around the write-only mode of fuse-xfs?
    • Milo Wielondek
      Milo Wielondek almost 12 years
      @DanielBeck *read-only. What is up with me today...
    • HikeMike
      HikeMike almost 12 years
  • Gwyneth Llewelyn
    Gwyneth Llewelyn almost 5 years
    Still works like a charm under macOS Catalina Beta (10.15)!