createvolume mkfs problem and work-around
This archive was generated by
This is probably a known problem. When I use "starcluster
createvolume" using an ubuntu 11.10 based ami, it fails during the
mkfs command. The workaround is to manually attach the volume to some
instance to, say /dev/sdf, and then run this command as root on that
% mkfs.ext3 /dev/xvdf
>>> Waiting for cluster to come up took 1.415 mins
>>> Checking for required remote commands...
>>> Creating 100GB volume in zone us-west-1a
>>> New volume id: vol-f0ea3792
>>> Waiting for new volume to become 'available'...
>>> Attaching volume vol-f0ea3792 to instance i-3b6d657c...
>>> Formatting volume...
mke2fs 1.41.14 (22-Dec-2010)
mkfs.ext3: No such file or directory while trying to determine filesystem size
!!! ERROR - command 'mkfs.ext3 -F /dev/sdz' failed with status 1
>>> Leaving volume vol-f0ea3792 attached to instance i-3b6d657c
>>> Terminating host instance i-3b6d657c
>>> Terminating node: volhost-us-west-1a (i-3b6d657c)
>>> No active volume hosts found. Run 'starcluster terminate volumecreator' to remove the 'volumecreator' group
>>> Your new 100GB volume vol-f0ea3792 has been created successfully
>>> Creating volume took 1.787 mins
Robert Yu, Member Technical Staff
www.aditazz.com | robert.yu_at_aditazz.com
1111 Bayhill Drive Suite 260 | San Bruno | CA 94066
510.459.0216 | cell
650.627.7357 | 650.492.7000 x1008 | work
650.684.1149 | fax
Received on Mon Mar 05 2012 - 18:28:41 EST