hexo博客搭建
b3108e141a93b2a9402f45b0b652fee4098bffcba82e731a3d52f051e700c50f521f872cccc8a9bb1eb0fe4301b59003538e5f466c7d5e7e2b6fb0e396dc993e905179bf8a76c117a1ed4aed21777604cdcd7531012d9a5da9b60dac69a22d6bed03dd672f19ae9233fade6d4438ce00819b5ca8344d7538a424662d808493536cfab5bfe0828af8cb4b1b62129c9c2c8ed710a8beced2a55386ec1168a65bbacc2393697557d2cdbc4201212f281609124aa38f4448169004eae3057de0bd98c2cd0ef15e001fe478f045fad8fae4e9dc4a91f8cbbdfcd79e8d4f31818073e25476d2c1b2f50b50306090677ffd3226285092b1a027fc358 ...
ceph与openstack-yoga集成globals新增配置尝试文档
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a25cbcde18b62dbe8310f32310a56141700ec1fdeeffd3d645ab199e3ad626cc07cb935b451a993d86f7 ...
kolla kolla-ansible源码部署并使用kolla-ansible部署单机版openstack
kolla kolla-ansible私有化部署参考https://www.jianshu.com/p/5d58f6f9e2c7https://www.cnblogs.com/jinyuanliu/p/11056775.html ( 主要参考 )https://fuscoyu.github.io/2022/01/21/%E6%9E%84%E5%BB%BAkolla-images/ (kolla构建openstack镜像)
环境12345678910root@ceph-3:~# hostnamectl Static hostname: ceph-3 Icon name: computer-vm Chassis: vm Machine ID: 5aded787c9c2487896e5b25dcfa8f871 Boot ID: 6793c80dfa1b46e584f93ef269858343 Virtualization: vmware Operating System: Ubuntu 20.04.3 ...
ceph与openstack-yoga集成
b3108e141a93b2a9402f45b0b652fee4098bffcba82e731a3d52f051e700c50f521f872cccc8a9bb1eb0fe4301b59003538e5f466c7d5e7e2b6fb0e396dc993e905179bf8a76c117a1ed4aed21777604cdcd7531012d9a5da9b60dac69a22d6bed03dd672f19ae9233fade6d4438ce00819b5ca8344d7538a424662d808493536cfab5bfe0828af8cb4b1b62129c9c2c8ed710a8beced2a55386ec1168a65bbacc2393697557d2cdbc4201212f281609124aa38f4448169004eae3057de0bd98c2cd0ef15e001fe478f045fad8fae4e93700069ab7187cfb7f6b362db4e224f30a0a28114d594d0dccc3ad52d4611f2d4ebf28d59c5281b5a ...
all-in-one环境部署openstack-yoga版
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a25e14e7619f615e09ac679aef0fb1415b90d5be8ab30206d0492f85f384f82b0f15bf62c5a1147f3abf ...
swap扩容
对swap扩容
一. 方法1概览:
扩容swap SWAP不够的情况临时扩容
1、建立一个新的swap文件。dd if=/dev/zero of=/opt/swap_tmp.swap bs=1M count=102402、格式化为swap文件mkswap /opt/swap_tmp.swap3、修改权限chmod 0600 /opt/swap_tmp.swap4、挂载扩容swapon /opt/swap_tmp.swap5、查看是否扩容成功free -m
推荐使用此种方式:
1.建立一个新的swap文件1234# 新建dd文件 10240 为10G 此处我们dd一个1G的文件count=10240 (10G)count=1024 (1G)dd if=/dev/zero of=/opt/swap_tmp.swap bs=1M count=1024
2. 格式化为swap文件 修改文件权限 挂载 卸载 扩容12345678910# 格式化为swap文件mkswap /opt/swap_tmp.swap# 修改权限chmod 0600 /opt/swap_tmp.swap# 挂载扩容 ...
lvm卷创建 挂载 扩容 vg pv lv管理
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a25c56c755fc28881ae3740de58ee3046c17c38a0a0127bd50fda17109da8842031c53d193e795e56eee ...
openvpn构建
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a253e7d400dc6c0d753887bca9cdb68f90f8616cfcdfc793483677b5949032b91522806bf879d878714a ...
dmsetup wipefs mkfs.ext4命令
dmsetup wipefs mkfs.ext4命令详情12345678910# 查看占用的磁盘 解除未在使用的所有磁盘的占用dmsetup status dmsetup remove_all# 解除指定占用dmsetup remove ceph--6e3ff135--e8ab--46a3--a29d--02fadcadf9a4-osd--block--dfe8408e--104a--4c03--b225--eeea2c50fe06# 格式化磁盘 (清空数据)mkfs.ext4 /dev/sdb 或 mkfs -t ext4 /dev/sdbmkfs.xfs /dev/sdb# 清空磁盘后添加osd (清空磁盘只是清除磁盘上的文件系统并不会清空数据)wipefs -a /dev/sdb
growpart与pvresize磁盘热扩容
growpart与pvresize磁盘热扩容(分区扩容只能给最后一个分区执行扩容)注:此种属于非lvm整盘扩容 和 分区扩容 ( 非lvm分区扩容中分区扩容,只能扩最后一个分区,不能扩前面以及中间的分区
参考:
https://blog.csdn.net/qq_34980668/article/details/119541957
一. 分区扩容背景云硬盘从20G扩容到40G(这里只是扩容了云硬空间大小,并不是扩容了分区)
如何扩容/data目录到40G?
二. 操作步骤扩容/data目录步骤如下
(1).查看vdb云盘大小为40G,挂载到目录/data为20G原因文件系统没有刷新 热扩容没有执行123# 查看磁盘 / 查看文件系统lsblkdf -Th
(2).使用growpart工具扩容分区vdb1 (有分区的情况只能给最后一个分区扩容)12# 给云盘vdb的最后一个分区扩容1为最后一个分区的分区号growpart /dev/vdb 1
(3).刷新到文件系统(通过df -Th查看文件系统类型以及分区号执行刷新)12345# 检查分区信息e2fsck -f /dev ...