<?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: vgcreate command with PVG's and alternate paths in Disk Enclosures</title>
    <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785507#M5763</link>
    <description>Q1&lt;BR /&gt;Yes&lt;BR /&gt;Q2&lt;BR /&gt;No need to edit /etc/lvmpvg. I'm not sure if vgcreate can take the PV paths in one command because you got yourself alternate path to consider. I know this would work .. (split your "vgcreate" into 2 steps, vgcreate and vgextend)&lt;BR /&gt;# vgcreate -s 2 -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 /dev/dsk/c5t13d0&lt;BR /&gt;==&amp;gt;c3t15d0(primary) and c5t13d0(alternate) will be placed in pvg01&lt;BR /&gt;# vgextend -g pvg01 /dev/vg03 /dev/dsk/c3t14d0 /dev/dsk/c5t14d0&lt;BR /&gt;==&amp;gt;c3t14d0(primary) and c5t14d0(alternate) will be placed in pvg01&lt;BR /&gt;&lt;BR /&gt;Check /etc/lvmpvg afterwards to make sure the PVs are defined.&lt;BR /&gt;&lt;BR /&gt;To extend vg03 with more PVs into a different PVG (say pvg02) you would simply run the same vgextend command replacing "pvg01" with "pvg02".</description>
    <pubDate>Wed, 14 Aug 2002 14:07:25 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-08-14T14:07:25Z</dc:date>
    <item>
      <title>vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785504#M5760</link>
      <description>Hi All,&lt;BR /&gt;I'm trying to create a volume group of a stripe size of 2 mb with PVG's (extent based mirrored stripes). I have four drives that are going to be part of this volume group (all having alternate paths). &lt;BR /&gt;Question 1&lt;BR /&gt;DO I have to add the alternate paths to the vgcreate command?&lt;BR /&gt;Question 2 &lt;BR /&gt;Do I have to edit /etc/lvmpvg do get this done or can I achieve the same with the two seperate vgcreate commands:&lt;BR /&gt;vgcreate -s 2 -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 (primary) /dev/dsk/c5t13d0 (alternate) /dev/dsk/c3t14d0 (primary)&lt;BR /&gt;/dev/dsk/c5t14d0 (alternate)&lt;BR /&gt;&lt;BR /&gt;I would then follow it up with a similar command using the other two disk addresses.&lt;BR /&gt;&lt;BR /&gt;Is this correct?&lt;BR /&gt;&lt;BR /&gt;Many Thanx,&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Aug 2002 20:53:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785504#M5760</guid>
      <dc:creator>Chris Gromala</dc:creator>
      <dc:date>2002-08-13T20:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785505#M5761</link>
      <description>Hi Chris,&lt;BR /&gt;&lt;BR /&gt;Yes you have to add the alternate path devices.&lt;BR /&gt;No you shouldn't have to edit the /etc/lvmpvg file. It should be done automatically by the correct usage of the commands. Have a look at this similar discussion, it provides some valuable information.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7a6e42308663d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7a6e42308663d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 14 Aug 2002 01:18:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785505#M5761</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-08-14T01:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785506#M5762</link>
      <description>Michael,&lt;BR /&gt;Thanks for the link. But my question is: Will the command I've laid out accomplish what I'm trying to do?&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 14 Aug 2002 13:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785506#M5762</guid>
      <dc:creator>Chris Gromala</dc:creator>
      <dc:date>2002-08-14T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785507#M5763</link>
      <description>Q1&lt;BR /&gt;Yes&lt;BR /&gt;Q2&lt;BR /&gt;No need to edit /etc/lvmpvg. I'm not sure if vgcreate can take the PV paths in one command because you got yourself alternate path to consider. I know this would work .. (split your "vgcreate" into 2 steps, vgcreate and vgextend)&lt;BR /&gt;# vgcreate -s 2 -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 /dev/dsk/c5t13d0&lt;BR /&gt;==&amp;gt;c3t15d0(primary) and c5t13d0(alternate) will be placed in pvg01&lt;BR /&gt;# vgextend -g pvg01 /dev/vg03 /dev/dsk/c3t14d0 /dev/dsk/c5t14d0&lt;BR /&gt;==&amp;gt;c3t14d0(primary) and c5t14d0(alternate) will be placed in pvg01&lt;BR /&gt;&lt;BR /&gt;Check /etc/lvmpvg afterwards to make sure the PVs are defined.&lt;BR /&gt;&lt;BR /&gt;To extend vg03 with more PVs into a different PVG (say pvg02) you would simply run the same vgextend command replacing "pvg01" with "pvg02".</description>
      <pubDate>Wed, 14 Aug 2002 14:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785507#M5763</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-14T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785508#M5764</link>
      <description>1) Yes, add alt. paths&lt;BR /&gt;2) No need to edit the lvmpvg file. Check the file content after you did the vgcreate -g&lt;BR /&gt;3) The best practise for giving an alt. path is:&lt;BR /&gt;# vgcreate - first&lt;BR /&gt;# vgextend - with alt. path.&lt;BR /&gt;4) Check the output of this after everything is done:&lt;BR /&gt;# vgdisplay -v</description>
      <pubDate>Wed, 14 Aug 2002 15:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785508#M5764</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-14T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785509#M5765</link>
      <description>Thanks for all your help. But now I have another problem. The vgcreate command is coming back with a "file too large" error. Is this because of the 2mb extent (stripe) size. And if this is the case why can''t I use 2mb?&lt;BR /&gt;&lt;BR /&gt;Thanx Again,&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 14 Aug 2002 15:16:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785509#M5765</guid>
      <dc:creator>Chris Gromala</dc:creator>
      <dc:date>2002-08-14T15:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785510#M5766</link>
      <description>The 2MB with the "-s" is the extent size, not stripe size. The error you got is because 2MB is too small for the LVM data structures to fit. The default is 4MB. Typically for a large disk and a smaller extent defined, you'll see this error. Is there any reason why you use a smaller extent (2MB) ? If no then just drop the "-s 2" in your command and that'll create a 4MB extent for you.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 15:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785510#M5766</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-14T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785511#M5767</link>
      <description>Thanks for your reply. I just conceded the fact that I would create the extents at the 4mb size. But now I'm having another problem. When I'm trying to perform a vgcreate I'm getting the following error:&lt;BR /&gt; vgcreate -g pvg01 /dev/vg03 /dev/dsk/c3t15d0 /dev/dsk/c5t15d0                 &lt;BR /&gt;Increased the number of physical extents per physical volume to 4341.           &lt;BR /&gt;vgcreate: The physical volume "/dev/dsk/c3t15d0" is already recorded in the "/et&lt;BR /&gt;c/lvmtab" file.                                                                 &lt;BR /&gt;# vgextend -g pvg01 /dev/vg03 /dev/dsk/c3t14d0 /dev/dsk/c5t14d0                 &lt;BR /&gt;vgextend: Volume group "/dev/vg03" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;How can I get around this?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 16:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785511#M5767</guid>
      <dc:creator>Chris Gromala</dc:creator>
      <dc:date>2002-08-14T16:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate command with PVG's and alternate paths</title>
      <link>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785512#M5768</link>
      <description>Never mind I see the problem. I have the /dev/dsk addressing incorrect. I hope this doesn't cause another problem. I looked at the VG that had those addresses in it and everything looks OK. Anything else I should look at?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The Dyslexic Kid&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 17:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/vgcreate-command-with-pvg-s-and-alternate-paths/m-p/2785512#M5768</guid>
      <dc:creator>Chris Gromala</dc:creator>
      <dc:date>2002-08-14T17:20:22Z</dc:date>
    </item>
  </channel>
</rss>

