xfs
[Top] [All Lists]

Re: xfsdump 2.1.5, kernel 2.4.18-xfs-1.1, "unable to determine uuid of f

To: Bernhard Erdmann <be@xxxxxxxxxxx>
Subject: Re: xfsdump 2.1.5, kernel 2.4.18-xfs-1.1, "unable to determine uuid of fs mounted at /"
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 2 Sep 2002 17:18:25 +1000
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3D73085B.17723A9A@berdmann.de>
References: <3D73085B.17723A9A@berdmann.de>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Mon, Sep 02, 2002 at 08:42:35AM +0200, Bernhard Erdmann wrote:
> 
> Hi,
> 
> are there any known problems with this combination? I upgraded a machine
> to 2.4.18-xfs-1.1 (plain vanilla 2.4.18 + xfs-1.1 patch) and build
> xfsdump on it using CVS of something last week.
> 
> sendsize: 5990: getting size via dump for / level 1
> sendsize: 5990: running "/usr/libexec/amanda/rundump (xfsdump) -F -J -l
> 1 - /dev/sdb1"
> sendsize: 5990: running /usr/libexec/amanda/killpgrp
> sendsize: 5990: xfsdump: using file dump (drive_simple) strategy
> sendsize: 5990: xfsdump: version 2.1.5 (dump format 3.0) - Running
> single-threaded
> sendsize: 5990: xfsdump: unable to determine uuid of fs mounted at /:
> Inappropriate ioctl for device
> sendsize: 5990: xfsdump: ERROR: cannot find earlier dump to base level 1
> increment upon
> sendsize: 5990: xfsdump: Dump Status: ERROR
> 
> I know you must use xfsdump version > 2 for XFS kernel version >=
> 2.4.18.

I suspect this is due to the changes to the XFS_GEOMETRY ioctl
which happened at some point since 1.1 release, which was done
to support the new log format.

Basically, if you compile xfsdump against the xfsprogs headers
from xfsprogs in 1.1 it should work, but if you compile xfsdump
against CVS header files it will use the new geometry ioctl,
which was not supported by the 1.1 kernel code and hence the
"Inappropriate ioctl" error.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>