Amazon-Web-Services – Unable to install EBS volumes on EC2

Good afternoon,

I am new to EC2 and have been trying to install EBS volumes on EC2 instances. Following the instructions in this StackOverflow question, I Do the following:

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< br /> echo "/dev/xvdf /vol auto noatime 0 0" | sudo tee -a /etc/fstab
sudo mount /vol

There seems to be a /vol folder (or Volume), but it already (pre-filled?) has a folder called lost found, and does not have the 15GB I allocated to the EBS volume (it has something smaller).

You can provide Any help would be greatly appreciated. Thanks!

Update 1

After following the first suggestion (sudo mount /dev/xvdf/vol), here is the output of df:

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

This may indicate that I do own 15GB/vol. But I still have that weird missing to find the folder there. What should I worry about?

There is nothing wrong with your /vol. Install as shown in the output of df.

The file system uses the missing found directory to recover damaged files (fsck stores recovered files), so you can see that it is normal.

The small size problem may involve kibibytes:

p>

1 kibibyte = 2^10 = 1024 bytes
16G = 14.9Gib

Good afternoon,

I am new to EC2 and have been trying to install EBS volumes on EC2 instances. Following the instructions in this StackOverflow question, I did the following:

< pre>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

Now there seems to be a folder (or volume) of /vol, but it is already (pre-filled?) There is a file called lost found Folder, and does not have the 15GB that I allocated to the EBS volume (it has something smaller).

Any help you can provide will be greatly appreciated. Thank you!

Update 1

After following the first suggestion (sudo mount /dev/xvdf/vol), here is the output of df:

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

This may indicate that I do own 15GB/vol. But I still have that weird missing to find the folder there. What should I worry about?

There is nothing wrong with your /vol. Install as shown in the df output.

The file system uses the missing find directory to Recover damaged files (fsck stores recovered files), so you can see that it is normal.

The small size problem may involve kibibytes:

 1 kibibyte = 2^10 = 1024 bytes
16G = 14.9Gib

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1889 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.