Solved

Bundling instance on Amazon's AWS

Posted on 2011-03-11
1
696 Views
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...
Excluding:
     /sys/kernel/debug
     /sys/kernel/security
     /sys
     /proc
     /dev/pts
     /dev
     /dev
     /media
     /mnt
     /proc
     /sys
     /etc/udev/rules.d/70-persistent-net.rules
     /etc/udev/rules.d/z25_persistent-net.rules
     /tmp/webtoolsami.ami
     /mnt/img-mnt
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?
0
Comment
Question by:static86
1 Comment
 
LVL 33

Accepted Solution

by:
shalomc earned 500 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
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

773 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