[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xfsdump 2.1.5, kernel 2.4.18-xfs-1.1, "unable to determine uuidof fs mounted at /"



On Mon, 2002-09-02 at 12:20, Bernhard Erdmann wrote:
> Nathan Scott wrote:
> [...]
> > 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.
> 
> Yes, I compiled CVS xfsdump on CVS kernel end of last week, but now I
> use 2.4.8-xfs-1.1. Sorry not to mention this detail. I'll check it out.
> 

When the new commands came out, they did start using a new interface
which was versioned for the v2 log code. The old commands will work
with a new kernel, but the new commands will not work with an old
one. When you build commands, the installed kernel has nothing to
do with which version of the system calls the commands will use.

So, use older commands with an old kernel, or use a newer kernel.

Steve