<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Dan,<br>
    &nbsp;&nbsp;&nbsp; There is a command that will create volumes for you:<br>
    starcluster createvolume 30 us-east-1b<br>
    <br>
    Have you tried that?&nbsp; Starcluster expects a partition, thats
    probably why its failing.&nbsp; I'd use the command unless I had some
    specific reason I couldn't.&nbsp; I was unaware of it for about 3 months
    though :)<br>
    <br>
    Austin<br>
    <br>
    On 10/27/2010 03:29 PM, Dan Tenenbaum wrote:
    <blockquote
      cite="mid:AANLkTinM5t2inkwmz5F=Rzabt4kvwJG2BCUH-hqWbEqd@mail.gmail.com"
      type="cite">Hi all,
      <div><br>
      </div>
      <div>I created a 30GB EBS volume, formatted it with the ext3
        filesystem, and detached it.</div>
      <div><br>
      </div>
      <div>Then I set my cluster config to use this volume.</div>
      <div><br>
      </div>
      <div>VOLUMES = sharedhome</div>
      <div>...</div>
      <div>
        <div>[volume sharedhome]</div>
        <div>VOLUME_ID = vol-70e6f719</div>
        <div>MOUNT_PATH = /home</div>
      </div>
      <div><br>
      </div>
      <div>I start my cluster and see the following output:</div>
      <div><br>
      </div>
      <div>
        <div>&gt;&gt;&gt; Waiting for cluster to start.../&gt;&gt;&gt;
          The master node is <a moz-do-not-send="true"
            href="http://ec2-184-73-92-19.compute-1.amazonaws.com">ec2-184-73-92-19.compute-1.amazonaws.com</a></div>
        <div>&gt;&gt;&gt; Attaching volume vol-70e6f719 to master node
          on /dev/sdz ...</div>
        <div>&nbsp;</div>
        <div>&gt;&gt;&gt; Setting up the cluster...</div>
        <div>&gt;&gt;&gt; Mounting EBS volume vol-70e6f719 on /home...</div>
        <div>ssh.py:77 - WARNING - specified key does not end in either
          rsa or dsa, trying both</div>
        <div>&gt;&gt;&gt; Using private key
          /Users/dtenenba/.ec2/bioc-keypair.pem (rsa)</div>
        <div>clustersetup.py:201 - WARNING - Cannot find partition
          /dev/sdz1 on volume vol-70e6f719</div>
        <div>clustersetup.py:203 - WARNING - Not mounting vol-70e6f719
          on /home</div>
        <div>clustersetup.py:206 - WARNING - This either means that the
          volume has not beenpartitioned or that the partition
          specifieddoes not exist on the volume</div>
      </div>
      <div><br>
      </div>
      <div>I formatted my volume according to these instructions:<br>
        <a moz-do-not-send="true"
href="https://learningspaces.njit.edu/content/how-format-and-mount-ebs-volume">https://learningspaces.njit.edu/content/how-format-and-mount-ebs-volume</a></div>
      <div>Was there something else I need to do? How do I put a named
        partition such as /dev/sdz1 on the volume?&nbsp;</div>
      <div>BTW, I don't want to partition the volume, but I want to use
        the whole thing.</div>
      <div><br>
      </div>
      <div>I have set up volumes before using this procedure and not run
        into any problems.</div>
      <div><br>
      </div>
      <div>BTW, after I ssh into the master, and do fdisk /dev/sdz, I
        see this:</div>
      <div>
        <div># fdisk /dev/sdz</div>
        <div>Device contains neither a valid DOS partition table, nor
          Sun, SGI or OSF disklabel</div>
        <div>Building a new DOS disklabel with disk identifier
          0x5cde0278.</div>
        <div>Changes will remain in memory only, until you decide to
          write them.</div>
        <div>After that, of course, the previous content won't be
          recoverable.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>The number of cylinders for this disk is set to 3916.</div>
        <div>There is nothing wrong with that, but this is larger than
          1024,</div>
        <div>and could in certain setups cause problems with:</div>
        <div>1) software that runs at boot time (e.g., old versions of
          LILO)</div>
        <div>2) booting and partitioning software from other OSs</div>
        <div>&nbsp;&nbsp; (e.g., DOS FDISK, OS/2 FDISK)</div>
        <div>Warning: invalid flag 0x0000 of partition table 4 will be
          corrected by w(rite)</div>
        <div><br>
        </div>
      </div>
      <div>Not sure if that is relevant or not.</div>
      <div><br>
      </div>
      <div>Please let me know how I am supposed to configure the volume.
        Thanks</div>
      <div><br>
      </div>
      <div>Dan</div>
      <div><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
StarCluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>