<!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 bgcolor="#ffffff" text="#000000">
    (2010年08月19日 22:36), justino garcia wrote:
    <blockquote
      cite="mid:AANLkTikhjGt4OXOEmQr6Y3JromyBFs791HDpEKrYFdcy@mail.gmail.com"
      type="cite">Why not use acronis for linux, or some imaging tool,
      but make sure your current linux install has support for said raid
      card.<br>
      <br>
      <div class="gmail_quote">On Thu, Aug 19, 2010 at 12:09 PM, Rashkae
        <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:ubuntu@tigershaunt.com">ubuntu@tigershaunt.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div class="im">Mike A. Leonetti wrote:<br>
            >  I have a server now that has one drive and is not set
            up on a RAID<br>
            > using Ubuntu 8.04.<br>
            ><br>
            > What I was going to do was boot with a Linux recovery
            disc, create a<br>
            > RAID1 manually with mdadm on two new drives, and then
            copy all of the<br>
            > data onto that then redo the boot partition.<br>
            ><br>
            > My question is, when I reboot, will Ubuntu
            automatically detect the RAID<br>
            > for me or are there modules I have to install ahead of
            time to make sure<br>
            > the RAID gets detected? Also, would anybody else handle
            the situation<br>
            > differently :D.<br>
            ><br>
            <br>
          </div>
          There is going to be one hurdle you'll need to get over.. I
          forget the<br>
          exact command I used to recover, but I'll give you the
          overview.<br>
          <br>
          When raid array's are created, they are given a "hostname",
          which, by<br>
          default, will by the system hostname.  By default, mdadm will
          not<br>
          auto-assemble raid arrays from a different hostname (to
          prevent<br>
          misunderstandings when hard drives are moved between different
          systems.)<br>
           Unfortunately, Ubuntu must assemble the raid arrays from the
          Initrd<br>
          system, which will probably not contain your hostname unless
          you have<br>
          customized it.  I encountered this problem when I created the
          new array<br>
          from the existing system, I do not know if you will have this
          issue when<br>
          creating the array from the rescue cd.<br>
          <br>
          When I tried to reboot the system, it was unable to mount the
          root<br>
          filesystem.  However, initrd dropped me to a busybox shell,
          from which I<br>
          was able to run mdadm with options that would assemble the
          correct array<br>
          *and* update the hostname of the array, (which I think is
          simply "", ie.<br>
          empty, in initrd.)<br>
          <div>
            <div class="h5"><br>
              --<br>
              ubuntu-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
              Modify settings or unsubscribe at: <a
                moz-do-not-send="true"
                href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users"
                target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Justin<br>
      IT-TECH<br>
    </blockquote>
    To be honest I don't necessarily trust third party tools.  And I'm
    doing this all on-site so if it's something that fails that means
    I'll just have to be there for longer.<br>
  </body>
</html>