On 21/04/16 10:15 PM, Takeshi Yahagi wrote:
> Hi.
> 
> This is Yahagi(TGI).
> 
> I use DRBD v8.3.15, now.
> 
> I want to detach the DRBD lower device.
> 
> But, command 
>   "drbdadm disconnect <DRBD device>
>    drbdadm detach <DRBD device>"
> is not success.
> 
> Error Message from the command "drbdadm detach" is below
> 0: State change failed: (-2) Need access to UpToDate data
> Command 'drbdsetup 0 detach' terminated with exit code 17
> 
> I want to know the completed command sequence for detach the block device.
> 
> Regards,
> ----
> Yahagi(TGI)
> ----

Can you paste the output of 'cat /proc/drbd' from the machine you are
trying to detach? If the peer is not UpToDate and Primary, then it needs
the local machine to run. (Just a guess, /proc/drbd will give better
indication).

madi

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to