-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everybody,
today I've stumbled over some very astonishing problem:
When trying to copy a clean xfs-filesystem with xfs_copy, everything seems
fine until 100% - even until "All copies completed." is announced...
But then I get the following line: "Killed".
$? is 137.
/var/tmp/xfs_copy.log.* is empty.
There ist no difference if the destination is another partition or a file,
as long as the filesystem in question is small enough, the copy is even
readable, there's no special line in the logs:
> XFS mounting filesystem $part
> Ending clean XFS mount for filesystem: $part
But one of my filesystems to backup was about 17GB in size, filled at about
the halve:
same phenomenon, but mount failed afterwards, xfs_repair reported severe
corruptions.
(Logs of xfs_repair are to be reproduced, I'll send them once requested.)
Problem is reproducable with following Distros:
SuSEv9.1:
- - kernel-default-2.6.5-7.111.i586
- - xfsprogs-2.6.3-29.i586
Gentoo:
- - kernel: 2.6.9-gentoo-r6
- - xfsprogs-2.6.13
Debian-SID:
- - kernel-source-2.6.8_2.6.8-8
- - xfsprogs_2.6.20-1_i386
Is this murder on purpose, or is xfs_copy incompatible with Linux2.6?
Can anybody imagine, why the imaging of the 17G-filesystem went wrong?
Thanks for your help in advance,
I'll provide further information as soon as requested,
Henning Rohde
PS: strace'ing on Gentoo: strace -o $file -ff /bin/xfs_copy
# tail -20 /tmp/xfs_copy.strace
> read(4, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(5, 201326592, [201326592], SEEK_SET) = 0
> write(5, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(4, 134217728, [134217728], SEEK_SET) = 0
> read(4, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(5, 134217728, [134217728], SEEK_SET) = 0
> write(5, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(4, 67108864, [67108864], SEEK_SET) = 0
> read(4, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(5, 67108864, [67108864], SEEK_SET) = 0
> write(5, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(4, 0, [0], SEEK_SET) = 0
> read(4, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> _llseek(5, 0, [0], SEEK_SET) = 0
> write(5, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> write(1, " ... 100%\n\n", 11) = 11
> write(1, "All copies completed.\n", 22) = 22
> tgkill(10588, 10589, SIGKILL) = 0
> futex(0x808a024, FUTEX_WAKE, 1) = 0
> +++ killed by SIGKILL +++
# tail -25 /tmp/xfs_copy.strace.10589
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, "IN\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
299008) = 299008
> futex(0x8088764, FUTEX_WAKE, 1) = 0
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> _llseek(5, 469762048, [469762048], SEEK_SET) = 0
> write(5, "XFSB\0\0\20\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, "ABTB\0\0\0\1\377\377\377\377\377\377\377\377\0\0\27X\0"...,
4096000) = 4096000
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, "t termios *sg;\nint sysv;\n{\n i"..., 4096000) = 4096000
> futex(0x8088764, FUTEX_WAKE, 1) = 1
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, " system_bus_clock() / 1000 + 1, "..., 4096000) = 4096000
> futex(0x8088764, FUTEX_WAKE, 1) = 1
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, "set\n# CONFIG_SOUND_MAESTRO3 is n"..., 4096000) = 4096000
> futex(0x8088764, FUTEX_WAKE, 1) = 1
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, "#ifndef _ASM_M32R_POLL_H\n#define"..., 4096000) = 4096000
> futex(0x8088764, FUTEX_WAKE, 1) = 1
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = 0
> write(5, ";\n\nstatic int patch_ad1888_speci"..., 3993600) = 3993600
> futex(0x8088764, FUTEX_WAKE, 1) = 1
> futex(0x808a024, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call)
> +++ killed by SIGKILL +++
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBq6wauI8iUC+SACIRAucZAJ9fiN9Egk2/8GZsREqerIuRmEMsbACgl+zF
AstvtB5vQn12u4C3ru0QYhE=
=SOOp
-----END PGP SIGNATURE-----
|