Bug 153680 - [xfs] 8.1 failing to mount XFS partitions
Summary: [xfs] 8.1 failing to mount XFS partitions
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bugmeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 13:40 UTC by Jens Grassel
Modified: 2025-03-17 03:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Grassel 2011-01-04 13:40:11 UTC
Hi,

I'm currently migrating a linux system to bsd and did not succeed in mounting xfs partitions under bsd.
The xfs partition was created under linux several years ago and runs fine under linux. If I try to mount it under bsd I get the following output:

1st try:
root@magni:~# mount -t xfs -r /dev/ad8s1 /mnt/Lagerhaus 
mount: /dev/ad8s1 : Invalid argument

2nd try:
root@magni:~# mount -t xfs -r /dev/ad8s1 /mnt/Lagerhaus
mount: /dev/ad8s1 : Operation not permitted

Using "-o ro" instead of "-r" makes no difference.
In kernel log the following two lines appear on each mount attempt:

fsname '/dev/ad8s1' logname '' rtname ''
flags 0x200000 sunit 0 swidth 0 logbufs -1 logbufsize -1

Running xfs_check /dev/ad8s1 reports no problems.

Any ideas?

Regards,

Jens

How-To-Repeat: Try to mount an existing xfs partition that was created under linux.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-10 01:24:36 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

reclassify and assign.
Comment 2 Matthias M. 2013-05-16 21:03:37 UTC
Hey there,

if got the exact same error on FreeBSD 9.0-RELEASE and 9.1-RELEASE.
The bug prevents me to migrate from linux to freebsd on some systems.

Needs to be fixed, i guess.

Kind regards
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:55 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2025-03-17 03:23:41 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of support, and
xfs support was removed 20130302.