I created an EC2 amazon instance (ubuntu) and created a volume from an available snapshot. The volume has been successfully attached to my instance as /dev/sdf
.
I executed the following command: performed: mkdir /space
When I try to execute the following command:
sudo mount /dev/sdf1 /space
I get this message:
mount: special device /dev/sdf1
does not exist
How can I solve this issue ?
Try mounting the device "/dev/sdf" instead of "/dev/sdf1".
If that still doesn't work, try mounting it as "/dev/xvdf" or "/dev/xvda1", e.g.:
sudo mount /dev/xvda1 /space
The explanation for this name mismatch can be found in the "Attach Volume" dialog of the EC2 management screen:
Note: Newer linux kernels may rename your devices to /dev/xvdf through /dev/xvdp internally, even when the device name entered here (and shown in the details) is /dev/sdf through /dev/sdp.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With