I have found out that XFS doesn’t work well with MBR partition table. I tried XFS since it is recommended for large files and when I formatted 2 of my external HDD with XFS, it refuses to mount after reboot. I already tried xfs_repair but no luck. Both of those 2 drives used MBR so I tried GPT and it mounts without any problems after reboot. I thought XFS is just a problematic filesystem. I hope this helps people who are trying out XFS.

  • dr100@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    How big is the drive? MBR can do only up to 2TiBs, but there is nothing with it and XFS. XFS comes from the 90s and for a large time most drives were MBR, there isn’t anything with it and XFS. Also, whatever the problem might be it’s independent as the file system acts on the block device that is the partition, XFS doesn’t care where the partition is coming from, it can be from any type of disk, or it can be even a file.

    • NoGod_Jr@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      2TB and 1TB drives. Perhaps GPT did something that MBR didn’t that made it work. I’ve searched a lot of possible solutions for the error but none of them worked. There are no posts about MBR and XFS so this post might give an idea on what solution people can try.

  • zfsbest@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    I highly doubt XFS has issues with MBR. Try filing a bug report with the XFS bug tracker, maybe you are using SMR drives or particular firmware.