I get a 'Permission Denied' error when configuring my block storage volume to mount automatically -- what gives?
Linode
Linode Staff
Hello! I'm trying to follow this guide but am receiving the following error:
-bash: /dev/disk/by-id/scsi-0Linode_Volume_MyVeryOwnVolume: Permission denied
What's going wrong?
1 Reply
Chris_H
Linode Staff
A great question! If you're getting that error in particular, it means that you've entered a command into the terminal that actually needs to be added to your /etc/fstab
file. No worries though, all you'll need to do is open this file using sudo nano /etc/fstab
and add the following line:
/dev/disk/by-id/scsi-0Linode_Volume_MyVeryOwnVolume /mnt/MyVeryOwnVolume ext4 defaults,noatime 0 2
Once you've done so, your volume should mount automatically at boot.