2019年7月26日

Openstack Swift 如何查找 slave node 挂载的 VD 的 IP

摘要: 1. 在 /etc/swift/container-server.conf 或者 object-server.conf 中的 devices= 一行 可以找到 /srv/node. 在 /srv/node/ 下可发现设备, 如 sdb. 即 /srv/node/sdb 2. 通过命令 cat /et 阅读全文

posted @ 2019-07-26 17:51 liujx2019 阅读(199) 评论(0) 推荐(0) 编辑

Linux 如何通过 iscsi target name 获取 ip

摘要: by Mike Andrews 阅读全文

posted @ 2019-07-26 17:10 liujx2019 阅读(564) 评论(0) 推荐(0) 编辑

Linux 字符串处理函数

摘要: 1 strchr函数原型:extern char *strchr(char *str,char character)参数说明:str为一个字符串的指针,character为一个待查找字符。 所在库名:#include <string.h> 函数功能:从字符串str中寻找字符character第一次出 阅读全文

posted @ 2019-07-26 09:40 liujx2019 阅读(2135) 评论(0) 推荐(0) 编辑

导航