<div>Hi Justin,</div><div><br></div><div>Thanks for your response. Please see my later email; createvolume is not working for me.</div><div><br></div><div>Also note the following error in the page you sent me the link to:</div>
<div><br></div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>This will leave the host instance running with the new volume attached. You can then login to the host instance using:</div>
<div><br></div><div>$ starcluster createvolume 20 us-east-1c</div></blockquote><div><br></div><div>Is there a way around the problem I was having with createvolume? Or should I follow the procedures you list for creating a volume manually?</div>
<div><br>Dan</div><div><br></div><div><br></div><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 12:44 PM, Justin Riley <span dir="ltr"><<a href="mailto:jtriley@mit.edu">jtriley@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Dan,<br>
<br>
The 0.91 version of StarCluster assumes the volumes are partitioned with<br>
a single partition. I know now that it's best *not* to partition the<br>
drives but rather just format the raw disk. Unfortunately for now using<br>
partitioned EBS vols will have to do.<br>
<br>
I'm currently working on updating the code to support both partitioned<br>
and unpartitioned vols along with a slew of other fixes and enhancements<br>
but in the mean time I would recommend using StarCluster's createvolume<br>
command to create, format, and partition a new EBS volume for use with<br>
StarCluster:<br>
<br>
<a href="http://web.mit.edu/stardev/cluster/docs/volumes.html" target="_blank">http://web.mit.edu/stardev/cluster/docs/volumes.html</a><br>
<br>
HTH,<br>
<br>
~Justin<br>
<div class="im"><br>
On 10/27/2010 03:29 PM, Dan Tenenbaum wrote:<br>
</div><div class="im">> Hi all,<br>
><br>
> I created a 30GB EBS volume, formatted it with the ext3 filesystem, and<br>
> detached it.<br>
><br>
> Then I set my cluster config to use this volume.<br>
><br>
> VOLUMES = sharedhome<br>
> ...<br>
> [volume sharedhome]<br>
> VOLUME_ID = vol-70e6f719<br>
> MOUNT_PATH = /home<br>
><br>
> I start my cluster and see the following output:<br>
><br>
>>>> Waiting for cluster to start.../>>> The master node is<br>
> <a href="http://ec2-184-73-92-19.compute-1.amazonaws.com" target="_blank">ec2-184-73-92-19.compute-1.amazonaws.com</a><br>
</div>> <<a href="http://ec2-184-73-92-19.compute-1.amazonaws.com" target="_blank">http://ec2-184-73-92-19.compute-1.amazonaws.com</a>><br>
<div><div></div><div class="h5">>>>> Attaching volume vol-70e6f719 to master node on /dev/sdz ...<br>
><br>
>>>> Setting up the cluster...<br>
>>>> Mounting EBS volume vol-70e6f719 on /home...<br>
> ssh.py:77 - WARNING - specified key does not end in either rsa or dsa,<br>
> trying both<br>
>>>> Using private key /Users/dtenenba/.ec2/bioc-keypair.pem (rsa)<br>
> clustersetup.py:201 - WARNING - Cannot find partition /dev/sdz1 on<br>
> volume vol-70e6f719<br>
> clustersetup.py:203 - WARNING - Not mounting vol-70e6f719 on /home<br>
> clustersetup.py:206 - WARNING - This either means that the volume has<br>
> not beenpartitioned or that the partition specifieddoes not exist on the<br>
> volume<br>
><br>
> I formatted my volume according to these instructions:<br>
> <a href="https://learningspaces.njit.edu/content/how-format-and-mount-ebs-volume" target="_blank">https://learningspaces.njit.edu/content/how-format-and-mount-ebs-volume</a><br>
> Was there something else I need to do? How do I put a named partition<br>
> such as /dev/sdz1 on the volume?<br>
> BTW, I don't want to partition the volume, but I want to use the whole<br>
> thing.<br>
><br>
> I have set up volumes before using this procedure and not run into any<br>
> problems.<br>
><br>
> BTW, after I ssh into the master, and do fdisk /dev/sdz, I see this:<br>
> # fdisk /dev/sdz<br>
> Device contains neither a valid DOS partition table, nor Sun, SGI or OSF<br>
> disklabel<br>
> Building a new DOS disklabel with disk identifier 0x5cde0278.<br>
> Changes will remain in memory only, until you decide to write them.<br>
> After that, of course, the previous content won't be recoverable.<br>
><br>
><br>
> The number of cylinders for this disk is set to 3916.<br>
> There is nothing wrong with that, but this is larger than 1024,<br>
> and could in certain setups cause problems with:<br>
> 1) software that runs at boot time (e.g., old versions of LILO)<br>
> 2) booting and partitioning software from other OSs<br>
> (e.g., DOS FDISK, OS/2 FDISK)<br>
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by<br>
> w(rite)<br>
><br>
> Not sure if that is relevant or not.<br>
><br>
> Please let me know how I am supposed to configure the volume. Thanks<br>
><br>
> Dan<br>
><br>
<br>
</div></div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.16 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAkzIgTsACgkQ4llAkMfDcrmelwCgk7a/KNmr07niWF8Ibh0CZZlR<br>
8qAAn2HfyqvfoAZjYzmn/aIbPAmzElXt<br>
=/o9a<br>
-----END PGP SIGNATURE-----<br>
<div><div></div><div class="h5">_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br>
</div></div></blockquote></div><br>