<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HARDWARE RAID and RH 7.2 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160339#M72995</link>
    <description>I don't think you need to reinstall, thoguh that would work.&lt;BR /&gt;&lt;BR /&gt;If you have lvm, the process is lvextend followed by extendfs to make the filesystem fill up the volume.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 09 Jan 2004 08:37:48 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-01-09T08:37:48Z</dc:date>
    <item>
      <title>HARDWARE RAID and RH 7.2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160338#M72994</link>
      <description>Hi:&lt;BR /&gt;I've installed RH7.2 in an IBM X235 with&lt;BR /&gt;ServerRaid 5i.&lt;BR /&gt;During install /dev/sda2 was created and&lt;BR /&gt;mounted on /.&lt;BR /&gt;Now I've added 17Gbytes using RaidMan.&lt;BR /&gt;I'would like to extent the size of /dev/sda2&lt;BR /&gt;but I cant't found any related info.&lt;BR /&gt;&lt;BR /&gt;I've worked using sw raid on Solaris&lt;BR /&gt;(using Veritas Volume Manager) and this kind&lt;BR /&gt;of operation was simple admin task.&lt;BR /&gt;&lt;BR /&gt;May be I have to install linux in another way ?&lt;BR /&gt;&lt;BR /&gt;Any Hint ?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Francisco</description>
      <pubDate>Fri, 09 Jan 2004 05:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160338#M72994</guid>
      <dc:creator>Francisco Mancardi_1</dc:creator>
      <dc:date>2004-01-09T05:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: HARDWARE RAID and RH 7.2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160339#M72995</link>
      <description>I don't think you need to reinstall, thoguh that would work.&lt;BR /&gt;&lt;BR /&gt;If you have lvm, the process is lvextend followed by extendfs to make the filesystem fill up the volume.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 09 Jan 2004 08:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160339#M72995</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-09T08:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: HARDWARE RAID and RH 7.2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160340#M72996</link>
      <description>You'll have to change your partition size with fdisk. This operation cannot be done online, but OTOH you don't have to reinstall the system. However, the root (/) partition must have been created in a cylinder greater than where swap and (probably) /boot are. That is: your partition layout MUST be &lt;BR /&gt; &lt;BR /&gt;/dev/sda1 /boot&lt;BR /&gt;/dev/sda2 swap&lt;BR /&gt;/dev/sda3 /&lt;BR /&gt; &lt;BR /&gt;or &lt;BR /&gt;  &lt;BR /&gt;/dev/sda1 swap&lt;BR /&gt;/dev/sda2 /&lt;BR /&gt; &lt;BR /&gt;that is, your root partition must be THE LAST  PARTITION in the disk.&lt;BR /&gt; &lt;BR /&gt;Verify that you have "resize2fs" program installed: "rpm -qi e2fsprogs" should show at  least the 1.19 release.&lt;BR /&gt; &lt;BR /&gt;Then, reboot the server with RH7.2 installation CD. Probably it will detect your IPS Raid and you'll be able to do a fdisk /dev/sda. If not, you'll have to do the devices yourself with "mknod /tmp/sda b 8 0" and "mknod /tmp/sda2 b 8 2".&lt;BR /&gt; &lt;BR /&gt;Now comes the dangerous part. You must know exactly either how much "cylinders" these additional 17 GB make. When you start fdisk it will tell you this information. Take note of it.&lt;BR /&gt; &lt;BR /&gt;Next, check where your root partition has been created (the "Start" field of fdisk for the root partition). Take note of the number, you'll need it.&lt;BR /&gt; &lt;BR /&gt;Now, take a deep breath and delete the original root partition with the "d" command. BUT NOT WRITE THE NEW PARTITION TABLE TO THE DISK YET! I don't need to tell you that this would erase all of your data.&lt;BR /&gt; &lt;BR /&gt;Re-create the root partition with the same initial cylinder but with the new ending cylinder reported by fdisk when you started it. After you check the partition is correct, then you can write the new partition table with the "w" command.&lt;BR /&gt; &lt;BR /&gt;After doing this, create an "/a" directory to mount your original partition with the command "mount /tmp/sda2 /a". Then copy resize2fs with "cp /a/sbin/resize2fs /sbin" and dismount /a.&lt;BR /&gt; &lt;BR /&gt;Now, issue a "e2fsck -y -f /tmp/sda2" to verify that the file system is stable. This command will repair any errors found.&lt;BR /&gt; &lt;BR /&gt;Finally, issue a "resize2fs -p /tmp/sda2". If it doesn't work, you can try "resize2fs -fp /tmp/sda2" but in this case keep a backup next to you, you may need it. =:-0&lt;BR /&gt; &lt;BR /&gt;If everything goes all right and if you haven't got error messages, you're probably done. Reboot the system and verify that your partition has been resized.&lt;BR /&gt; &lt;BR /&gt;As a side note, you may install LVM in the next time and prevent the major pain of this process that is repatitioning the disk.&lt;BR /&gt;HTH&lt;BR /&gt;Paulo Fessel</description>
      <pubDate>Wed, 14 Jan 2004 09:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hardware-raid-and-rh-7-2/m-p/3160340#M72996</guid>
      <dc:creator>Paulo A G Fessel</dc:creator>
      <dc:date>2004-01-14T09:13:09Z</dc:date>
    </item>
  </channel>
</rss>

