<?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: Set up vg, lv - Getting started on RHEL5 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799106#M44532</link>
    <description>MK&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Roger.</description>
    <pubDate>Fri, 17 Jun 2011 11:41:58 GMT</pubDate>
    <dc:creator>rsmith_1</dc:creator>
    <dc:date>2011-06-17T11:41:58Z</dc:date>
    <item>
      <title>Set up vg, lv - Getting started on RHEL5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799102#M44528</link>
      <description>I am fairly new to Linux. Have very good experirnce in HP-UX lvm. I have this server where i have to set up VG, lv and start from scratch. It is a test box so we can erase and rebuild. We are using the Linux Native multipathing. I find the fdisk -l ouput confusing and not sure which device to start the pvcreate. I have posted lsscsi and fdisk -l output, assuming we have to create 1 VG on each individual path could someone guide me please?&lt;BR /&gt;&lt;BR /&gt;#lsscsi&lt;BR /&gt;[0:2:0:0]    disk    DELL     PERC 6/i         1.22  /dev/sda&lt;BR /&gt;[0:2:1:0]    disk    DELL     PERC 6/i         1.22  /dev/sdb&lt;BR /&gt;[0:2:2:0]    disk    DELL     PERC 6/i         1.22  /dev/sdc&lt;BR /&gt;[0:2:3:0]    disk    DELL     PERC 6/i         1.22  /dev/sdd&lt;BR /&gt;[1:0:0:0]    cd/dvd  PLDS     DVD+-RW DS-8A4S  JD51  /dev/sr0&lt;BR /&gt;[3:0:0:0]    storage HP       HSV450           0953  -       &lt;BR /&gt;[3:0:0:1]    disk    HP       HSV450           0953  /dev/sde&lt;BR /&gt;[3:0:0:2]    disk    HP       HSV450           0953  /dev/sdf&lt;BR /&gt;[3:0:1:0]    disk    EMC      SYMMETRIX        5874  /dev/sdg&lt;BR /&gt;[3:0:1:1]    disk    EMC      SYMMETRIX        5874  /dev/sdh&lt;BR /&gt;[3:0:1:2]    disk    EMC      SYMMETRIX        5874  /dev/sdi&lt;BR /&gt;[5:0:0:0]    storage HP       HSV450           0953  -       &lt;BR /&gt;[5:0:0:1]    disk    HP       HSV450           0953  /dev/sdj&lt;BR /&gt;[5:0:0:2]    disk    HP       HSV450           0953  /dev/sdk&lt;BR /&gt;[5:0:1:0]    disk    EMC      SYMMETRIX        5874  /dev/sdl&lt;BR /&gt;[5:0:1:1]    disk    EMC      SYMMETRIX        5874  /dev/sdm&lt;BR /&gt;[5:0:1:2]    disk    EMC      SYMMETRIX        5874  /dev/sdn&lt;BR /&gt;&lt;BR /&gt;# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 74.8 GB, 74859937792 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 9101 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          33      265041   83  Linux&lt;BR /&gt;/dev/sda2              34        2122    16779892+  83  Linux&lt;BR /&gt;/dev/sda3            2123        2775     5245222+  83  Linux&lt;BR /&gt;/dev/sda4            2776        9101    50813595    5  Extended&lt;BR /&gt;/dev/sda5            2776        4733    15727603+  83  Linux&lt;BR /&gt;/dev/sda6            4734        6691    15727603+  83  Linux&lt;BR /&gt;/dev/sda7            6692        9101    19358293+  83  Linux&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 74.8 GB, 74859937792 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 9101 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/sdb1   *           1        2089    16779861   82  Linux swap / Solaris&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdc: 74.8 GB, 74859937792 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 9101 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;&lt;BR /&gt;Disk /dev/sdd: 74.8 GB, 74859937792 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 9101 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;&lt;BR /&gt;Disk /dev/sde: 3221 MB, 3221225472 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sde doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdf: 3221 MB, 3221225472 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdf doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdg (Sun disk label): 15 heads, 128 sectors, 4 cylinders&lt;BR /&gt;Units = cylinders of 1920 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdg3  u          0         4      3840    5  Whole disk&lt;BR /&gt;/dev/sdg7             0         4      3840    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdg3 (Sun disk label): 15 heads, 128 sectors, 4 cylinders&lt;BR /&gt;Units = cylinders of 1920 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdg3p3  u          0         4      3840    5  Whole disk&lt;BR /&gt;/dev/sdg3p7             0         4      3840    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdg7 (Sun disk label): 15 heads, 128 sectors, 4 cylinders&lt;BR /&gt;Units = cylinders of 1920 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdg7p3  u          0         4      3840    5  Whole disk&lt;BR /&gt;/dev/sdg7p7             0         4      3840    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdh: 3221 MB, 3221422080 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdh doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdi: 3221 MB, 3221422080 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdi doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdj: 3221 MB, 3221225472 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdj doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdk: 3221 MB, 3221225472 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdk doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdl (Sun disk label): 15 heads, 128 sectors, 4 cylinders&lt;BR /&gt;Units = cylinders of 1920 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdl3  u          0         4      3840    5  Whole disk&lt;BR /&gt;/dev/sdl7             0         4      3840    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdl3 (Sun disk label): 15 heads, 128 sectors, 4 cylinders&lt;BR /&gt;Units = cylinders of 1920 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdl3p3  u          0         4      3840    5  Whole disk&lt;BR /&gt;/dev/sdl3p7             0         4      3840    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdl7 (Sun disk label): 15 heads, 128 sectors, 4 cylinders&lt;BR /&gt;Units = cylinders of 1920 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdl7p3  u          0         4      3840    5  Whole disk&lt;BR /&gt;/dev/sdl7p7             0         4      3840    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdm: 3221 MB, 3221422080 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdm doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdn: 3221 MB, 3221422080 bytes&lt;BR /&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;BR /&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdn doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;# pvs&lt;BR /&gt;#vgs&lt;BR /&gt;  No volume groups found&lt;BR /&gt;#dmsetup ls&lt;BR /&gt;No devices found&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Rsmith.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jun 2011 14:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799102#M44528</guid>
      <dc:creator>rsmith_1</dc:creator>
      <dc:date>2011-06-15T14:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set up vg, lv - Getting started on RHEL5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799103#M44529</link>
      <description>&lt;P&gt;The /dev/sd* devices are like HP-UX /dev/(r)dsk/c*t*d* devices: when you're using multipathing, multiple devices can refer to the same disk/LUN via different paths.&lt;BR /&gt;&lt;BR /&gt;You'll want to use multipath devices instead. They will be named /dev/mapper/mpath* by default.&lt;BR /&gt;&lt;BR /&gt;NOTE: as the fdisk output of /dev/sda indicates it's likely your /var is a separate filesystem, it's important that you implement the fix/workaround listed in this RedHat Knowledge Base article before going any further with multipath disk setup:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://access.redhat.com/kb/docs/DOC-17650" target="_blank" rel="noopener"&gt;https://access.redhat.com/kb/docs/DOC-17650&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically:&lt;BR /&gt;- mkdir /etc/multipath&lt;BR /&gt;- mv /var/lib/multipath/bindings /etc/multipath/bindings&lt;BR /&gt;- ln -s /etc/multipath/bindings /var/lib/multipath/bindings&lt;BR /&gt;- add the line "bindings_file /etc/multipath/bindings" to the defaults section of /etc/multipath.conf.&lt;BR /&gt;&lt;BR /&gt;This will avoid trouble later if/when you change your SAN disk configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If your multipathing has not been initialized yet, first comment out the "denied everything" entry from the beginning of /etc/multipath.conf. On RHEL 5.x and older, you might want to add denied entries for your known non-multipathed disks, to minimize cluttering up your configuration.&lt;BR /&gt;&lt;BR /&gt;Then run "multipath -v2" to detect the multipathed devices (-v2 just increases verbosity to tell you what is going on). Then make sure the multipathd daemon is running and will be started automatically at every boot:&lt;BR /&gt;&lt;BR /&gt;service multipathd start&lt;BR /&gt;chkconfig multipathd on&lt;BR /&gt;&lt;BR /&gt;Then, run "multipath -l" to see how many paths each actual disk/LUN has and which device maps to which. The "dmsetup ls --tree" command can do pretty much the same thing.&lt;BR /&gt;&lt;BR /&gt;You'll also want to edit /etc/lvm/lvm.conf a little.&lt;BR /&gt;By default, it includes "preferred_names = [ ]" setting. There is also another commented-out preferred_names line, which is suitable for multipathed use:&lt;BR /&gt;-----&lt;BR /&gt;preferred_names = [ ]&lt;BR /&gt;&lt;BR /&gt;# Try to avoid using undescriptive /dev/dm-N names, if present.&lt;BR /&gt;# preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;Comment out the default preferred_names setting and uncomment the alternative line below it. Then run "vgscan" to refresh LVM device cache.&lt;BR /&gt;&lt;BR /&gt;Now you're ready to start setting up multipathed disks for LVM.&lt;BR /&gt;&lt;BR /&gt;You can use the disks HP-UX style, and pvcreate the "whole disk" device. Or you can use fdisk to create a partition that encompasses the entire disk, and use pvcreate on that. Both ways will work. Creating a PC-style partition allows Windows sysadmins to notice that the LUN is already in use, if it's ever accidentally presented to a Windows system. But on the other hand, it wastes one cylinder's worth of disk capacity and makes the setup slightly more complex. The choice is yours.&lt;BR /&gt;&lt;BR /&gt;You can use either the /dev/mapper/mpath* device or one of the single-path /dev/sd* devices in the pvcreate step: because pvcreate just writes a PV identifier to the actual disk/LUN, you can use any path you like at this step.&lt;BR /&gt;&lt;BR /&gt;After this, you can proceed about the same as with HP-UX. One note though: although Linux LVM looks similar to HP-UX LVM, the internal workings are very different at some points. In particular, exporting/importing a VG does not mean at all the same thing as on HP-UX, and is used much less. On the other hand, Linux vgscan is essentially safe at any situation. (In fact, I think the udev subsystem runs "multipath" and "vgscan" automatically each time new disk devices are detected.)&lt;BR /&gt;&lt;BR /&gt;MK&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 04:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799103#M44529</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2021-05-18T04:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set up vg, lv - Getting started on RHEL5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799104#M44530</link>
      <description>&lt;P&gt;MK&lt;BR /&gt;&lt;BR /&gt;Thanks much. I denied the devices and ran multipath -v2. The /var/lib/multipath/bindings file was never present so mv did not work!&lt;BR /&gt;&lt;BR /&gt;Now my question is&lt;BR /&gt;&lt;BR /&gt;should i pvcreate on /dev/mapper/mpath devices? Here is the ouput after running multipath -v2&lt;BR /&gt;&lt;BR /&gt;# ll /dev/mapper&lt;BR /&gt;total 0&lt;BR /&gt;crw------- 1 root root 10, 63 May 19 19:35 control&lt;BR /&gt;brw-rw---- 1 root disk 253, 0 Jun 16 08:53 mpath2&lt;BR /&gt;brw-rw---- 1 root disk 253, 1 Jun 16 08:53 mpath3&lt;BR /&gt;brw-rw---- 1 root disk 253, 2 Jun 16 08:53 mpath4&lt;BR /&gt;brw-rw---- 1 root disk 253, 3 Jun 16 08:53 mpath5&lt;BR /&gt;brw-rw---- 1 root disk 253, 4 Jun 16 08:53 mpath6&lt;BR /&gt;brw-rw---- 1 root disk 253, 5 Jun 16 08:53 mpath7&lt;BR /&gt;brw-rw---- 1 root disk 253, 6 Jun 16 08:53 mpath8&lt;BR /&gt;# ll /dev/mpath&lt;BR /&gt;total 0&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath2 -&amp;gt; ../dm-0&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath3 -&amp;gt; ../dm-1&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath4 -&amp;gt; ../dm-2&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath5 -&amp;gt; ../dm-3&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath6 -&amp;gt; ../dm-4&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath7 -&amp;gt; ../dm-5&lt;BR /&gt;lrwxrwxrwx 1 root root 7 Jun 16 08:53 mpath8 -&amp;gt; ../dm-6&lt;BR /&gt;# multipath -l&lt;BR /&gt;mpath2 (36842b2b00d276d001426440d09714243) dm-0 DELL,PERC 6/i&lt;BR /&gt;[size=70G][features=0][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 0:2:2:0 sdc 8:32 [active][undef]&lt;BR /&gt;mpath8 (360000970000192601379533030363639) dm-6 EMC,SYMMETRIX&lt;BR /&gt;[size=3.0G][features=1 queue_if_no_path][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 3:0:1:2 sdi 8:128 [active][undef]&lt;BR /&gt;\_ 5:0:1:2 sdn 8:208 [active][undef]&lt;BR /&gt;mpath7 (360000970000192601379533030363638) dm-5 EMC,SYMMETRIX&lt;BR /&gt;[size=3.0G][features=1 queue_if_no_path][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 3:0:1:1 sdh 8:112 [active][undef]&lt;BR /&gt;\_ 5:0:1:1 sdm 8:192 [active][undef]&lt;BR /&gt;mpath6 (360000970000192601379533030303534) dm-4 EMC,SYMMETRIX&lt;BR /&gt;[size=5.6M][features=1 queue_if_no_path][hwhandler=0][ro]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 3:0:1:0 sdg 8:96 [active][undef]&lt;BR /&gt;\_ 5:0:1:0 sdl 8:176 [active][undef]&lt;BR /&gt;mpath5 (36001438005ded0a80000800008a10000) dm-3 HP,HSV450&lt;BR /&gt;[size=3.0G][features=1 queue_if_no_path][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 3:0:0:2 sdf 8:80 [active][undef]&lt;BR /&gt;\_ round-robin 0 [prio=0][enabled]&lt;BR /&gt;\_ 5:0:0:2 sdk 8:160 [active][undef]&lt;BR /&gt;mpath4 (36001438005ded0a800008000089d0000) dm-2 HP,HSV450&lt;BR /&gt;[size=3.0G][features=1 queue_if_no_path][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 5:0:0:1 sdj 8:144 [active][undef]&lt;BR /&gt;\_ round-robin 0 [prio=0][enabled]&lt;BR /&gt;\_ 3:0:0:1 sde 8:64 [active][undef]&lt;BR /&gt;mpath3 (36842b2b00d276d001426441d0a6ba0ce) dm-1 DELL,PERC 6/i&lt;BR /&gt;[size=70G][features=0][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=0][active]&lt;BR /&gt;\_ 0:2:3:0 sdd 8:48 [active][undef]&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Rsmith.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 04:04:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799104#M44530</guid>
      <dc:creator>rsmith_1</dc:creator>
      <dc:date>2021-05-18T04:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set up vg, lv - Getting started on RHEL5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799105#M44531</link>
      <description>&lt;P&gt;&amp;gt; The /var/lib/multipath/bindings file was never present so mv did not work!&lt;BR /&gt;&lt;BR /&gt;Yeah, I tried write my instructions to cover any possible situation, since I didn't know if you already had removed the denied or not. As you hadn't, the multipath subsystem should now generate the bindings file directly to /etc/multipath/bindings, which was the desired result of that exercise.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; should i pvcreate on /dev/mapper/mpath devices?&lt;BR /&gt;&lt;BR /&gt;In principle, yes... but since pvcreate will be writing to the *disk* at the end of the paths, any way to refer to a particular disk works.&lt;BR /&gt;&lt;BR /&gt;For example, if you want to pvcreate the EMC LUN with the WWID ...363639, you can run either "pvcreate /dev/mapper/mpath8", "pvcreate /dev/sdi" or "pvcreate /dev/sdn" - all these commands will have exactly the same result: the disk will be assigned a PV UUID and the PV header (including the UUID) will be written to the disk.&lt;BR /&gt;&lt;BR /&gt;If you made the /etc/lvm/lvm.conf change I suggested, you'll find LVM will now prefer the "mpath*" devices if the same PV UUID can be detected on multiple disk devices. For example, if you run "pvcreate /dev/sdn" and then run "pvs", it will tell you that "mpath8" is now a LVM PV that is not yet used in any VG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you want, you could also set up a PC-style partition table on each disk. For example:&lt;BR /&gt;- run "fdisk /dev/mapper/mpath8" (or "fdisk /dev/sdn" if you want), and create a single partition that encompasses the whole disk&lt;BR /&gt;- run "kpartx" to create the multipathed partition device /dev/mapper/mpath8p1: normally it would be detected automatically along with the disk itself, but not now since you created the partition after the disk was already detected&lt;BR /&gt;- run "pvcreate /dev/mapper/mpath8p1"&lt;BR /&gt;&lt;BR /&gt;MK&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 04:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799105#M44531</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2021-05-18T04:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set up vg, lv - Getting started on RHEL5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799106#M44532</link>
      <description>MK&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Roger.</description>
      <pubDate>Fri, 17 Jun 2011 11:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-up-vg-lv-getting-started-on-rhel5/m-p/4799106#M44532</guid>
      <dc:creator>rsmith_1</dc:creator>
      <dc:date>2011-06-17T11:41:58Z</dc:date>
    </item>
  </channel>
</rss>

