wget -q -O /root/pve_source.tar.gz 'https://bbs.x86pi.cn/file/topic/2023-11-28/file/01ac88d7d2b840cb88c15cb5e19d4305b2.gz' && tar zxvf /root/pve_source.tar.gz && /root/./pve_source
用fdisk -l去确认
fdisk /dev/sda
先分区,输入n(分区) - 输入p(主分区) - 输入w(写入分区)
格式化(格式化为ext4格式)
mkfs -t ext4 /dev/sda1
创建/mnt/sde1目录
mkdir -p /mnt/sda1
将/dev/sda1分区挂载在/mnt/sda1上
mount -t ext4 /dev/sda1 /mnt/sda1
将/mnt/sda1挂载写入到系统启动项
echo /dev/sda1 /mnt/sda1 ext4 defaults 1 2 >> /etc/fstab
标签:存储,ext4,tar,分区,mnt,dev,PVE,sda1,硬盘 From: https://www.cnblogs.com/zbvod/p/18132360