这是我的 drbd 配置
resource mysql {
protocol C;
floating 10.100.101.1:7788 {
device /dev/drbd0;
disk /dev/VolGroup00/LogVol02;
meta-disk internal;
}
floating 10.100.101.2:7788 {
device /dev/drbd0;
disk /dev/VolGroup01/LogVol02;
meta-disk internal;
}
}
Run Code Online (Sandbox Code Playgroud)
两个节点上 LVM 上的磁盘设置为 50G,我在两个节点上使用 LVM 增加了 +4G(现在总共 54G)
但是当我尝试跑步时
[root@db1 ~]# resize2fs /dev/VolGroup00/LogVol02
resize2fs 1.39 (29-May-2006)
resize2fs: Device or resource busy while trying to open /dev/VolGroup00/LogVol02
Couldn't find valid filesystem superblock.
[root@db1 ~]#
Run Code Online (Sandbox Code Playgroud)
它说我不能。我该怎么办?我应该停止DRBD吗?如果是这样 - 我应该在调整大小和启动 DRBD 后执行其他步骤吗?
谢谢,德米特里
kubectl debug
我正在尝试通过尝试使用在 aws eks 中默认禁用的临时容器来调试 distroless POD 。我正在使用 aws eks 1.21
\xe2\x9c\x97 kubectl debug -it opentelemetry-collector-agent-6hqvf --image=busybox --target=some-app\n\nerror: ephemeral containers are disabled for this cluster (error from server: "the server could not find the requested resource")\n
Run Code Online (Sandbox Code Playgroud)\n那么如何为 EKS 启用它们呢?
\n我是 puppet 的新手,正在尝试创建清单,该清单将请求所有代理更新所有当前安装的 yum 包。
在清单中描述这一点的最佳方式应该是什么?