Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2011 13:31:57 GMT
From:      Jens Jahnke <jan0sch@gmx.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/153680: 8.1 failing to mount XFS partitions
Message-ID:  <201101041331.p04DVv79029588@red.freebsd.org>
Resent-Message-ID: <201101041340.p04DeBSM002418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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.
>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101041331.p04DVv79029588>