Kubernetes installation:修订间差异
创建页面,内容为“= Ubuntu 22.04 = <syntaxhighlight lang="bash"> </syntaxhighlight>” |
|||
第1行: | 第1行: | ||
= Ubuntu 22.04 = | = Ubuntu 22.04 = | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mkfs.xfs /dev/vdb | |||
lsof /var | |||
mkfs.xfs /dev/vdb | |||
mv /var/ /var0 | |||
mkdir /mnt/newvar/ | |||
mount /dev/vdb /mnt/newvar/ | |||
rsync -aqxP /var0/* /mnt/newvar/ | |||
umount /mnt/newvar | |||
mount /dev/vdb /var | |||
vim /etc/fstab | |||
# /dev/vdb / xfs defaults 0 0 | |||
</syntaxhighlight> | </syntaxhighlight> |
2024年4月9日 (二) 07:12的版本
Ubuntu 22.04
mkfs.xfs /dev/vdb
lsof /var
mkfs.xfs /dev/vdb
mv /var/ /var0
mkdir /mnt/newvar/
mount /dev/vdb /mnt/newvar/
rsync -aqxP /var0/* /mnt/newvar/
umount /mnt/newvar
mount /dev/vdb /var
vim /etc/fstab
# /dev/vdb / xfs defaults 0 0