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
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:
xfsdump: unable to determinate uuid of fs mounted at /mnt: Invalid
argument
(...)
xfsdump: unable to construct a file system handle for /mnt: Invalid
argument
Stripping a bit from the strace output, one can read:
open("/etc/mtab", O_RDONLY) = 4
brk(0x6c000) = 0x6c000
SYS_63() = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x700
1e000
read(4, "/dev/ide/host0/bus0/target0/lun0"..., 8192) = 344
read(4, "", 8192) = 0
close(4) = 0
munmap(0x7001e000, 8192) = 0
SYS_139() = 0
open("/mnt", O_RDONLY|0x40000) = 4
ioctl(4, 0x405c5864, 0xeffff348) = -1 EINVAL (Invalid argument)
close(4) = 0
getpid() = 254
write(1, "xfsdump: unable to determine uui"..., 74xfsdump: unable to
determine u
uid of fs mounted at /mnt: Invalid argument
(...)
open("/mnt", O_RDONLY|0x40000) = 5
ioctl(5, 0xc01c5868, 0xefffe418) = -1 EINVAL (Invalid argument)
getpid() = 254
write(1, "xfsdump: unable to construct a f"..., 77xfsdump: unable to
construct a
file system handle for /mnt: Invalid argument
) = 77
After running xfsdump, one can read at dmesg:
sys32_ioctl(xfsdump:149): Unknown cmd fd(4) cmd(405c5868) arg(effff348)
sys32_ioctl(xfsdump:149): Unknown cmd fd(5) cmd(c01c5868) arg(efffe418)
I have a blade 100 (sparc64, with an aic7xxx scsi controler) running a 3
day old cvs version.
I hope this helps. If you guys need any other information, please let me
know.
Thanks in advance
--
Alvaro Figueroa
|