Initialize New Volume in Linux Server
This document provides step-by-step instructions to identify, format, and mount a newly attached disk on a NeevCloud Linux Server.
Last updated
sudo fdisk /dev/vdcn → Create a new partition
p → Choose primary partition
1 → Partition number 1
<Enter> → Default first sector
<Enter> → Default last sector (use full size)
w → Write changes and exitsudo mkfs.ext4 /dev/vdc1sudo mkdir /mnt/datasudo mount /dev/vdc1 /mnt/datadf -h/dev/vdc1 99G 60M 94G 1% /mnt/datasudo nano /etc/fstab/dev/vdc1 /mnt/data ext4 defaults 0 0sudo mount -a