Proxmox Backup Server Multipath Configuration and Disk Addition


Proxmox Backup Server Multipath Configuration and Disk Addition

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.


1. Install Multipath Tools

apt update
apt install multipath-tools

2. Configure Multipath

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

3. Enable and Restart the Service

systemctl enable multipathd
systemctl restart multipathd

4. Verify Multipath

multipath -ll
ls -l /dev/mapper/san_backup40T

At this point, the disk should be visible as a single device:
/dev/mapper/san_backup40T


5. Format the Disk

You can use either ext4 or xfs.

For ext4:

mkfs.ext4 /dev/mapper/san_backup40T

For xfs:

mkfs.xfs /dev/mapper/san_backup40T

6. Create a Mount Point

mkdir -p /mnt/datastore/backup40t

7. Edit fstab for Persistent Mount

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

8. Add Datastore in PBS Web Interface

  1. Log in to the PBS web interface.
  2. Navigate to Datastore → Add → Datastore.
  3. Fill in the fields:
    • Name: backup40t
    • Directory: /mnt/datastore/backup40t
  4. Click Add.

✅ Conclusion

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.

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous Post

Next Post

Son yorumlar

No comments to show.
Bize Katılın
  • Facebook38.5K
  • X Network32.1K
  • Behance56.2K
  • Instagram18.9K

En Son ve En Önemli Haberlerden Haberdar Olun

I consent to receive newsletter via email. For further information, please review our Privacy Policy

Kategoriler

Reklam

Loading Next Post...
Takip et
Search
Popüler
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...