public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Apparently successful xfs_copy gives "-9" returncode
@ 2016-04-09 17:55 Richard C
  2016-04-09 23:24 ` Eric Sandeen
  0 siblings, 1 reply; 2+ messages in thread
From: Richard C @ 2016-04-09 17:55 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 626 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 869 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-09 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09 17:55 Apparently successful xfs_copy gives "-9" returncode Richard C
2016-04-09 23:24 ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox