On Sun, Apr 28, 2002 at 10:22:02AM -0600, Alvaro Figueroa wrote:
> I'm running xfsdump -l 0 -F -E -L "blah" -M "blah" - /mnt. It fails
> saying:
>
> xfsdump: ERROR: /mnt/ does not identify a file system
>
> If I run strace to it, I see (stripped output):
>
> open("/etc/mtab", O_RDONLY) = 4
> SYS_63() = 0
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x700
> 1c000
> read(4, "/dev/ide/host0/bus0/target0/lun0"..., 8192) = 344
> brk(0x6c000) = 0x6c000
> read(4, "", 8192) = 0
> close(4) = 0
> munmap(0x7001c000, 8192) = 0
> SYS_139() = 0
> getpid() = 371
> write(2, "xfsdump: ", 9xfsdump: ) = 9
> write(2, "ERROR: ", 7ERROR: ) = 7
> write(2, "/mnt/ does not identify a file s"..., 38/mnt/ does not
> identify a file
> system
> ) = 38
>
OK, so its not a version number problem, its something else, I
can't tell what from the above strace output.
Your best bet will probably be gdb, step through the code till
something goes astray & figure out what/why.
The strace below shows it failing because you've given the device
file as an argument rather than a mount point, which is incorrect.
> So, I try to run it again, but instead of asking it to dump /mnt, I ask
> it to dump /dev/scsi/host0/bus0/target5/lun0/part1. It still fails. I
> get this 2 errors:
>
cheers.
--
Nathan
|