0
votes
1answer
67 views

Allowing apache to access multiple volumes under AWS

I've added another volume to my EC2 instance (mounted as /dev/xvdf), and I need to be able to place files on that volume and be able to retrieve them via the /var/www/ directory. How can I accomplish ...
0
votes
0answers
45 views

Accidentally mounted / in two places. How do I fix this? (And how do I mount it correctly to the device I want?)

I'm using a test Amazon EC2 server with a small (~10GB) disk at /dev/xvda1. I also have a block device (~500GB) attached at /dev/xvdb. I want to use the larger device (/dev/xvda1) for everything so ...
0
votes
0answers
539 views

Cant mount GlusterFS volume on EC2 client

After a few days of trial and error I have successfully created my gluster volume on an EC2 instance (a single one at the moment) and it is successfully started… [root@domU-12-31-39-10-26-7E ...
1
vote
2answers
748 views

EC2 - Want to mount before service starts

I am using AWS EC2, and I have added an extra EBS volume. It is currently mounted as a new device. MySQL & Redis DB stores their data on the new EBS volume, and they are registered in the ...
0
votes
1answer
54 views

Attaching many volumes to an EC2 instance

I've got an EC2 instance running Ubuntu and want to attach some 50-60 EBS volumes to it. However, the EC2 console says I can use only /dev/sdf through /dev/sdp, so I'm limited to 11 volumes. Is there ...
4
votes
3answers
383 views

Move /var directories to to /mnt on an EC2 instance

I am trying to work on a standard configuration for a set of EC2 instances running ubuntu 12.04. These servers are going to be primarily web servers for a Ruby on Rails application. When you configure ...
0
votes
2answers
437 views

How to make s3fs work with IAM roles?

We are using IAM roles to maintain the machines. We now planning to mount the s3 to our ec2 instances and do the processing as per our need. We been using s3fs tool for mounting. But that doesn't ...
0
votes
1answer
80 views

Installing Windows Server 2012 Preview on an Amazon EC2 instance

Is there any way of doing a clean install on an Amazon EC2 instance. I have the bootable installation media stored in an EBS volume. How can I boot from that volume? And do I have to use an automated ...
5
votes
2answers
3k views

How to use “Instance Store Volumes” storage in Amazon EC2?

According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided. While creating it does show in Storage Device ...
5
votes
1answer
454 views

Cannot create a EC2 server root volume greater than 8 GB

I am trying to create an EC2 large instance. AWS claims to say I shall get 850 GB instance storage if I go for Large Instance. I configure the VM to have the Root Volume size of 100 GB. But, when I ...
-1
votes
1answer
53 views

EBS full device confusion

I have a 500GB EBS device (/dev/xvdf) mounted to /vol and all data on the box seems to be writing to /vol correctly (see du output below). For some reason /dev/xvda1 is totally full. Any idea what's ...
0
votes
1answer
627 views

Can't mount after EBS snapshot and restore on Ubuntu 12.04

I'm trying to backup and restore an EBS volume on EC2. So this is what I'm doing: ec2-create-snapshot <ebs volume> -d <snapshot name> ec2-create-volume --snapshot <snapshot code> -z ...
0
votes
2answers
64 views

Mount a volume within a mounted volume

I am setting up a new Linux Ubuntu server on Amazon EC2 and wanted to create a few extra volumes, to be mounted without execute permissions. /tmp for temporary files /var so that log files and mysql ...
4
votes
1answer
627 views

why does and EBS volumes mounted in an Ubuntu 12.04 EC2 instance as /dev/sdh1 appear as /dev/xvdh1?

When mounting an EBS volume on ubuntu specified as /dev/sdh1 it actually mounts it at /dev/xvdh1. The aws console still thinks it's mounted at /dev/sdh1 so it took a while to realize that it was ...
4
votes
1answer
600 views

Create directory before binding via /etc/fstab

I have this line in my /etc/fstab: /mnt/tmp /tmp none bind,nobootwait On EC2 however, /mnt may be lost during restarts causing the mount to fail due to non existent /mnt/tmp. So is there a ...
8
votes
1answer
1k views

NFS (with Kerberos) mount failing due to “Server not found in Kerberos database” error

When running: sudo mount -t nfs4 -o sec=krb5 sol.domain.com:/ /mnt I get this error on the client: mount.nfs4: access denied by server while mounting sol.domain.com:/ And on the server syslogs I ...
2
votes
2answers
3k views

mkfs refuses to format device in the claim it's mounted when actually it is not

This is the problem: root@ip-10-126-247-82:~# mkfs.ext4 /dev/xvda3 mke2fs 1.41.14 (22-Dec-2010) /dev/xvda3 is mounted; will not make a filesystem here! And this is the debugging: ...
0
votes
1answer
433 views

Mounting cron configuration files - is it possible?

I'm running a few CentOS servers on EC2. We're working to run them all from one image and mount all the variant configuration files from persistent storage. We just started mounting cron ...
0
votes
2answers
280 views

How to install Tomcat to a nonstandard directory in Linux

Hey all -- apologies if this is a n00b question, I am a super n00b at Linux administration. So, I'm on Amazon EC2, using Amazon Linux, which I believe is Redhat-derived. I have an EBS volume mounted ...
0
votes
2answers
719 views

Amazon mount EBS

I'm trying to mount /vol to a EBS volume on an Amazon EC2 instance. I'm formatting the device to xfs, adding "/dev/sdh /vol xfs noatime 0 0" to my /etc/fstab file, making the /vol dir and mounting it ...