Quantcast
Channel: Coding –
Viewing all articles
Browse latest Browse all 20

Mount: Can’t Find /dev/xvdg in /etc/fstab or /etc/mtab

$
0
0

os: Ubuntu / Linux
terminal: SSH

mount: can’t find /dev/xvdg in /etc/fstab or /etc/mtab

The above is the exact response that my terminal in Ubuntu gave me when trying to send the command:

sudo mount /dev/xvdg

For anybody knowing anything about the mount command in ubuntu, one must not only specify the device they would like to mount to the system, they must also specify the name to give the drive once it’s mounted.

So, the proper command would have been:

sudo mount /dev/xvdg /folder_name_here

 

A few tips that might help you in this process:

To view attached volumes: sudo fdisk -l

To view mounted partitions: sudo df -h

To view a list of folders: sudo ls -la /


Viewing all articles
Browse latest Browse all 20

Trending Articles