On Sun, 16 Sep 2001, Ethan Benson wrote:
> i don't have a tape drive so a regular file is the only option, this
> works fine with ext2 dump and as far as i can tell from the docs it
> should work with xfsdump as well.
> > One thing though ... is "/path/name" actually "/dev/tape" or some other
> > "/dev" device? xfsdump does a little sanity check on the path, and it
> > expects to see "/dev/".
> that is not possible, unless i do something hideous like create
> symlinks in /dev to the regular files in /local. i shouldn't have to
> do that.
Unfortunately, as it stands, xfsdump will not write to an arbitrary,
remote file -- it must be in /dev. I'm not sure of the reason for this,
but you can work around the problem fairly easily, eg:
xfsdump -f - /home | rsh socrates.local.lan -l dump dd
or another example, this time from socrates:
rsh othermachine "xfsdump -f - /home" >
If you'd rather fix the source, check cmd/xfsdump/librmt/rmtopen.c line