Storage unavailable on other nodes in a cluster

Feb 17, 2020
106
22
38
45
We have a 2-node Proxmox cluster a 3TB hard drive storage attached to node 1):

1598731353567.png

It also shows up on node 2), however it's status is 'unavailabe' and I can't use it in any of the VMs:

1598731422638.png

1598731454186.png

1598731478717.png

Am I supposed to be able to use this storage?
 
Hi @Moayad, sorry for the late answer, posting below:

1) node1 (where the storage is located):

Code:
$ cat /etc/pve/storage.cfg
dir: local
    path /var/lib/vz
    content iso,vztmpl,backup

lvmthin: local-lvm
    thinpool data
    vgname pve
    content images,rootdir

lvm: wd3tb
    vgname wd3tb
    content images,rootdir
    shared 0

2) node2 (where I'd like to use the storage in a VM):

Code:
$ cat /etc/pve/storage.cfg
dir: local
    path /var/lib/vz
    content iso,vztmpl,backup

lvmthin: local-lvm
    thinpool data
    vgname pve
    content images,rootdir

lvm: wd3tb
    vgname wd3tb
    content images,rootdir
    shared 0
 
Hi @Moayad, sure:

1) node 1
Code:
pvesm status
Name             Type     Status           Total            Used       Available        %
local             dir     active        98559220         3368124        90141548    3.42%
local-lvm     lvmthin     active       366276608       107062652       259213955   29.23%
wd3tb             lvm     active      2930229248      1048576000      1881653248   35.78%

2) node2
Code:
  Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
Name             Type     Status           Total            Used       Available        %
local             dir     active        98559220         3342212        90167460    3.39%
local-lvm     lvmthin     active       354791424        89549355       265242068   25.24%
wd3tb             lvm   inactive               0               0               0    0.00%
 
then? what is the solution?

nervermind... -> pvesm remove "storage"
 
Last edited: