Bundling instance on Amazon's AWS

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?
static86Asked:
Who is Participating?
 
shalomcConnect With a Mentor CTOCommented:
try running it from a different dir, not from /mnt
place all of the EC2 commands in a different dir out of /mnt
0
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.

All Courses

From novice to tech pro — start learning today.