tasksel.
2023年10月5日 星期四
2023年9月28日 星期四
Proxmox LV Status NOT available
'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
2023年9月15日 星期五
Shorewall NAT 自動增加 IP
修改 /etc/shorewall/shorewall.conf
ADD_IP_ALIASES=Yes
編輯 /etc/shorewall/nat
10.10.10.10 eth0 192.168.201.1 no no
Proxmox VE 8 LVM 更換硬碟 sda -> sdb
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
2023年9月14日 星期四
Debian 安裝 Glusterfs
#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 ]
2023年9月8日 星期五
Proxmox VE 7,8自訂 NTP server
編輯 /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
2023年8月17日 星期四
USB Host 速度區別 Low Speed, Full Speed , High Speed
USB 1.0 Low Speed: 1.5Mbps
USB 1.1 Full Speed : 12Mbps
USB 2.0 High Speed: 480Mbps