当前位置: 技术问答>linux和unix
有人玩过DRBD吗? 我现在不能stop 配好的drbd
来源: 互联网 发布时间:2016-08-16
本文导语: /etc/init.d/drbd stop secondary 节点可以停止, 而primary 节点如下: [root@master data]# /etc/init.d/drbd stop Stopping all DRBD resources: /dev/drbd0: State change failed: (-12) Device is held open by someone Command '/sbin/drbdsetup ...
/etc/init.d/drbd stop
secondary 节点可以停止,
而primary 节点如下:
[root@master data]# /etc/init.d/drbd stop
Stopping all DRBD resources: /dev/drbd0: State change failed: (-12) Device is held open by someone
Command '/sbin/drbdsetup /dev/drbd0 down' terminated with exit code 11
drbdsetup exited with code 11
ERROR: Module drbd is in use
[root@master data]# umount /data/
umount: /data: device is busy
umount: /data: device is busy
[root@master data]# drbdadm secondary db
/dev/drbd0: State change failed: (-12) Device is held open by someone
Command 'drbdsetup /dev/drbd0 secondary' terminated with exit code 11
无法停占primary节点的drbd服务。
有人可以提供帮助不?
secondary 节点可以停止,
而primary 节点如下:
[root@master data]# /etc/init.d/drbd stop
Stopping all DRBD resources: /dev/drbd0: State change failed: (-12) Device is held open by someone
Command '/sbin/drbdsetup /dev/drbd0 down' terminated with exit code 11
drbdsetup exited with code 11
ERROR: Module drbd is in use
[root@master data]# umount /data/
umount: /data: device is busy
umount: /data: device is busy
[root@master data]# drbdadm secondary db
/dev/drbd0: State change failed: (-12) Device is held open by someone
Command 'drbdsetup /dev/drbd0 secondary' terminated with exit code 11
无法停占primary节点的drbd服务。
有人可以提供帮助不?
|
已经提示很清楚了,/dev/drbd0 被其它用户占用。
先按照提示输入 drbdsetup /dev/drbd0 secondary
先按照提示输入 drbdsetup /dev/drbd0 secondary
|
都是高深的东西 我只能来凑凑热闹
|
那就接分吧
|
mark,接分
|
嗯, 那就接分吧!
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。