All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: xfs@oss.sgi.com
Subject: Re: Apparently successful xfs_copy gives "-9" returncode
Date: Sat, 9 Apr 2016 18:24:31 -0500	[thread overview]
Message-ID: <57098F2F.4080909@sandeen.net> (raw)
In-Reply-To: <CAK1feJAybrn3SGJK4u4-eNA-bSm68f6Kw2BrxKSQnL9PT8VSAQ@mail.gmail.com>

On 4/9/16 12:55 PM, Richard C wrote:
> 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

# git show v3.1.9
tag v3.1.9
Tagger: Ben Myers <bpm@sgi.com>
Date:   Wed Dec 12 14:51:24 2012 -0600

> $ 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

Something not so ancient behaves as expected here:

# copy/xfs_copy fsfile fsfile2
Creating file fsfile2
 0%  ... 10%  ... 20%  ... 30%  ... 40%  ... 50%  ... 60%  ... 70%  ... 80%  ... 90%  ... 100%

All copies completed.
# echo $?
0

# copy/xfs_copy -V
xfs_copy version 4.5.0

-Eric

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

      reply	other threads:[~2016-04-09 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09 17:55 Apparently successful xfs_copy gives "-9" returncode Richard C
2016-04-09 23:24 ` Eric Sandeen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57098F2F.4080909@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.