From: Roman Alekseev <rs.alekseev@gmail.com>
To: Sage Weil <sage@inktank.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Client can't reboot when rbd volume is mounted.
Date: Mon, 11 Feb 2013 16:24:10 +0400 [thread overview]
Message-ID: <5118E2EA.2050407@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1302102133260.5429@cobra.newdream.net>
On 11.02.2013 09:36, Sage Weil wrote:
> On Mon, 11 Feb 2013, Roman Alekseev wrote:
>> Hi,
>>
>> When I try to reboot a client server without unmounting of rbd volume
>> manually
>> its services stop working but server doesn't reboot completely and show the
>> following logs in KVM console:
>>
>> [235618.0202207] libceph: connect 192.168.0.19:6789 error -101
> That is
>
> #define ENETUNREACH 101 /* Network is unreachable */
>
> Note that that (or any other) socket error is not necessarily fatal; the
> kernel client will retry and eventually connect to that or another OSD
> to complete the IO. Are you observing that the RBD image hangs or
> something?
>
> You can peek at in-flight IO (and other state) with
>
> cat /sys/kernel/debug/ceph/*/osdc
>
> unmount/unmap should not be necessarily in any case unless there is a bug.
> We backported a bunch of stuff to 3.6.6, so 3.6.10 ought to be okay. You
> might try a newer 3.6.x kernel too; I forget if there was a second batch
> of fixes..
>
> sage
Hi Sage,
> #define ENETUNREACH 101 /* Network is unreachable */
The reason of this error is that networking stop working after
performing server reset request.
> Are you observing that the RBD image hangs or something?
the RBD works properly. It is just mapped and mounted on the client server.
# /dev/rbd1 99G 616M 93G 1% /home/test
The "/sys/kernel/debug" folder is empty, how to put 'ceph/*/osdc'
content into it?
I've update kernel to 3.7.4 version but problem is still persist.
Thanks
--
Kind regards,
R. Alekseev
next prev parent reply other threads:[~2013-02-11 12:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 5:25 Client can't reboot when rbd volume is mounted Roman Alekseev
2013-02-11 5:36 ` Sage Weil
2013-02-11 12:24 ` Roman Alekseev [this message]
2013-02-11 13:52 ` Sage Weil
2013-02-12 7:39 ` Roman Alekseev
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=5118E2EA.2050407@gmail.com \
--to=rs.alekseev@gmail.com \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@inktank.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.