Problem with Planning Storage for a Cluster with 2 Nodes

mosczq

Member
Jan 26, 2021
14
0
6
29
Hello, guys,

I have created a cluster with 2 nodes (planning to expand to 3 nodes in the future).
However, I'm facing an issue. I have two dedicated servers, each equipped with RAID 1 consisting of three SSDs, and on both servers, this volume is identified as /dev/md4, boasting a capacity of 3.5TB. The same volumes are present on both dedicated machines. I've successfully created an identical volume group on the dedicated servers and added it to the storage. Everything seems fine, but during the migration process, when I attempted to create vol1-data, I encountered an issue. During the migration, I received the message, "you can't move to the same storage with the same format (500)".

I dont want use ceph or other systemfiles.

In the future, I would like to be able to migrate storage between hypervisors.

HV1 ) /etc/pve/storage.cfg
Code:
dir: local

        path /var/lib/vz

        content snippets,rootdir,images,backup,vztmpl,iso

        prune-backups keep-all=1

        shared 1


dir: isos

        path /var/lib/vz/iso

        content images,iso

        shared 1


dir: data

        path /var/lib/vz/vm-data1

        content images

        nodes px02,px01

        prune-backups keep-all=1

        shared 1


lvm: vol-ssd-1

        vgname vol-ssd-1

        content rootdir,images

        saferemove 1

        shared 1


HV2) /etc/pve/storage.cfg

Code:
dir: local
        path /var/lib/vz
        content snippets,rootdir,images,backup,vztmpl,iso
        prune-backups keep-all=1
        shared 1


dir: isos
        path /var/lib/vz/iso
        content images,iso
        shared 1


dir: data
        path /var/lib/vz/vm-data1
        content images
        nodes px02,px01
        prune-backups keep-all=1
        shared 1


lvm: vol-ssd-1
        vgname vol-ssd-1
        content rootdir,images
        saferemove 1
        shared 1
 
Last edited:

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!