loader
image/svg+xml
  • Data centers and network
  • Products and services
  • Industries
  • Support
  • News
  • About us

Knowledge Base

Mounting a Volume

Before mounting a volume, create a mount point:

$ sudo mkdir -p /mnt/mount_point_name

Mount the volume:

$ sudo mount -o discard,defaults /dev/vdb /mnt/mount_point_name

Keeping mount point through reboots

You need to add a record into the "fstab" config if you want OS to mount a volume automatically after boot:

$ echo '/dev/vdb /mnt/mount_point_name ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab