<?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: multipath setup with partitioned disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204030#M51333</link>
    <description>Yes:&lt;BR /&gt;&lt;BR /&gt;root ~]# fdisk -l /dev/mapper/mpath1&lt;BR /&gt;&lt;BR /&gt;Disk /dev/mapper/mpath1 (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;Device Flag Start End Blocks Id System&lt;BR /&gt;/dev/mapper/mpath1p1 1 15626 60000000 83 Linux native&lt;BR /&gt;/dev/mapper/mpath1p2 15627 31252 60000000 83 Linux native&lt;BR /&gt;/dev/mapper/mpath1p3 u 31253 46878 60000000 83 Linux native&lt;BR /&gt;[root ~]#</description>
    <pubDate>Wed, 14 Oct 2009 11:01:00 GMT</pubDate>
    <dc:creator>MikeL_4</dc:creator>
    <dc:date>2009-10-14T11:01:00Z</dc:date>
    <item>
      <title>multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204028#M51331</link>
      <description>I am running Red Hat AS4, and have multipath setup and running...&lt;BR /&gt;&lt;BR /&gt;I've partitioned one of the disk into three (3) partitions:&lt;BR /&gt;&lt;BR /&gt;[root ~]# fdisk -l /dev/dm-2&lt;BR /&gt;Disk /dev/dm-2 (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/dm-2p1             1     15626  60000000   83  Linux native&lt;BR /&gt;/dev/dm-2p2         15627     31252  60000000   83  Linux native&lt;BR /&gt;/dev/dm-2p3  u      31253     46878  60000000   83  Linux native&lt;BR /&gt;[root ~]#&lt;BR /&gt;&lt;BR /&gt;The /dev/mapper directory shows the mpath1 which I have partitioned:&lt;BR /&gt;[root ~]# ls -al /dev/mapper&lt;BR /&gt;total 0&lt;BR /&gt;drwxr-xr-x   2 root root     180 Oct 14 09:34 .&lt;BR /&gt;drwxr-xr-x  11 root root    7400 Oct 14 09:35 ..&lt;BR /&gt;crw-------   1 root root  10, 63 Oct 14 09:34 control&lt;BR /&gt;brw-rw----   1 root disk 253,  2 Oct 14 09:34 mpath1&lt;BR /&gt;brw-rw----   1 root disk 253,  3 Oct 14 09:34 mpath2&lt;BR /&gt;brw-rw----   1 root disk 253,  4 Oct 14 09:34 mpath3&lt;BR /&gt;brw-rw----   1 root disk 253,  5 Oct 14 09:34 mpath4&lt;BR /&gt;brw-rw----   1 root disk 253,  0 Oct 14 09:34 VolGroup00-LogVol00&lt;BR /&gt;brw-rw----   1 root disk 253,  1 Oct 14 09:34 VolGroup00-LogVol01&lt;BR /&gt;[root ~]#&lt;BR /&gt;&lt;BR /&gt;[root ~]# fdisk -l /dev/mapper/mpath1&lt;BR /&gt;&lt;BR /&gt;Disk /dev/mapper/mpath1 (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;             Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/mapper/mpath1p1             1     15626  60000000   83  Linux native&lt;BR /&gt;/dev/mapper/mpath1p2         15627     31252  60000000   83  Linux native&lt;BR /&gt;/dev/mapper/mpath1p3  u      31253     46878  60000000   83  Linux native&lt;BR /&gt;[root ~]#&lt;BR /&gt;&lt;BR /&gt;The question I have is where are the device files for each partition ?? or how do I create them, I've tried the kpartx command but it doesn't produce any results...&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 14 Oct 2009 00:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204028#M51331</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-10-14T00:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204029#M51332</link>
      <description>Can t you see device files with command:&lt;BR /&gt;&lt;BR /&gt;# fdisk -l &lt;BR /&gt;&lt;BR /&gt;Most left column ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2009 10:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204029#M51332</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-10-14T10:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204030#M51333</link>
      <description>Yes:&lt;BR /&gt;&lt;BR /&gt;root ~]# fdisk -l /dev/mapper/mpath1&lt;BR /&gt;&lt;BR /&gt;Disk /dev/mapper/mpath1 (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;Device Flag Start End Blocks Id System&lt;BR /&gt;/dev/mapper/mpath1p1 1 15626 60000000 83 Linux native&lt;BR /&gt;/dev/mapper/mpath1p2 15627 31252 60000000 83 Linux native&lt;BR /&gt;/dev/mapper/mpath1p3 u 31253 46878 60000000 83 Linux native&lt;BR /&gt;[root ~]#</description>
      <pubDate>Wed, 14 Oct 2009 11:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204030#M51333</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-10-14T11:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204031#M51334</link>
      <description>OK, &lt;BR /&gt;Did you try this way: (do not put dev path after the command)&lt;BR /&gt;&lt;BR /&gt;fdisk -l &lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2009 11:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204031#M51334</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-10-14T11:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204032#M51335</link>
      <description>The disk I partitioned is:&lt;BR /&gt;&lt;BR /&gt;mpath1 (360060480000190101036533030323330)&lt;BR /&gt;[size=181 GB][features="0"][hwhandler="0"]&lt;BR /&gt;\_ round-robin 0 [active]&lt;BR /&gt; \_ 3:0:0:24  sdb 8:16  [active]&lt;BR /&gt; \_ 5:0:0:24  sdg 8:96  [active]&lt;BR /&gt;&lt;BR /&gt;[root ~]# clear;fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 292.3 GB, 292326211584 bytes&lt;BR /&gt;13 heads, 9 sectors/track, 4879911 cylinders&lt;BR /&gt;Units = cylinders of 117 * 512 = 59904 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sda1   *           1        8752      511987+  83  Linux&lt;BR /&gt;/dev/sda2            8753     4879911   284962801+  8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdb1             1     15626  60000000   83  Linux native&lt;BR /&gt;/dev/sdb2         15627     31252  60000000   83  Linux native&lt;BR /&gt;/dev/sdb3  u      31253     46878  60000000   83  Linux native&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdc: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdc doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdd: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdd doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sde: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 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 (Sun disk label): 15 heads, 128 sectors, 1 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/sdf3  u          0         1       960    5  Whole disk&lt;BR /&gt;/dev/sdf7             0         1       960    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdf3 (Sun disk label): 15 heads, 128 sectors, 1 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/sdf3p3  u          0         1       960    5  Whole disk&lt;BR /&gt;/dev/sdf3p7             0         1       960    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdf7 (Sun disk label): 15 heads, 128 sectors, 1 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/sdf7p3  u          0         1       960    5  Whole disk&lt;BR /&gt;/dev/sdf7p7             0         1       960    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdg (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sdg1             1     15626  60000000   83  Linux native&lt;BR /&gt;/dev/sdg2         15627     31252  60000000   83  Linux native&lt;BR /&gt;/dev/sdg3  u      31253     46878  60000000   83  Linux native&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdh: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 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: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 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: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 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 (Sun disk label): 15 heads, 128 sectors, 1 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/sdk3  u          0         1       960    5  Whole disk&lt;BR /&gt;/dev/sdk7             0         1       960    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdk3 (Sun disk label): 15 heads, 128 sectors, 1 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/sdk3p3  u          0         1       960    5  Whole disk&lt;BR /&gt;/dev/sdk3p7             0         1       960    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdk7 (Sun disk label): 15 heads, 128 sectors, 1 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/sdk7p3  u          0         1       960    5  Whole disk&lt;BR /&gt;/dev/sdk7p7             0         1       960    4  SunOS usr&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-2 (Sun disk label): 60 heads, 128 sectors, 49606 cylinders&lt;BR /&gt;Units = cylinders of 7680 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;    Device Flag    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/dm-2p1             1     15626  60000000   83  Linux native&lt;BR /&gt;/dev/dm-2p2         15627     31252  60000000   83  Linux native&lt;BR /&gt;/dev/dm-2p3  u      31253     46878  60000000   83  Linux native&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-3: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-3 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-4: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-4 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-5: 195.0 GB, 195066593280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 23715 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-5 doesn't contain a valid partition table&lt;BR /&gt;[root ~]#</description>
      <pubDate>Wed, 14 Oct 2009 11:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204032#M51335</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-10-14T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204033#M51336</link>
      <description>&amp;gt; Disk /dev/dm-2 (Sun disk label) [...]&lt;BR /&gt;&lt;BR /&gt;You seem to be using a Sun-style disklabel instead of a standard PC DOS-style partition table. The device-mapper-multipath documentation seems to indicate that kpartx understands only DOS-style partitions.&lt;BR /&gt;&lt;BR /&gt;Is it possible that this LUN was used by a Solaris system before it was assigned to your Linux? The Solaris system might have left a Solaris disk label on the LUN, and Linux fdisk has recognized it and kept on using it. If you want to partition this disk so that kpartx can understand it, use the "o" command of fdisk to switch the partition table format to DOS-style.&lt;BR /&gt;&lt;BR /&gt;If this is going to be a data LUN, you might be better served by "pvcreate /dev/mapper/mpath1" and using the entire LUN as a PV for LVM, skipping the partitioning step altogether.&lt;BR /&gt;&lt;BR /&gt;You should remember that absolute maximum LUN size with DOS-style partition table is 2 terabytes (2^32 disk blocks). &lt;BR /&gt;Soon the increasing average workstation disk size will force the DOS-style partition table to become obsolete, so prepare to learn new things.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 14 Oct 2009 12:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204033#M51336</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-10-14T12:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204034#M51337</link>
      <description>It's possible this LUN was reassigned from a Solaris server, I don't control the SAN, and have to use what is given...&lt;BR /&gt;&lt;BR /&gt;The other LUN's I did do a pvcreate on the entire LUN for LVM, this disk is partitioned up so that it can be used by Oracle for RAW space..., therefore I can'd use pvcreate..&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2009 12:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204034#M51337</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-10-14T12:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204035#M51338</link>
      <description>I removed the Solaris label and put on a DOS label, and that resolved the issue...&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2009 17:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204035#M51338</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-10-14T17:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: multipath setup with partitioned disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204036#M51339</link>
      <description>Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2009 17:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-setup-with-partitioned-disk/m-p/5204036#M51339</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-10-14T17:33:34Z</dc:date>
    </item>
  </channel>
</rss>

