Note that there are some explanatory texts on larger screens.

plurals
  1. POTrouble Mounting EBS Volume on EC2
    primarykey
    data
    text
    <p>Good afternoon,</p> <p>I am new to EC2 and have been trying to mount an EBS volume on an EC2 instance. Following the instructions at <a href="https://stackoverflow.com/questions/11535617/add-ebs-to-ubuntu-ec2-instance">this StackOverflow question</a> I did the following:</p> <pre><code>1. Format file system /dev/xvdf (Ubuntu's internal name for this particular device number): sudo mkfs.ext4 /dev/xvdf 2. Mount file system (with update to /etc/fstab so it stays mounted on reboot): sudo mkdir -m 000 /vol echo "/dev/xvdf /vol auto noatime 0 0" | sudo tee -a /etc/fstab sudo mount /vol </code></pre> <p>There now appears to be a folder (or volume) at <code>/vol</code> but it has been (prepopulated?) with a folder entitled <code>lost+found</code>, and does not have the 15GB that I assigned to the EBS volume (it has something much smaller).</p> <p>Any help you could provide would be appreciated. Thanks!</p> <p><strong>UPDATE 1</strong></p> <p>After following the first suggestion (<code>sudo mount /dev/xvdf /vol</code>), here is the output of df:</p> <pre><code>Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 8256952 791440 7046084 11% / udev 294216 8 294208 1% /dev tmpfs 120876 164 120712 1% /run none 5120 0 5120 0% /run/lock none 302188 0 302188 0% /run/shm /dev/xvdf 15481840 169456 14525952 2% /vol </code></pre> <p>This might indicate that I do in fact have the 15GB on <code>/vol</code> . However I still do have that strange <code>lost+found</code> folder in there. Anything I should be worried about?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload