xfs
[Top] [All Lists]

Apparently successful xfs_copy gives "-9" returncode

To: xfs@xxxxxxxxxxx
Subject: Apparently successful xfs_copy gives "-9" returncode
From: Richard C <mailing-lists@xxxxxxxxxxx>
Date: Sat, 9 Apr 2016 18:55:36 +0100
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=racitup-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to; bh=kTObtqFSdzp0ezmXLnTlUddK0g8Cs+Ownp8A84L5pN8=; b=xXNQwZIpuWQyAp0ig3XJ6Zj0hQwfZ7wL0FKztxsN5Dy42zytIksrI+5W7hoOkBgh9S C2gMZ/WSUbFfHYkkU6IAGprhqLCcGKtSRaU4Jtxfigs2JAx7nBcLLVAvN/zK52ucr+4u Kl4fbmAafAyJsjiIkQDbWjzC1oAKlQHpWG7zv4FMFaN47A/fNsybMwSPJI/LpOyYoL3b tiazor/JgAHdXlYbjYpoB36VWIgPWSkbSihKYIeGpof1+xXi67qvT4e8qYIB0uq6owhp gPODCk7yUcfc3A7xtGRlcfcCcYygBCFEwUxS5qtFwKenAcACH+gpuWA9jDqZdCVRQKXR 6A6Q==
Sender: rich@xxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>