我同步我的新磁盘,输出drbdtop
:
Resource: myres: (Overall danger score: 14)
Local Disc(Primary):
volume 0 (/dev/drbd0): UpToDate(normal disk state)
volume 1 (/dev/drbd1): UpToDate(normal disk state)
volume 2 (/dev/drbd2): Inconsistent(data is not accessible or usable until resync is complete)
Connection to zfs.user.osdc2(Secondary): Connected(connected to zfs.user.osdc2)
volume 0:
UpToDate(normal disk state)
volume 1:
UpToDate(normal disk state)
volume 2:
Replication:SyncTarget(local volume is being synchronized with data from zfs.user.osdc2) 95.6% remaining UpToDate(normal disk state)
cat /proc/drbd
但是关于我的资源没有输出。仅有的:
version: 9.0.9-1 (api:2/proto:86-112)
GIT-hash: f7b979e7af01813e031aac579140237640c94569 build by mockbuild@, 2017-09-14 17:45:45
Transports (api:16): tcp (9.0.9-1)
为什么没有输出?我应该如何解决这个问题?
/proc/drbd 文件已在 DRBD 9.x 版本中删除。您应该改为使用
drbdadm status
来获取 DRBD 资源的当前状态。如果你真的坚持旧的 /proc/drbd 输出,你现在可以在 sysfs 中找到它。请注意,这仅适用于每个连接。它位于: