更新docker

This commit is contained in:
2024-01-14 22:55:02 +08:00
parent 77859f4a53
commit 78612e55a7
4 changed files with 109 additions and 4 deletions

View File

@ -89,6 +89,27 @@ mkfs.ext3 /dev/sdb
格式化分区为XFS
使用mkfs.xfs命令。如果已有其他文件系统创建在此分区必须加上"-f"参数来覆盖它。
```
sudo mkfs.xfs -f /dev/sdb1
```
挂载 xfs
```
sudo mount -t xfs /dev/sdb1 /mnt
/dev/sdb1 /storage xfs defaults 0 0
```
挂载分区
编辑文件