'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
USB 1.0 Low Speed: 1.5Mbps
USB 1.1 Full Speed : 12Mbps
USB 2.0 High Speed: 480Mbps
使用 chrony
編輯 /etc/chrony/chrony.conf 加入
server ntp1.example.com iburst
server ntp2.example.com iburst
server ntp3.example.com iburst
重啟 chrony
systemctl restart chronyd
確認
journalctl --since -1h -u chrony
使用 systemd-timesyncd
編輯 /etc/systemd/timesyncd.conf 加入
[Time]
NTP=ntp1.example.com ntp2.example.com ntp3.example.com ntp4.example.com
使用 ntpdate
ntpdate -b ntp1.example.com