Hi,
I have a beegfs setup in which there are 2 storage servers, each serving 4 storage targets. When i tried to check the target details , it seems that 1 nodeID got registered 4 times -
[root@client1 ]# beegfs-ctl --listtargets --nodetype=storage --state --longnodes
TargetID Reachability Consistency NodeID
======== ============ =========== ======
1 Online Good beegfs-storage storageA-storage1-d01 [ID: 1]
2 Online Good beegfs-storage storageA-storage1-d01 [ID: 1]
3 Online Good beegfs-storage storageA-storage1-d01 [ID: 1]
4 Online Good beegfs-storage storageA-storage1-d01 [ID: 1]
5 Online Good beegfs-storage storageB-storage1-d05 [ID: 2]
6 Online Good beegfs-storage storageB-storage1-d05 [ID: 2]
7 Online Good beegfs-storage storageB-storage1-d05 [ID: 2]
8 Online Good beegfs-storage storageB-storage1-d05 [ID: 2]
I intended to setup the following storage targets from serverA and B-
[root@storageA ~]# cat /beegfs/storageA-storage1-*/nodeID
storageA-storage1-d01
storageA-storage1-d02
storageA-storage1-d03
storageA-storage1-d04
[root@storageB ~]# cat /beegfs/storageB-storage1-*/nodeID
storageB-storage1-d05
storageB-storage1-d06
storageB-storage1-d07
storageB-storage1-d08
i am setting the beegfs for the first time, so i think the output should have been -
TargetID Reachability Consistency NodeID
======== ============ =========== ======
1 Online Good beegfs-storage storageA-storage1-d01 [ID: ??]
2 Online Good beegfs-storage storageA-storage1-d02 [ID: ??]
3 Online Good beegfs-storage storageA-storage1-d03 [ID: ??]
4 Online Good beegfs-storage storageA-storage1-d04 [ID: ??]
5 Online Good beegfs-storage storageB-storage1-d05 [ID: ??]
6 Online Good beegfs-storage storageB-storage1-d06 [ID: ??]
7 Online Good beegfs-storage storageB-storage1-d07 [ID: ??]
8 Online Good beegfs-storage storageB-storage1-d08 [ID: ??]
We had a script to set things up so, looking at the output which may have registered storageA-storage1-d01 4 times for serverA and 4 times storageB-storage1-d05 for serverB.
example -
beegfs-setup-storage -c /etc/beegfs/beegfs-storage.conf -p /beegfs/storageA-storage1-d${d} -m mgmt -S storageA-storage1-d${d}
but when i check the free space i get -
[root@client1 ]# beegfs-ctl --listtargets --nodetype=storage --state --spaceinfo
beegfs-ctl --listtargets --nodetype=storage --state --longnodes --spaceinfo
TargetID Reachability Consistency Total Free % ITotal IFree % NodeID
======== ============ =========== ===== ==== = ====== ===== = ======
1 Online Good 17864.1GiB 16649.2GiB 93% 1873.4M 1873.4M 100% beegfs-storage storageA-storage1-d01 [ID: 1]
2 Online Good 17864.1GiB 16214.5GiB 91% 1873.4M 1873.4M 100% beegfs-storage storageA-storage1-d01 [ID: 1]
3 Online Good 17864.1GiB 16360.7GiB 92% 1873.4M 1873.4M 100% beegfs-storage storageA-storage1-d01 [ID: 1]
4 Online Good 17864.1GiB 17174.2GiB 96% 1873.4M 1873.4M 100% beegfs-storage storageA-storage1-d01 [ID: 1]
5 Online Good 17864.1GiB 16971.7GiB 95% 1873.4M 1873.4M 100% beegfs-storage storageB-storage1-d05 [ID: 2]
6 Online Good 17864.1GiB 15174.0GiB 85% 1873.4M 1873.4M 100% beegfs-storage storageB-storage1-d05 [ID: 2]
7 Online Good 17864.1GiB 17358.4GiB 97% 1873.4M 1873.4M 100% beegfs-storage storageB-storage1-d05 [ID: 2]
8 Online Good 17864.1GiB 14442.4GiB 81% 1873.4M 1873.4M 100% beegfs-storage storageB-storage1-d05 [ID: 2]
if same NodeID was registered as different storage targetID, i would expect identical free space across TargetID 1-4 and 5-8.
So i am a bit confused here. Is there a way to confirm that same path was not used to initialize multiple target iDs? or is that the expected output?. I have following in cnf file on storageA -
storeStorageDirectory = ,/beegfs/storageA-storage1-d01 ,/beegfs/storageA-storage1-d02 ,/beegfs/storageA-storage1-d03 ,/beegfs/storageA-storage1-d04
please advice.
- puneet