<?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: grow LVM disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623529#M40596</link>
    <description>why do u need another software when its already there in linux.&lt;BR /&gt;have u tried &lt;BR /&gt;man lvextend &lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
    <pubDate>Mon, 26 Apr 2010 03:02:56 GMT</pubDate>
    <dc:creator>Kapil Jha</dc:creator>
    <dc:date>2010-04-26T03:02:56Z</dc:date>
    <item>
      <title>grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623528#M40595</link>
      <description>Hi there&lt;BR /&gt;Gprated or PartitionMagic don't support resizing the LVM drive. Is there any software available on the market that does the trick ?&lt;BR /&gt;Regards&lt;BR /&gt;Peter</description>
      <pubDate>Sun, 25 Apr 2010 22:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623528#M40595</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2010-04-25T22:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623529#M40596</link>
      <description>why do u need another software when its already there in linux.&lt;BR /&gt;have u tried &lt;BR /&gt;man lvextend &lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Mon, 26 Apr 2010 03:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623529#M40596</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-04-26T03:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623530#M40597</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;fdisk -l&lt;BR /&gt;# To see layout&lt;BR /&gt;pvdisplay -v &lt;DISK device=""&gt;&lt;BR /&gt;&lt;BR /&gt;lvextend -l &lt;SIZE&gt; disk device&lt;BR /&gt;&lt;BR /&gt;Next step depends on what version of the OS you are talking about.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/SIZE&gt;&lt;/DISK&gt;</description>
      <pubDate>Mon, 26 Apr 2010 03:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623530#M40597</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-26T03:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623531#M40598</link>
      <description>Now I remember doing that on HPUX several years ago.&lt;BR /&gt;I'm running CentOS:&lt;BR /&gt;&lt;BR /&gt;Linux version 2.6.18-164.15.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Mar 17 11:30:06 EDT 2010&lt;BR /&gt;&lt;BR /&gt;So what would be the next step ?</description>
      <pubDate>Tue, 27 Apr 2010 02:00:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623531#M40598</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2010-04-27T02:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623532#M40599</link>
      <description>ext2online (or) ext3onlie will be the next step after lvextend.</description>
      <pubDate>Tue, 27 Apr 2010 11:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623532#M40599</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-04-27T11:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623533#M40600</link>
      <description>In RHEL/CentOS 5, there is no special ext2online/ext3online command, only resize2fs (which works on ext3 too). &lt;BR /&gt;&lt;BR /&gt;The resize2fs command will automatically detect if the filesystem is mounted, and do the right thing in each case.&lt;BR /&gt;&lt;BR /&gt;i.e. after running lvextend, the next step is simply:&lt;BR /&gt;&lt;BR /&gt;resize2fs -p &lt;DISK device=""&gt;&lt;BR /&gt;&lt;BR /&gt;The "-p" option prints a completion bar, so you'll see that the operation is running. If the filesystem is already very large, the extension may take a while, so it's nice to have some feedback to reassure you it's not hung up.&lt;BR /&gt;&lt;BR /&gt;If you run "df" repeatedly while resize2fs is making an on-line extension, you can see the filesystem getting bigger and bigger in steps.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/DISK&gt;</description>
      <pubDate>Tue, 27 Apr 2010 16:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623533#M40600</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-04-27T16:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623534#M40601</link>
      <description>I rember i used ext2online (or 3) in RHEL. That i installed some rpm i guess. Even i increased root FS using ext3online after lvextend. Please correct me if i am wrong.</description>
      <pubDate>Wed, 28 Apr 2010 09:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623534#M40601</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-04-28T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623535#M40602</link>
      <description>bullz, that was in RHEL 4.&lt;BR /&gt;&lt;BR /&gt;In RHEL 5, the functionality of ext2online was integrated to resize2fs.&lt;BR /&gt;&lt;BR /&gt;Piotr's kernel version indicates he has a RHEL/CentOS 5. &lt;BR /&gt;&lt;BR /&gt;Version 4 would have a 2.6.9-* kernel.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 28 Apr 2010 12:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623535#M40602</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-04-28T12:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: grow LVM disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623536#M40603</link>
      <description>So I created a step by step howto in order to share with the community. This is a Centos 5 64 bit VM on VmWare ESXi 4.0.&lt;BR /&gt;&lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;Stop the VM&lt;BR /&gt;&lt;BR /&gt;On the ESXi host run: vmkfstools -X 10g ./test.vmdk&lt;BR /&gt;&lt;BR /&gt;Start the VM log in and run:&lt;BR /&gt;&lt;BR /&gt;fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 10.7 GB, 10737418240 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;BR /&gt;/dev/sda2              26        1044     8185117+  8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@localhost ~]# pvdisplay -v&lt;BR /&gt;    Scanning for physical volume names&lt;BR /&gt;  --- Physical volume ---&lt;BR /&gt;  PV Name               /dev/sda2&lt;BR /&gt;  VG Name               VolGroup00&lt;BR /&gt;  PV Size               7.81 GB / not usable 25.28 MB&lt;BR /&gt;  Allocatable           yes (but full)&lt;BR /&gt;  PE Size (KByte)       32768&lt;BR /&gt;  Total PE              249&lt;BR /&gt;  Free PE               0&lt;BR /&gt;  Allocated PE          249&lt;BR /&gt;  PV UUID               Hnw1fc-tqXm-sfzP-0vF1-CmhA-bEXb-mP4mv8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@localhost ~]# lvdisplay -v&lt;BR /&gt;    Finding all logical volumes&lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/VolGroup00/LogVol00&lt;BR /&gt;  VG Name                VolGroup00&lt;BR /&gt;  LV UUID                al4VyF-DKXD-cbC8-PEmg-fDMy-0Prx-3bokbB&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                5.78 GB&lt;BR /&gt;  Current LE             185&lt;BR /&gt;  Segments               1&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     auto&lt;BR /&gt;  - currently set to     256&lt;BR /&gt;  Block device           253:0&lt;BR /&gt;&lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/VolGroup00/LogVol01&lt;BR /&gt;  VG Name                VolGroup00&lt;BR /&gt;  LV UUID                FqvvFP-9v0m-bd3f-wcfm-oOUF-dkcP-HCHIh3&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                2.00 GB&lt;BR /&gt;  Current LE             64&lt;BR /&gt;  Segments               1&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     auto&lt;BR /&gt;  - currently set to     256&lt;BR /&gt;  Block device           253:1 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;fdisk /dev/sda (and create a new primary partition, partition number 3)&lt;BR /&gt;&lt;BR /&gt;[root@localhost ~]# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 10.7 GB, 10737418240 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;BR /&gt;/dev/sda2              26        1044     8185117+  8e  Linux LVM&lt;BR /&gt;/dev/sda3            1045        1305     2096482+  83  Linux&lt;BR /&gt;&lt;BR /&gt;lvextend â  L10G /dev/sda2&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/sda3&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/sda3 Physical volume "/dev/sda3" successfully created&lt;BR /&gt;&lt;BR /&gt;pvs&lt;BR /&gt;&lt;BR /&gt;vgextend VolGroup00 /dev/sda3 &lt;BR /&gt;&lt;BR /&gt;[root@localhost ~]# vgdisplay VolGroup00&lt;BR /&gt;  --- Volume group ---&lt;BR /&gt;  VG Name               VolGroup00&lt;BR /&gt;  System ID&lt;BR /&gt;  Format                lvm2&lt;BR /&gt;  Metadata Areas        2&lt;BR /&gt;  Metadata Sequence No  4&lt;BR /&gt;  VG Access             read/write&lt;BR /&gt;  VG Status             resizable&lt;BR /&gt;  MAX LV                0&lt;BR /&gt;  Cur LV                2&lt;BR /&gt;  Open LV               2&lt;BR /&gt;  Max PV                0&lt;BR /&gt;  Cur PV                2&lt;BR /&gt;  Act PV                2&lt;BR /&gt;  VG Size               9.75 GB&lt;BR /&gt;  PE Size               32.00 MB&lt;BR /&gt;  Total PE              312&lt;BR /&gt;  Alloc PE / Size       249 / 7.78 GB&lt;BR /&gt;  Free  PE / Size       63 / 1.97 GB&lt;BR /&gt;  VG UUID               zHLZCU-jryC-xnVR-y5Hb-cfKa-WKmH-JRYoDe&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvextend -l+63 /dev/VolGroup00/LogVol00&lt;BR /&gt;&lt;BR /&gt;[root@localhost ~]# lvs&lt;BR /&gt;  LV       VG         Attr   LSize Origin Snap%  Move Log Copy%  Convert&lt;BR /&gt;  LogVol00 VolGroup00 -wi-ao 7.75G&lt;BR /&gt;  LogVol01 VolGroup00 -wi-ao 2.00G&lt;BR /&gt;&lt;BR /&gt;df -h /&lt;BR /&gt;&lt;BR /&gt;[root@localhost ~]# df -h /&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/mapper/VolGroup00-LogVol00&lt;BR /&gt;                      5.7G  829M  4.6G  16% /&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So as you see now I have 6.4 GB of free space instead of 4.6GB. &lt;BR /&gt;&lt;BR /&gt;Thanks for the effort. Ticket closed.</description>
      <pubDate>Wed, 28 Apr 2010 13:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grow-lvm-disk/m-p/4623536#M40603</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2010-04-28T13:43:35Z</dc:date>
    </item>
  </channel>
</rss>

