When a disk connected to Proxmox Backup Server (PBS) via SAN comes with dual fiber connections, it may appear as two separate disks. In reality, these are two paths leading to the same physical disk. To avoid confusion and ensure high availability, multipath should be configured so that the system recognizes them as a single device.
This guide explains how to set up multipath on PBS and then add the disk as a datastore.
apt update
apt install multipath-tools
Create or edit the /etc/multipath.conf
file and add the following:
defaults {
user_friendly_names yes
find_multipaths yes
}
multipaths {
multipath {
wwid 36005076812810509b00000000000004e
alias san_backup40T
}
}
Note: Replace the
wwid
value with the one from your own system.
You can find it by running:multipath -ll
systemctl enable multipathd
systemctl restart multipathd
multipath -ll
ls -l /dev/mapper/san_backup40T
At this point, the disk should be visible as a single device:/dev/mapper/san_backup40T
You can use either ext4 or xfs.
For ext4:
mkfs.ext4 /dev/mapper/san_backup40T
For xfs:
mkfs.xfs /dev/mapper/san_backup40T
mkdir -p /mnt/datastore/backup40t
Add the following line to /etc/fstab
:
For ext4:
/dev/mapper/san_backup40T /mnt/datastore/backup40t ext4 defaults 0 2
For xfs:
/dev/mapper/san_backup40T /mnt/datastore/backup40t xfs defaults 0 2
Then apply:
mount -a
df -h | grep backup40t
backup40t
/mnt/datastore/backup40t
With these steps, you can successfully configure multipath on Proxmox Backup Server and add your SAN disk as a datastore. Multipath ensures redundancy—if one fiber path fails, the other automatically takes over—providing a reliable and highly available backup infrastructure.