Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
>From your current state (StandAlone, Attached, Primary), these are your options: 1) Connect the resource and then detach the local volume: drbdadm connect <res> drbdadm detach <res> You cannot detach and disconnect at the same time if the resource is in the Primary role 2) Unmount the resource, change role to Secondary, then detach umount <mountpoint> drbdadm secondary <res> drbdadm detach <res> In the Secondary role, you can disconnect and detach, because the resource's data ist not in use. That would leave the resource in 'Unconfigured' state. br, Robert On 04/22/2016 06:37 AM, Digimer wrote: > If it doesn't work, let me know. I'll be around for another hour or two. > > digimer > > On 22/04/16 12:35 AM, Takeshi Yahagi wrote: >> Hi, Digimer >> >> This is Yahagi(TGI). >> >> Thanks for your advice!! >> >>> Try: >>> >>> drbdadm secondary <res> >>> drbdadm disconnect <res> >>> drbdadm detach <res> >>> >>> Note that, in your post below, it is already disconnected (StandAlone == >> disconnected), so technically you >>> should skip that call. >> Yes. I will try it!! >> >> Thanks !! >> >> -----Original Message----- >> From: Digimer [mailto:lists at alteeve.ca] >> Sent: Friday, April 22, 2016 1:24 PM >> To: Takeshi Yahagi <yahagi at tgi.co.jp>; drbd-user at lists.linbit.com >> Subject: Re: [DRBD-user] How to detach the DRBD Block Device. >> >> Try: >> >> drbdadm secondary <res> >> drbdadm disconnect <res> >> drbdadm detach <res> >> >> Note that, in your post below, it is already disconnected (StandAlone == >> disconnected), so technically you should skip that call. >> >> digimer >> >> [ .. cut .. ]