Reboot
reboot
# or
shutdown --reboot now
Code language: Bash (bash)
Volume Mount
mount -a
Code language: Bash (bash)
See All Disks
fdisk -l
Code language: Bash (bash)
See Usage
df -h -x tmpfs -x devtmpfs
Code language: Bash (bash)
See Usage by Directory
du -h --max-depth=1 /var | sort -rh | head -10
Code language: Bash (bash)
Mount your volume at the newly-created mount point
mount -o discard,defaults,noatime /dev/disk/by-id/scsi-0DO_Volume_revisionary <strong>/root/revisionary/backend/src/cache</strong>
Code language: Bash (bash)
Change fstab so the volume will be mounted after a reboot
echo '/dev/disk/by-id/scsi-0DO_Volume_revisionary /root/revisionary/backend/src/cache ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
Code language: Bash (bash)
Verify
findmnt --verify --verbose
Code language: Bash (bash)
Leave a Reply