On Fri, 16 Mar 2001, Steve Lord wrote:
> I am not sure how much work it would be to get xfsrestore to function
> on a non-xfs filesystem. As the names indicate, these are xfs specific
> programs - they know about the extra things in xfs filesystems such as
> extended attributes and can store these. It also looks like they take
> advantage of xfs special system calls.
Despite the warnings, I think you'll find the xfsrestore succeeded. Not
being able to reserve space isn't fatal for xfsrestore, and the rest of
the operation should have succeeded. I'd like to know if it didn't.
> The second error seems a little draconian.
The second error is fatal, because for the table-of-contents, xfsrestore
wants to create a tempory directory in the current directory. Well
anyway, that's the theory, and I'm sure it's correct, but it does seem
odd, and I can't see any obvious place where xfsrestore writes to this
directory and actually needs it to be an xfs filesystem.
This error is also present on IRIX and it is annoying when it occurs, but
it's very rare nowadays of course. It will probably be more common on
Linux, so it's probably worth investigating. The reservation warnings
could also be avoided fairly easily. I'll add them to my list of things
to do when I'm bored...
Ivan
>
> Our dump/restore experts are in Australia and it is the middle of the
> night there, they may have comments later.
>
> Steve
>
> > Hi!
> >
> > Current dir: ext2 and 'xfs-root.dump' - dump on Irix 6.5
> > xfs: CVS 15 Mar 2001
> >
> > First: xfsrestore -r -f xfs-root.dump
> > --------------------------------------------------
> > xfsrestore: NOTE: attempt to reserve 46720 bytes for
> > /home/sky/xfsrestorehousekeepingdir/dirattr using F_ALLOCSP64 failed:
> > Inappropriate ioctl for device (25)
> > xfsrestore: NOTE: attempt to reserve 46720 bytes for
> > /home/sky/xfsrestorehousekeepingdir/dirattr using F_ALLOCSP64 failed:
> > Inappropriate ioctl for device (25)
> > xfsrestore: NOTE: attempt to reserve 45496 bytes for
> > /home/sky/xfsrestorehousekeepingdir/namreg using F_ALLOCSP64 failed:
> > Inappropriate ioctl for device (25)
> > xfsrestore: NOTE: attempt to reserve 45496 bytes for
> > /home/sky/xfsrestorehousekeepingdir/namreg using F_ALLOCSP64 failed:
> > Inappropriate ioctl for device (25)
> > --------------------------------------------------
> >
> > Don't 'xfsrestore' know about ext2?
> >
> > Second:
> > --------------------------------------------------
> > [root@cfs sky]# xfsrestore -t -f xfs-root.dump
> > xfsrestore: version 3.0 - Running single-threaded
> > xfsrestore: ERROR: Current directory not XFS: /home/sky
> > --------------------------------------------------
> > Abort!!!!
> >
> > Why? I only want get list of files.
> >
> > --
> > s NAILU^[IMI POVELANIQMI, eWGENIJ bYRGANOW.
> > Best regards, Eugene Byrganov.
> > Viele Gruesse, Eugen Byrganow.
> >
> > mailto:E.B.Byrganov@xxxxxxxxxx
> >
> >
>
>
--
Ivan Rayner
ivanr@xxxxxxxxxxxxxxxxx
|