BuyVM(frantech.ca)加载Storage Volume

购买Storage Volume – 只能用于Las Vegas的VPS

控制面板上先Attach

VPS中加载

# 获得加载的磁盘信息
ls /dev/disk/by-id/
#显示 ata-QEMU_DVD-ROM_QM00004  scsi-0BUYVM_SLAB_VOLUME-2810
# 格式化成ext4
mkfs.ext4 -F /dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-2810

mkdir -p /data
mount -o discard,defaults /dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-2810 /data

# 启动自动加载
echo '/dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-2810 /data ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab

Leave a Reply