Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: RH Multipath

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    RH Multipath


    I have added a new LUN to a RHEL5 32-bit server and multipath has picked up the 3 new paths:


    I have created a new LVM partition using fdisk ("fdisk /dev/dm-8")

    Everything went fine and I can see the paths associated with the dm-8 etc. However when I run fdisk I can see that the path devices (sdc & sdd) show as having no valid partition table.

    Should I use fdisk to create identical LVM partitions on these devices also or is it fine to leave them as they are?

    I have yet to do my LVM config until I am sure.



  2. #2
    Linux Newbie arespi's Avatar
    Join Date
    May 2011
    Monterrey , Mexico
    From the LVM manager you should be able to iniialize the device and make the LVM. Once I got an error that said that the device could not be initialized, so I formatted each of the partitions sda,sdb, etc. Once formatted the device dm could be initialized without problems.

    Good luck

  3. #3
    I have no problem initializing the device, once I pvcreate the dm I can contine with LVM and create the VG and the lv and FS etc.

    My issue concerns the fdisk output. The fact that the the other dm paths do not have a valid partition table - will this cause redundancy issues? .......should I create the partition table on each of the alternate paths (sdc & sdd) like I did with the dm device?


  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    May 2012
    Hi, Harry. Here is my method. May be it can help you.
    # find out our divice with id
    ls -la /dev/disk/by-id/
    # Creating physical volume 
    pvcreate /dev/disk/by-id/scsi-36006016034842400b05f2a8f8da3e011
    # Creating volume group
    vgcreate virt /dev/disk/by-id/scsi-36006016034842400b05f2a8f8da3e011
    # list volume groups
    # vgdisplay
    # Creating logical volume
    lvcreate virt --size 362.76G
    ls -la /dev/virt
    # creating filesystem on the LUN
    mkfs.ext3 /dev/mapper/virt-lvol0
    # and the last step is mounting
    mount /dev/mapper/virt-lvol0 /var/lib/vz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts