Proxmox stops recognizing second disk with a directory type storage when clustering

panoramix866

New Member
Aug 14, 2019
3
0
1
38
Hi, I had 2 proxmox 6.1-5 each with a disk for the system and a second disk mounted using the GUI that contains a single directory-type storage for storing ISO and dump files. After a cluster with the 2 nodes, the disk of the 2nd node does not appear in the GUI, only the LVM-Thin partition, an NFS and the Local partition are shown. However, in the 2nd node the disk is still mounted and I have access to the information it contains per comand line. When reviewing the storage.cfg file, it only contains the configuration of the 1st node. in pve2 a storage called Datos2 should appear. I don't know what could be happening because I joined the nodes in a cluster using the GUI options. Thank you in advance for your help.
 

Attachments

  • proxmox.png
    proxmox.png
    111.9 KB · Views: 15
hi,

if you check/edit the storage configuration (datacenter->storage->Datos1) there you can select the nodes on which the storage should be available (in the top right corner of the edit window there is a 'node selector')
 
hi,

if you check/edit the storage configuration (datacenter->storage->Datos1) there you can select the nodes on which the storage should be available (in the top right corner of the edit window there is a 'node selector')

Hello, thanks for the answer. What you say me is what proxmox does for share storage between nodes, and it is not the problem I have right now. The images shows the storages that proxmox recognizes, but the Data2 partition that is mounted in pve2 does not appear and is a physical disk with a directory type storage.

Before doing the cluster I had the following:
* storage in pve1:
STORAGE-------------TYPE---------------DISK-----------------------MOUNT POINT
local-----------------directory--------/dev/sda--------------------proxmox default
local-lvm----------LVM-Thin--------/deb/sda---------------------proxmox default
Data1-------------- directory --------/dev/sdb---------------------/mnt/pve/Datos1
NFS-Share -----------NFS------------Remote NFS Server

* storage in pve2:
STORAGE-------------TYPE---------------DISK-----------------------MOUNT POINT
local-----------------directory--------/dev/sda--------------------proxmox default
local-lvm----------LVM-Thin--------/deb/sda---------------------proxmox default
Data2-------------- directory --------/dev/sdb---------------------/mnt/pve/Datos2
NFS-Share -----------NFS------------Remote NFS Server

After doing the cluster proxmox recognizes all partitions except Data2, as shown in the images.
 

Attachments

  • Screenshot_20200203_093217.png
    Screenshot_20200203_093217.png
    27.6 KB · Views: 10
  • Screenshot_20200203_093242.png
    Screenshot_20200203_093242.png
    28.2 KB · Views: 9
when you join a node to a cluster, all its configs are lost (e.g. users, storages, etc) so its best to join an empty node
simply add the storage again in 'datacenter->storage'
 
Hello, the solution I found was to modify the file storage.cfg by hand, copying what was generated by proxmox for Data1 and modifying the path to the storage that was already created on the sdb disk in pve2. I did it this way because the directory contained several big size backups. Thank you.
 

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!