[StarCluster] createvolume mkfs problem and work-around

Robert Yu robert.yu at aditazz.com
Mon Mar 5 18:28:11 EST 2012


Hi,

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
instance:

% mkfs.ext3 /dev/xvdf

-Robert

------

>>> 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


More information about the StarCluster mailing list