All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: "Robin H. Johnson" <robbat2@gentoo.org>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: Re: misc: ignore some unusable block devices
Date: Mon, 14 Dec 2015 19:40:57 +0100	[thread overview]
Message-ID: <566F0D39.1010909@dachary.org> (raw)
In-Reply-To: <robbat2-20151214T181759-408594839Z@orbis-terrarum.net>

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]



On 14/12/2015 19:18, Robin H. Johnson wrote:
> On Mon, Dec 14, 2015 at 04:12:16PM +0100, Loic Dachary wrote:
>> Hi Robin,
>>
>> I removed misc: ignore some unusable block devices
>> 9c5eaeccb807d103884f46d174798dd982092696 from the openstack branch
>> because it fails on CentOS 7 with
>> the following. Could you please make a new pull request with it so we
>> can keep testing it there ?
> Will do, but I wonder how you managed to get a return code of 2 from it;
> as that should be device-does-not-exist.

IIRC that happens when blkid fails to retrieve information. I found blkid to be generally faster and less reliable than sgdisk -i 1 /dev/sdd for the purpose of getting partition information. For ceph-disk we chose reliability over speed. That being said I've not investigated the real reason why blkid returns -2.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2015-12-14 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 15:12 misc: ignore some unusable block devices Loic Dachary
2015-12-14 18:18 ` Robin H. Johnson
2015-12-14 18:40   ` Loic Dachary [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=566F0D39.1010909@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=robbat2@gentoo.org \
    /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.