<?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: P400 array extend under RHEL5 in Disk Enclosures</title>
    <link>https://community.hpe.com/t5/disk-enclosures/p400-array-extend-under-rhel5/m-p/5817421#M45790</link>
    <description>&lt;P&gt;Please follow below steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First check the disk size with fdisk -l command. If it is already increased or not. After expanding RAID from array controller utility (hpacucli) you need to reboot the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. After server reboot again check the disk size with fdisk -l command. This time you can see the new size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Once you able to see the new size, delete existing partition information and recreate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fdisk /dev/cciss/c0d1 (for example)&lt;BR /&gt;p&lt;BR /&gt;press d then&amp;nbsp;1 to remove partition&lt;BR /&gt;press n then primary partition to use the full space&lt;BR /&gt;Make sure the old and new partition start at the same cylinder or sector position, otherwise, data will be destroyed.&lt;BR /&gt;press t to change partition type to LVM&lt;BR /&gt;w&lt;BR /&gt;q&lt;BR /&gt;note: you need to reboot again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Now resize physical volume size with pvresize command (like: pvresize /dev/cciss/c0d1p1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Now resize logical volume size with lvextend command (note: use vgdisplay -v to check the number of free PE)&lt;/P&gt;&lt;P&gt;(like: lvextend -l +17879 /dev/vg01/lvol01)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Now resize file system online with resize2fs command (like: resize2fs /dev/vg01/lvol01)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2012 21:10:59 GMT</pubDate>
    <dc:creator>Arunabha Banerjee</dc:creator>
    <dc:date>2012-09-27T21:10:59Z</dc:date>
    <item>
      <title>P400 array extend under RHEL5</title>
      <link>https://community.hpe.com/t5/disk-enclosures/p400-array-extend-under-rhel5/m-p/2415071#M38059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I using DL185G5 with P400 raid card and running under RHEL5.&amp;nbsp; We just add additional disk and already extend the logical drive by hpacucli CLI command&amp;nbsp; and show the new size there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when we using pvdisplay or vgdisplay in linux CLI, it did not show any Free PE there.&amp;nbsp; Is it I got some problem here?&amp;nbsp; It is because I read some material from internet said it will shown some Free PE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it I can using lvextend directly to extend the volume or just using resize2fs to resize the logical volume directly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp; Thx!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2011 05:02:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/p400-array-extend-under-rhel5/m-p/2415071#M38059</guid>
      <dc:creator>machiasiaweb</dc:creator>
      <dc:date>2011-06-21T05:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: P400 array extend under RHEL5</title>
      <link>https://community.hpe.com/t5/disk-enclosures/p400-array-extend-under-rhel5/m-p/5817421#M45790</link>
      <description>&lt;P&gt;Please follow below steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First check the disk size with fdisk -l command. If it is already increased or not. After expanding RAID from array controller utility (hpacucli) you need to reboot the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. After server reboot again check the disk size with fdisk -l command. This time you can see the new size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Once you able to see the new size, delete existing partition information and recreate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fdisk /dev/cciss/c0d1 (for example)&lt;BR /&gt;p&lt;BR /&gt;press d then&amp;nbsp;1 to remove partition&lt;BR /&gt;press n then primary partition to use the full space&lt;BR /&gt;Make sure the old and new partition start at the same cylinder or sector position, otherwise, data will be destroyed.&lt;BR /&gt;press t to change partition type to LVM&lt;BR /&gt;w&lt;BR /&gt;q&lt;BR /&gt;note: you need to reboot again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Now resize physical volume size with pvresize command (like: pvresize /dev/cciss/c0d1p1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Now resize logical volume size with lvextend command (note: use vgdisplay -v to check the number of free PE)&lt;/P&gt;&lt;P&gt;(like: lvextend -l +17879 /dev/vg01/lvol01)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Now resize file system online with resize2fs command (like: resize2fs /dev/vg01/lvol01)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2012 21:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/p400-array-extend-under-rhel5/m-p/5817421#M45790</guid>
      <dc:creator>Arunabha Banerjee</dc:creator>
      <dc:date>2012-09-27T21:10:59Z</dc:date>
    </item>
  </channel>
</rss>

