<?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: Adding a disk to a volume group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922119#M634302</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Only one caveat is that c2t2d0 should not be of bigger size than the other two disks unless you created the volume group initially with a non-default max physical extents attribute. Your vgextend will give you an error anyway if that is the case.&lt;BR /&gt;&lt;BR /&gt;Just to be on safer side to make sure this disk is already not used, do&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab |grep c2t2d0&lt;BR /&gt;&lt;BR /&gt;Your process is precisely correct along with your assumption unless you created striped volumes on two disks which I think is a rare possibility. &lt;BR /&gt;&lt;BR /&gt;You do not need to unmount logical volumes.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Fri, 07 Mar 2003 14:32:03 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-03-07T14:32:03Z</dc:date>
    <item>
      <title>Adding a disk to a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922117#M634300</link>
      <description>I am adding a disk to a volume group and would like to make sure I am doing it correctly. If anyone has any additional sugeestions I would appreciate it.&lt;BR /&gt;&lt;BR /&gt;I have a volume group called vg02. When running a "strings" command for the /etc/lvmtab file I get the folloing output for the vg02 volume group.&lt;BR /&gt;&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c2t0d0&lt;BR /&gt;/dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;I have added the new disk to the system and the device file name is /dev/rdsk/c2t2d0. I intend to run the following.&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c2t2d0&lt;BR /&gt;# vgextend /dev/vg02 /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;Do I need to unmount the logical volumes for this VG before proceeding?&lt;BR /&gt;&lt;BR /&gt;I am also assuming that after exting the volume group I can extend to logical volumes in this group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;David Owens&lt;BR /&gt;Ingersoll-Rand&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 14:25:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922117#M634300</guid>
      <dc:creator>David Owens_1</dc:creator>
      <dc:date>2003-03-07T14:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a disk to a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922118#M634301</link>
      <description>you have the steps correct, should be no problem extending hte lvols</description>
      <pubDate>Fri, 07 Mar 2003 14:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922118#M634301</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2003-03-07T14:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a disk to a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922119#M634302</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Only one caveat is that c2t2d0 should not be of bigger size than the other two disks unless you created the volume group initially with a non-default max physical extents attribute. Your vgextend will give you an error anyway if that is the case.&lt;BR /&gt;&lt;BR /&gt;Just to be on safer side to make sure this disk is already not used, do&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab |grep c2t2d0&lt;BR /&gt;&lt;BR /&gt;Your process is precisely correct along with your assumption unless you created striped volumes on two disks which I think is a rare possibility. &lt;BR /&gt;&lt;BR /&gt;You do not need to unmount logical volumes.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 07 Mar 2003 14:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922119#M634302</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-07T14:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a disk to a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922120#M634303</link>
      <description>The steps you have is correct. Once you extended the VG, you can find out the free space on VG with vgdisplay -v and then extend the LVs as you need.&lt;BR /&gt;&lt;BR /&gt;If you are adding a large capacity of disk and if the VG was created without considering future updates (options of vgcreate), then you will get only the same amount of disk space as of the others.</description>
      <pubDate>Fri, 07 Mar 2003 14:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922120#M634303</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-03-07T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a disk to a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922121#M634304</link>
      <description>After extending a volume group to include the drive, you can make "lvcreate" or "lvextend" to build filesystems. &lt;BR /&gt;&lt;BR /&gt;lvextend(1M)&lt;BR /&gt;&lt;BR /&gt;Increase the size of a file system existing on a logical volume.&lt;BR /&gt;&lt;BR /&gt; First, increase the size of the logical volume. &lt;BR /&gt;lvextend -L YYY /dev/vg02/lvolX&lt;BR /&gt;  &lt;BR /&gt;Unmount the file system. &lt;BR /&gt;umount /dev/vg02/lvolX  &lt;BR /&gt;&lt;BR /&gt;Extend the file system to occupy the entire (larger) logical volume. &lt;BR /&gt;&lt;BR /&gt;extendfs /dev/vg02/rlvolX  &lt;BR /&gt;Remount the file system. &lt;BR /&gt;   &lt;BR /&gt;mount /dev/vg02/lvolX /mnt  &lt;BR /&gt;&lt;BR /&gt;Only in order to remove a volume group, the file systems must be unmounted.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Fri, 07 Mar 2003 15:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-disk-to-a-volume-group/m-p/2922121#M634304</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-03-07T15:21:48Z</dc:date>
    </item>
  </channel>
</rss>

