Hi Justin,<div>I formatted the volume according to your instructions below and everything worked.</div><div><br></div><div>BTW, everything done with ElasticFox in those instructions can now be done in the AWS console (which is how I did it). For those who don&#39;t use firefox. ;)</div>
<div><br></div><div>Dan</div><div> <br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 12:44 PM, Justin Riley <span dir="ltr">&lt;<a href="mailto:jtriley@mit.edu">jtriley@mit.edu</a>&gt;</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&#39;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&#39;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&#39;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">&gt; Hi all,<br>
&gt;<br>
&gt; I created a 30GB EBS volume, formatted it with the ext3 filesystem, and<br>
&gt; detached it.<br>
&gt;<br>
&gt; Then I set my cluster config to use this volume.<br>
&gt;<br>
&gt; VOLUMES = sharedhome<br>
&gt; ...<br>
&gt; [volume sharedhome]<br>
&gt; VOLUME_ID = vol-70e6f719<br>
&gt; MOUNT_PATH = /home<br>
&gt;<br>
&gt; I start my cluster and see the following output:<br>
&gt;<br>
&gt;&gt;&gt;&gt; Waiting for cluster to start.../&gt;&gt;&gt; The master node is<br>
&gt; <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>&gt; &lt;<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>&gt;<br>
<div><div></div><div class="h5">&gt;&gt;&gt;&gt; Attaching volume vol-70e6f719 to master node on /dev/sdz ...<br>
&gt;<br>
&gt;&gt;&gt;&gt; Setting up the cluster...<br>
&gt;&gt;&gt;&gt; Mounting EBS volume vol-70e6f719 on /home...<br>
&gt; ssh.py:77 - WARNING - specified key does not end in either rsa or dsa,<br>
&gt; trying both<br>
&gt;&gt;&gt;&gt; Using private key /Users/dtenenba/.ec2/bioc-keypair.pem (rsa)<br>
&gt; clustersetup.py:201 - WARNING - Cannot find partition /dev/sdz1 on<br>
&gt; volume vol-70e6f719<br>
&gt; clustersetup.py:203 - WARNING - Not mounting vol-70e6f719 on /home<br>
&gt; clustersetup.py:206 - WARNING - This either means that the volume has<br>
&gt; not beenpartitioned or that the partition specifieddoes not exist on the<br>
&gt; volume<br>
&gt;<br>
&gt; I formatted my volume according to these instructions:<br>
&gt; <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>
&gt; Was there something else I need to do? How do I put a named partition<br>
&gt; such as /dev/sdz1 on the volume?<br>
&gt; BTW, I don&#39;t want to partition the volume, but I want to use the whole<br>
&gt; thing.<br>
&gt;<br>
&gt; I have set up volumes before using this procedure and not run into any<br>
&gt; problems.<br>
&gt;<br>
&gt; BTW, after I ssh into the master, and do fdisk /dev/sdz, I see this:<br>
&gt; # fdisk /dev/sdz<br>
&gt; Device contains neither a valid DOS partition table, nor Sun, SGI or OSF<br>
&gt; disklabel<br>
&gt; Building a new DOS disklabel with disk identifier 0x5cde0278.<br>
&gt; Changes will remain in memory only, until you decide to write them.<br>
&gt; After that, of course, the previous content won&#39;t be recoverable.<br>
&gt;<br>
&gt;<br>
&gt; The number of cylinders for this disk is set to 3916.<br>
&gt; There is nothing wrong with that, but this is larger than 1024,<br>
&gt; and could in certain setups cause problems with:<br>
&gt; 1) software that runs at boot time (e.g., old versions of LILO)<br>
&gt; 2) booting and partitioning software from other OSs<br>
&gt;    (e.g., DOS FDISK, OS/2 FDISK)<br>
&gt; Warning: invalid flag 0x0000 of partition table 4 will be corrected by<br>
&gt; w(rite)<br>
&gt;<br>
&gt; Not sure if that is relevant or not.<br>
&gt;<br>
&gt; Please let me know how I am supposed to configure the volume. Thanks<br>
&gt;<br>
&gt; Dan<br>
&gt;<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></div>