misc/153680: 8.1 failing to mount XFS partitions

Jens Jahnke jan0sch at gmx.net
Tue Jan 4 13:40:12 UTC 2011


>Number:         153680
>Category:       misc
>Synopsis:       8.1 failing to mount XFS partitions
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 13:40:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jens Jahnke
>Release:        8.1-RELEASE-p2
>Organization:
>Environment:
FreeBSD magni.rostock.home 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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 at magni:~# mount -t xfs -r /dev/ad8s1 /mnt/Lagerhaus 
mount: /dev/ad8s1 : Invalid argument

2nd try:
root at 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.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list