Re: [Nbd] (no subject) sync/cache/flush of devices
- To: "Paul Clements" <paul.clements@...124...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] (no subject) sync/cache/flush of devices
- From: "Daniel Schwager" <Daniel.Schwager@...207...>
- Date: Tue, 14 Jul 2009 20:36:20 +0200
- Message-id: <EB31672367A401439CD5A4A10889D57B019891D0@...661...>
- References: <EB31672367A401439CD5A4A10889D57B019891C8@...661...> <4A5CC30E.50101@...124...> <EB31672367A401439CD5A4A10889D57B019891CD@...661...> <4A5CCB55.1030004@...124...>
> - Is there a possibility to sync ONLY my device on client side ?
> Yes, fsync the file descriptor you have opened on the file or device.
Ok - will try it.
Featurerequest: The normal szenario using nbd is over a network -
therefore
a disconnect of the client should fsync the disk before disconnecting
(this
can be done inside nbd-client).
What's you opinion ?
>
> > And KILL the nbd-server after ?
>
> The client disconnect will cause the server to die. If either end of
the
> connection is terminated, the other side will also stop.
NACK - i tried this on a nbd-server running @opensolaris - after
disconnect
the nbd-client@...662..., the nbd-server still runs on solaris. It was not
stopped.
I have to kill it (but is there a cache inside nbd-server - if so,
killing
destroy also my cached data ...)
regards
Danny
Reply to: