<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">If you look at
      <a class="moz-txt-link-freetext" href="http://www.pixelbeat.org/docs/openstack_libvirt_images/#1361764412">http://www.pixelbeat.org/docs/openstack_libvirt_images/#1361764412</a>,
      you'll see that resize2fs is performed. But there is a caveat with
      RHEL6 which is Linux 2.6 (contrary to Ubuntu 12.04 which is Linux
      3.0).<br>
      If you look at "man resize2fs" : <br>
      <br>
             The resize2fs program will resize ext2, ext3, or ext4 file
      systems.  It<br>
             can  be  used  to enlarge or shrink an unmounted file
      system located on<br>
             device.  If the filesystem is mounted, it can be  used  to 
      expand  the<br>
             size  of  the  mounted filesystem, assuming the kernel
      supports on-line<br>
             resizing.  (As of this writing, the Linux 2.6 kernel 
      supports  on-line<br>
             resize for filesystems mounted using ext3 only.).<br>
      <br>
      You absolutely need to create ext3 root partition for that
      working.<br>
      <br>
      -Sylvain<br>
      <br>
      Le 05/03/2013 05:59, Lei Zhang a écrit :<br>
    </div>
    <blockquote
cite="mid:CAATxhGeHhu-GHoGhssahW+wQoDnaHpA6ODJn+9uQN7akVM+FbA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="markdown-here-wrapper"
          id="markdown-here-wrapper-721653"
style="font-size:1em;font-family:Helvetica,arial,freesans,clean,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255);border:none;line-height:1.2">
          <p style="margin:1em 0px">Hi all, </p>
          <p style="margin:1em 0px">I am making the RHEL Image for the
            Openstack. But what type of partition layout is preferred?<br>
            The question is that when resize the image, the FS can be
            aware of the expansion and enlarge automatically. I found
            the ubuntu image from the <a moz-do-not-send="true"
              href="http://cloud-images.ubuntu.com/precise/"
              style="color:rgb(51,51,238);text-decoration:none">http://cloud-images.ubuntu.com/precise/</a>
            have this feature. But the image I create can not.<br>
            So how to make the image created can re-partitioned in
            resize process automatically and how the re-partitioned
            implemented? </p>
        </div>
        <div class="markdown-here-signature">-- <br>
          <div><span
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Lei
              Zhang</span></div>
          <div><span
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br>
            </span></div>
          <div><font face="arial, sans-serif">Blog: <a
                moz-do-not-send="true"
                href="http://jeffrey4l.github.com" target="_blank">http://jeffrey4l.github.com</a></font></div>
          <div>twitter/weibo: @jeffrey4l</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>