Re: Client can't reboot when rbd volume is mounted.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux