<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div>That is exactly what I wanted. Thank you Jin! :)</div><div><br></div>  <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Jin Yu &lt;yujin2004@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Jian Feng &lt;freedafeng@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> Jennifer Staab &lt;jstaab@cs.unc.edu&gt;; "starcluster@mit.edu" &lt;starcluster@mit.edu&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, December 9, 2014 12:29
 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [StarCluster] need scratch space<br> </font> </div> <div class="y_msg_container"><br><div id="yiv8280794365"><div><div dir="ltr"><div class="yiv8280794365gmail_default" style="font-family: verdana, sans-serif;">you are welcome.&nbsp;</div><div class="yiv8280794365gmail_default" style="font-family: verdana, sans-serif;"><br clear="none"></div><div class="yiv8280794365gmail_default" style="font-family: verdana, sans-serif;">you can refer following codes to make a raid 0 volume</div><div class="yiv8280794365gmail_default" style="font-family: verdana, sans-serif;"><br clear="none"></div><div class="yiv8280794365gmail_default" style="font-family: verdana, sans-serif;"><pre class="yiv8280794365" style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; width: 1056px; color: rgb(51, 51, 51); line-height:
 13.4399995803833px;"></pre><div class="yiv8280794365" id="yiv8280794365file-create_raid0-sh-LC6"><span class="yiv8280794365" style="color:rgb(150,152,150);">#You can list the devices</span>
</div><div class="yiv8280794365" id="yiv8280794365file-create_raid0-sh-LC7">lsblk
</div><div class="yiv8280794365" id="yiv8280794365file-create_raid0-sh-LC8"><span class="yiv8280794365" style="color:rgb(150,152,150);">#(RAID 0 only) To create a RAID 0 array, execute the following command (note the --level=stripe option to stripe the array):  </span>
</div><div class="yiv8280794365" id="yiv8280794365file-create_raid0-sh-LC9">sudo mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=<span class="yiv8280794365">$number_of_volumes</span> <span class="yiv8280794365">$device_name1</span> <span class="yiv8280794365">$device_name2</span> 
</div><div class="yiv8280794365" id="yiv8280794365file-create_raid0-sh-LC10"><span style="color:rgb(150,152,150);">#For example, to create an ext4 file system, execute the following command:  </span><br clear="none"></div><div class="yiv8280794365" id="yiv8280794365file-create_raid0-sh-LC14">sudo mkfs.ext4 /dev/md0 
</div><div><br clear="none"></div></div></div><div class="yiv8280794365gmail_extra"><br clear="none"><div class="yiv8280794365gmail_quote">On Tue, Dec 9, 2014 at 11:42 AM, Jian Feng <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:freedafeng@yahoo.com" target="_blank" href="mailto:freedafeng@yahoo.com">freedafeng@yahoo.com</a>&gt;</span> wrote:<br clear="none"><blockquote class="yiv8280794365gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="qtdSeparateBR"><br><br></div><div class="yiv8280794365yqt9142566005" id="yiv8280794365yqt91625"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><div><span>Thanks Jennifer and Jin!</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
 Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span>You are definitely right. The svdaa is one of the two ssds and it is mounted to /mnt. The other ssd (/dev/svdab) is in the list, but not mounted to anywhere. I am wondering if there is a way to add the other svdab disk to /mnt to make a 37*2 GB disk, (as Jin mentioned). really appreciated your help.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br clear="none"></span></div><div class="yiv8280794365hm yiv8280794365HOEnZb"><div><br clear="none"></div>  </div><div style="font-family:
 HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"><div class="yiv8280794365hm yiv8280794365HOEnZb"> </div><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"><div class="yiv8280794365hm yiv8280794365HOEnZb"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Jennifer Staab &lt;<a rel="nofollow" shape="rect" ymailto="mailto:jstaab@cs.unc.edu" target="_blank" href="mailto:jstaab@cs.unc.edu">jstaab@cs.unc.edu</a>&gt;<br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Jian Feng &lt;<a rel="nofollow" shape="rect" ymailto="mailto:freedafeng@yahoo.com" target="_blank" href="mailto:freedafeng@yahoo.com">freedafeng@yahoo.com</a>&gt; <br clear="none"><b><span style="font-weight:bold;">Cc:</span></b> "<a rel="nofollow" shape="rect" ymailto="mailto:starcluster@mit.edu"
 target="_blank" href="mailto:starcluster@mit.edu">starcluster@mit.edu</a>" &lt;<a rel="nofollow" shape="rect" ymailto="mailto:starcluster@mit.edu" target="_blank" href="mailto:starcluster@mit.edu">starcluster@mit.edu</a>&gt; <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, December 9, 2014 8:24 AM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re:
 [StarCluster] need scratch space<br clear="none"> </font> </div></div><div><div class="yiv8280794365h5"> <div><br clear="none"><div><div>
    <div>Submit command "lsblk" and you will see
      the instance/ephemeral storage.&nbsp; In my experience the
      instance/ephemeral storage will be smaller in size ( for me 40 GB
      is typically 37.5/37 GB in size) and usually one disk is
      automatically mounted as "/mnt".&nbsp; Seems like in your case it is
      likely "/dev/xvdaa" is one of the instance/ephemeral disks.&nbsp; If
      you don't see the other with "lsblk" command, it is likely when
      you created the EC2 you forgot to indicate you wanted to use both
      instance storage disks when you added storage to your EC2.<br clear="none">
      <br clear="none">
      Good Luck.<br clear="none">
      <br clear="none">
      - Jennifer <br clear="none">
      <br clear="none">
      On 12/9/14 9:48 AM, Jin Yu wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div style="font-family: verdana, sans-serif;">You can use these two
          40G SSD to make a raid0 volume of 80G, and then mount it to
          /scratch.&nbsp;<br clear="none">
        </div>
        <div style="font-family: verdana, sans-serif;"><br clear="none">
        </div>
        <div style="font-family: verdana, sans-serif;">-Jin</div>
      </div>
      <div><br clear="none">
        <div>On Mon, Dec 8, 2014 at 1:55 PM, Jian
          Feng <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:freedafeng@yahoo.com" target="_blank" href="mailto:freedafeng@yahoo.com">freedafeng@yahoo.com</a>&gt;</span>
          wrote:<br clear="none">
          <blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
            <div>
              <div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
                <div>Dear starcluster community,</div>
                <div><br clear="none">
                </div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;">I
                  created an ec2 cluster using m3.xlarge instance
                  (2*40GB SSD). I did not see any scratch space or
                  /scratch folder at all. Here is the disk space
                  layout.&nbsp;</div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
                </div>
                <div style="background-color:transparent;">root@node001:~#
                  df -h</div>
                <div style="background-color:transparent;">Filesystem &nbsp; &nbsp;
                  &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on</div>
                <div style="background-color:transparent;">/dev/xvda1 &nbsp; &nbsp;
                  &nbsp; &nbsp; 20G &nbsp;5.6G &nbsp; 14G &nbsp;30% /</div>
                <div style="background-color:transparent;">udev &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                  &nbsp; &nbsp;7.4G &nbsp;8.0K &nbsp;7.4G &nbsp; 1% /dev</div>
                <div style="background-color:transparent;">tmpfs &nbsp; &nbsp; &nbsp; &nbsp;
                  &nbsp; &nbsp; 3.0G &nbsp;176K &nbsp;3.0G &nbsp; 1% /run</div>
                <div style="background-color:transparent;">none &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                  &nbsp; &nbsp;5.0M &nbsp; &nbsp; 0 &nbsp;5.0M &nbsp; 0% /run/lock</div>
                <div style="background-color:transparent;">none &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                  &nbsp; &nbsp;7.4G &nbsp; &nbsp; 0 &nbsp;7.4G &nbsp; 0% /run/shm</div>
                <div style="background-color:transparent;">/dev/xvdaa &nbsp; &nbsp;
                  &nbsp; &nbsp; 37G &nbsp;177M &nbsp; 35G &nbsp; 1% /mnt</div>
                <div style="background-color:transparent;">master:/home &nbsp;
                  &nbsp; &nbsp; 20G &nbsp;5.6G &nbsp; 14G &nbsp;30% /home</div>
                <div style="background-color:transparent;">master:/opt/sge6
                  &nbsp; 20G &nbsp;5.6G &nbsp; 14G &nbsp;30% /opt/sge6</div>
                <div style="background-color:transparent;"><br clear="none">
                </div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;">In
                  my application, I need a scatch folder on each node
                  that has about 50G space. Is there a way to do that? I
                  don't really need /home or /opt/sge6 stuff. And I
                  don't run mpi applications.&nbsp;</div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
                </div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;">Maybe
                  I should recreate an AMI?</div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
                </div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;">Thanks!</div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
                </div>
                <div><br clear="none">
                </div>
                <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
                </div>
              </div>
            </div>
            <br clear="none">
            _______________________________________________<br clear="none">
            StarCluster mailing list<br clear="none">
            <a rel="nofollow" shape="rect" ymailto="mailto:StarCluster@mit.edu" target="_blank" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br clear="none">
            <a rel="nofollow" shape="rect" target="_blank" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a><div><br clear="none"><br clear="none"></div><div><br clear="none">
            <br clear="none">
          </div></blockquote><div>
        </div></div><div>
        <br clear="none">
      </div></div><div>
      <br clear="none">
      <fieldset></fieldset>
      <br clear="none">
      <pre>_______________________________________________
StarCluster mailing list
<a rel="nofollow" shape="rect" ymailto="mailto:StarCluster@mit.edu" target="_blank" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a>
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a>
</pre>
    </div></blockquote><div>
    <br clear="none">
  </div></div></div><br clear="none"><br clear="none"></div> </div></div></div> </div>  </div></div></div><br clear="none">_______________________________________________<br clear="none">
StarCluster mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:StarCluster@mit.edu" target="_blank" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </div> </div>  </div></body></html>