'pve/data' failed: Activation of logical volume pve/data is prohibited while logical volume pve/data_tdata is active.
lvchange -an pve/data_tdata
lvchange -an pve/data_tmeta
lvchange -ay pve/data
'pve/data' failed: Activation of logical volume pve/data is prohibited while logical volume pve/data_tdata is active.
lvchange -an pve/data_tdata
lvchange -an pve/data_tmeta
lvchange -ay pve/data
修改 /etc/shorewall/shorewall.conf
ADD_IP_ALIASES=Yes
編輯 /etc/shorewall/nat
10.10.10.10 eth0 192.168.201.1 no no
sgdisk --replicate=/dev/新硬碟 /dev/正常硬碟
sgdisk --randomize-guids /dev/新硬碟
proxmox-boot-tool format /dev/sdb2
proxmox-boot-tool init /dev/sdb2
proxmox-boot-tool refresh
pvcreate /dev/sdb3
vgextend pve /dev/sdb3
pvmove /dev/sda3 /dev/sdb3
vgreduce pve /dev/sda3
#glusterfs=11 / 10 / 9 / 8 / 7
#debian=bookworm / bullseye / buster / stretch
glusterfs=11
debian=bookworm
wget -O - https://download.gluster.org/pub/gluster/glusterfs/${glusterfs}/rsa.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/gluster.gpg
wget -O - https://download.gluster.org/pub/gluster/glusterfs/${glusterfs}/rsa.pub | apt-key add -
echo deb [arch=amd64] https://download.gluster.org/pub/gluster/glusterfs/${glusterfs}/LATEST/Debian/${debian}/amd64/apt ${debian} main > /etc/apt/sources.list.d/gluster.list
apt-get update
apt-get install [ glusterfs-server | glusterfs-client ]
編輯 /etc/chrony/chrony.conf 加入
server ntp1.example.com iburst
server ntp2.example.com iburst
server ntp3.example.com iburst
systemctl restart chronyd
查詢狀態
systemctl status chronyd