Re: [Nbd] reboot or shutdown take long time when nbd exported still mount on the client
- To: rizka ashar <deq.adit@...17...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] reboot or shutdown take long time when nbd exported still mount on the client
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 6 Apr 2011 22:37:32 +0200
- Message-id: <20110406203732.GT3733@...510...>
- In-reply-to: <AANLkTim2bycZR1qTEE_KoWus8=9n2CUc+4re6M2O5aTB@...18...>
- References: <AANLkTim2bycZR1qTEE_KoWus8=9n2CUc+4re6M2O5aTB@...18...>
On Thu, Mar 31, 2011 at 09:37:06AM +0700, rizka ashar wrote:
> Hello all, i have some question
>
> suppose client has already export some block from server, and its still
> mounted,
> when i tried to reboot or shutdown machine, it take long time and some time
> need force power off
You don't give a lot of information, but my guess is that this is
because the network is shut down before the nbd device is unmounted.
It's fairly easy to fix that: add '_netdev' to the options field in
/etc/fstab for the nbd devices you're mounting.
If you're mounting them manually, there's not much you can do about that
then, except adding an initscript or some such.
--
The volume of a pizza of thickness a and radius z can be described by
the following formula:
pi zz a
Reply to: