Bundling instance on Amazon's AWS

Posted on 2011-03-11
Medium Priority
Last Modified: 2014-11-12
I don't know why I cannot bundle an instance. It just does not work no matter how I do it. I was trying to do it through terminal. I have downloaded private key, certificate and uploaded it. But following command
root@ip-10-56-59-94:/mnt/bundle# ec2-bundle-vol -p somenameforami.ami -k pk-KKUT6ZMH.pem  -c cert-V3R4C2H.pem  -u 2157

gives me:

Please specify a value for arch [i386]: i386
Copying / into the image file /tmp/webtoolsami.ami...
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00180234 s, 582 MB/s
mkfs.ext3: option requires an argument -- 'L'
Usage: mkfs.ext3 [-c|-l filename] [-b block-size] [-f fragment-size]
    [-i bytes-per-inode] [-I inode-size] [-J journal-options]
    [-G meta group size] [-N number-of-inodes]
    [-m reserved-blocks-percentage] [-o creator-os]
    [-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
    [-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
    [-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
ERROR: execution failed: "mkfs.ext3 -F /tmp/webtoolsami.ami -U 45b21cd2-15e2-40a3-b635-dee4c141542e -L "

Any ideas why?
Question by:static86
1 Comment
LVL 33

Accepted Solution

shalomc earned 2000 total points
ID: 35118140
try running it from a different dir, not from /mnt
place all of the EC2 commands in a different dir out of /mnt

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Media Temple is thrilled to announce the launch of our new Partner Program, specifically designed to empower digital agencies and adtech platforms by offering white-glove support and exclusive hosting enhancements to optimize their sites and their c…
The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question