Apparently successful xfs_copy gives "-9" returncode

Richard C mailing-lists at racitup.com
Sat Apr 9 12:55:36 CDT 2016


Hi all,

I'm writing a script that helps with hard disk cloning and am running into
a problem whereby xfs_copy is returning -9 when there is nothing in the log
and no indication on stdout or stderr, example below.

I've had a search and couldn't find anything mentioned. Can anyone shed any
light, maybe which version I should try if you suspect this has already
been fixed?
Dist: Ubuntu Trusty
xfsprogs: 3.1.9

$ losetup /dev/loop2 ./disk.img
$ xfs_copy /dev/loop1p6 /dev/loop2
 0%  ... 10%  ... 20%  ... 30%  ... 40%  ... 50%  ... 60%  ... 70%  ... 80%
 ... 90%  ... 100%
All copies completed.
$ echo $?
-9

Cheers,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20160409/123f9c16/attachment.html>


More information about the xfs mailing list