Re: [Nbd] about using dm-cache in nbd
- To: Encore Deng <encoredeng@...1350...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] about using dm-cache in nbd
- From: Alex Bligh <alex@...872...>
- Date: Wed, 5 Jun 2013 17:11:17 +0100
- Message-id: <20218AE0-FB26-4A8E-98DD-72DA3F233648@...872...>
- In-reply-to: <CAAPpYiSThigcP6wdR43MBjEwdkvMrL=qkHoHc-dcqb2OdSV+bw@...18...>
- References: <CAAPpYiSThigcP6wdR43MBjEwdkvMrL=qkHoHc-dcqb2OdSV+bw@...18...>
On 5 Jun 2013, at 15:54, Encore Deng wrote:
> I found if I disconnected the network between nbd-client and nbd-server, the IO in nbd-client will be hung.
Yes, because the client cannot access the server.
> Someone tell me I can try dm-cache for the nbd.
> Does anybody can tell me how to use dm-cache? Is it really useful?
No, because the client still cannot access the server for any uncached blocks.
nbd is not designed to operate when the network is disconnected between client and server.
--
Alex Bligh
Reply to: