Multipath with HPE 3par SAN storage wipe issues

nishikonsam

New Member
Dec 16, 2023
4
0
1
I am new in proxmox, after installing multipath with HPE 3par storage, disks are showing as multipath member, can not wipe the disk error,
Please share how to wipe the disk.
 
We are testing now with HP P2000 storage . Presented LUN from P2000 . Configured Multipath . Now it is showing the LUN as mpath_member (Fig-1).
When we try to wipe the disk it is not given the permission to wipe. (Fig-2)
 

Attachments

  • fig-1.png
    fig-1.png
    93.8 KB · Views: 41
  • fig-2.png
    fig-2.png
    99.9 KB · Views: 37
Thank you for the information. The device is part of the multipath and therefore cannot be wiped individually as shown in the GUI. You may need to wipe the multipathed disk on the commandline or deconfigure multipath, wipe the disk over the GUI and then configure multipath again.
 
Thank you for your prompt reply. Can you give the command for wiping the multipathed disk and mount the disk.
Thank you
 
If I create pve create from command it takes the disk as LVM volume. I can not add any file types accept disk image and conteners. I can not create as directory storage type with LVM. So, Kindly share the steps for creating multipath disk as directory storage.

Thank you.
 
Can you give the command for wiping the multipathed disk and mount the disk.
Wiping is no problem, this was discussed e.g. here. Mounting on the other hand depends on what storage do you want to run on the multipathed disk.

In general, any multipathed LUNs on a PVE cluster are normally thick-LVM provisioned and just added to PVE. The aforementioned link contains links to other threads which solved a similar problem.
 
I am also facing the same problem at my environment. I am doing bellow steps for formatting. please check.
dd if=/dev/zero of=/dev/mapper/mpathc bs=512 count=1 conv=notrunc
kpartx -a /dev/mapper/mpathc
fdisk /dev/mapper/mpathc
pvcreate /dev/mapper/mpathc-part1
vgcreate test /dev/mapper/mpathc-part1

but if I do fdisk in extended partition type I am not able to create PV. But if I change the partition type Linux LVM , then I able to create PV.


Also I want to know how to change the lvm volume to lvm-thin volume.
 
dd if=/dev/zero of=/dev/mapper/mpathc bs=512 count=1 conv=notrunc
That is no wiping. Wiping should remove ALL date from the disk and not only the first (old-school) sector of 512 bytes.


fdisk /dev/mapper/mpathc
Do not format a SAN-given LUN. This is a recipe for performance problems with non-alignment access. Just use the block device as is. Partitions are a relict from dos and windows days.