Openstack Swift 如何查找 slave node 挂载的 VD 的 IP
2024-08-30 09:38:46
1. 在 /etc/swift/container-server.conf 或者 object-server.conf 中的 devices= 一行 可以找到 /srv/node.
在 /srv/node/ 下可发现设备, 如 sdb. 即 /srv/node/sdb
2. 通过命令 cat /etc/fstab 可以得到如下信息
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab().
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=2d666d5f-aedf--b51e-4296661b07d2 / ext4 errors=remount-ro
# swap was on /dev/sda5 during installation
UUID=aa7c8c0e-46ba-44c5-b11e-ab384d6669d1 none swap sw
/dev/disk/by-path/ip-10.666.1.666:-iscsi-iqn.-.com.:storage.-dg.-lun- /srv/node/sdb ext4 _netdev
即可得到 ip。
最新文章
- button
- nyoj 236拦截导弹 简单动归(java)
- mfc 可编辑 list control
- win7下安装MYSQL报错:";MYSQL 服务无法启动";的3534问题
- 康乐不风流之爱解题的pde灌水王张祖锦
- Create XHR
- Qt5+VS2013兼容XP方法
- 2、微信小程序之弹幕的实现(无后台)
- jQuery的学习笔记2
- C++中的inline用法
- 数据库-mysql语句-查-WEB服务器
- canvas的认识,时钟的设置
- BZOJ2547 CTSC2002玩具兵(最短路径+二分答案+最大流)
- Windows Git 服务器 客户端 Delphi Git配置
- 《Beginning Java 7》 - 6 - 深入理解 String
- Simple, Poetic, Pithy
- php图像处理函数imagecopyresampled
- 用Fiddler或Charles进行mock数据搭建测试环境
- JavaScript的slice()
- 怎样推断server为虚拟机还是物理真机?
热门文章
- A 修公路
- Codeforces Round #623 (Div. 2, based on VK Cup 2019-2020 - Elimination Round, Engine)
- # CodeCraft-20 (Div. 2)
- codeforces 1038a(找最长的前k个字母出现相同次数的字符串)
- 关于 Vue 中 我对中央事线管理器的(enentBus)误解
- python:简单爬取自己的一篇博客文章
- 如何将 .NetFramework WebApi 按业务拆分成多个模块
- Linux基础:Day02
- Shell:Day03笔记
- 【linux】阿里云防火墙相关