[SOLVED] How to initizlize remote iSCSI LUN device with multipath?

aasami

Renowned Member
Mar 9, 2016
55
11
73
24
I have exported an iSCSI LUN with multipath to a PBS server in the SAN.
How should I initialize this remote disk? It doesn't show up in drive list.
Bash:
# lsscsi
[1:0:0:0]    cd/dvd  QEMU     QEMU DVD-ROM     2.5+  /dev/sr0
[2:0:0:0]    disk    QEMU     QEMU HARDDISK    2.5+  /dev/sda
[3:0:0:0]    disk    HP       MSA 2040 SAN     G210  /dev/sdb
[4:0:0:0]    disk    HP       MSA 2040 SAN     G210  /dev/sdc
#
Bash:
# multipath -l
msa2040 (3600c0ff000257f9f161bbd5f01000000) dm-2 HP,MSA 2040 SAN
size=5.0T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=0 status=active
| `- 3:0:0:0 sdb 8:16 active undef running
`-+- policy='round-robin 0' prio=0 status=enabled
  `- 4:0:0:0 sdc 8:32 active undef running
#
Bash:
# proxmox-backup-manager disk list
┌──────┬──────┬─────┬───────────┬────────────┬───────────────┬─────────┬────────┐
│ name │ used │ gpt │ disk-type │       size │ model         │ wearout │ status │
╞══════╪══════╪═════╪═══════════╪════════════╪═══════════════╪═════════╪════════╡
│ sda  │ lvm  │   1 │ hdd       │ 8589934592 │ QEMU_HARDDISK │       - │ passed │
└──────┴──────┴─────┴───────────┴────────────┴───────────────┴─────────┴────────┘
#
Bash:
# proxmox-backup-manager disk initialize /dev/mapper/msa2040
Error: parameter verification errors

parameter 'disk': value does not match the regex pattern

Usage: proxmox-backup-manager <disk> [OPTIONS]
<disk>     <string>
             Block device name (/sys/block/<name>).

Optional parameters:

--uuid     <string>
             UUID for the GPT table.

# ls -l /dev/mapper/msa2040
lrwxrwxrwx 1 root root 7 nov 24 15:18 /dev/mapper/msa2040 -> ../dm-2
# proxmox-backup-manager disk initialize dm-2
Error: parameter verification errors

parameter 'disk': value does not match the regex pattern

Usage: proxmox-backup-manager <disk> [OPTIONS]
<disk> <string>
Block device name (/sys/block/<name>).

Optional parameters:

--uuid <string>
UUID for the GPT table.

#
 
we do not support multipath devices with our helper, but it is just a thin wrapper around the various linux utils like gdisk/mkfs/etc...

so you could always create a partition/lvm/filesystem yourself on those disks and simply create a datastore that point to it
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!