On 2017/11/7 19:02, BASSAGET Cédric wrote: > I've set-up a lab with a 2-node OCFS2 cluster and a new third one. > > I ran, on the two nodes : > o2cb_ctl -C -i -n hostC -t node -a number=2 -a ip_address=192.168.0.18 > -a ip_port=7777 -a cluster=ocfs2 > systemctl reload ocfs2 > > then I copied the config file on hostC and restart ocfs2 on hostC. > > I get the error : > [ 7594.853214] (mount.ocfs2,11753,0):ocfs2_find_slot:490 ERROR: no free > slots available! > [ 7594.853467] (mount.ocfs2,11753,0):ocfs2_mount_volume:1859 ERROR: > status = -22 > > Any idea ? Hi,
I think this may be caused by two possible reasons: 1. You are mount ocfs2 while doing mkfs 2. You configured your cluster maximum slot to 2. You can use debugfs.ocfs2 to make sure what maximum slot you configured. Thanks, Changwei > > 2017-11-07 8:37 GMT+01:00 BASSAGET Cédric <cedric.bassaget...@gmail.com > <mailto:cedric.bassaget...@gmail.com>>: > > Hello, > I'm currently running an OCFS2 cluster on two hosts. > My ocfs2 partition is an iscsi disk mounted on both hosts. > > I need to add a third host to this cluster. > I've set up iscsi (& multipath), but now I'm looking for the > correct way to add the ocfs2 partition to my existing cluster. > > Actual hosts : hostA and hostB (same config) : > root@hostA:~# cat /etc/ocfs2/cluster.conf > node: >     ip_port = 7777 >     ip_address = 192.168.155.16 >     number = 1 >     name = virtm5 >     cluster = ocfs2 > node: >     ip_port = 7777 >     ip_address = 192.168.155.17 >     number = 2 >     name = virtm6 >     cluster = ocfs2 > cluster: >     node_count = 2 >     name = ocfs2 > > hostC has no cluster.conf file. > > How do I "Live-add" hostC to this existing cluster ? I did not find > a doc explaining this. Maybe I did not look in the right place... > Found that : > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.waldersten.net_content.php-3F_archives_61-2DAdd-2DOCFS2-2Dnode-2Dto-2Donline-2Dcluster.html&d=DwIFAw&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=wXmkJNAUtutY0U9inuQWCbzSSRji5zLpyR0a_Mek4jM&m=l0zcLmA6UBlW7CEmhBlW4E57AOLBfUfmpeup9AvTPqI&s=7l-chzEu5syF6mGLU2Za6UxxmbMfomgcyWmSvS1cuic&e= > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.waldersten.net_content.php-3F_archives_61-2DAdd-2DOCFS2-2Dnode-2Dto-2Donline-2Dcluster.html&d=DwMFaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=wXmkJNAUtutY0U9inuQWCbzSSRji5zLpyR0a_Mek4jM&m=S4rtHTCCLTEz4uJSf3vcOPhgc5P0uiR5olS--k7Sx1U&s=BJRSHas5eCx6pxrNx4EAli6_8wgGJJhwck10fffvEwY&e=> > but I would prefer an official doc. > > Regards, > Cédric > > _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-users