How to mount Different Instance in Different mount points in client node

479 views
Skip to first unread message

M Jayaprabu

unread,
Nov 25, 2021, 5:30:53 AM11/25/21
to beegfs-user
Hi Team,

Please help me, I able to see the targets but while mounting all 3 mounting are showing same first Instance size.

I have configured BeeGFS with in two node SUSE HA
============================================================
MGMT Server = 10.0.0.153
Meta server = 10.0.0.155
Storage Server = 10.0.0.154 in multi:mode  3 Instance.
 1. beegfs-...@software.service for /software mount point  | node ID: 100 | target ID : 101  | Size 200TB
  2. beegfs-...@others.service for /others mount point | node ID: 200 | target ID : 201 | SIZE 2TB
  3. beegfs-...@home.service for /home mount point  | node ID: 300 | target ID : 301  | SIZE 2TB

and edited beegfs-mount.conf file like below

/software /etc/beegfs/beegfs-client-software.conf
/others /etc/beegfs/beegfs-client-others.conf
/home /etc/beegfs/beegfs-client-home.conf

But while start the beegfs-client.. all mount point  are mounted but all mount point size are same.  How to mount different node ID in different in mount point...?
====================================================================
#df-Th
beegfs_nodev                            beegfs    189T  193G  189T   1% /home
beegfs_nodev                            beegfs    189T  193G  189T   1% /software
beegfs_nodev                            beegfs    189T  193G  189T   1% /others
======================================================================
[root@compute-0-0 ~]# beegfs-check-servers
Management
==========
management [ID: 1]: reachable at 10.0.0.153:8008 (protocol: TCP)

Metadata
==========
metadata_01_tgt_001 [ID: 1]: reachable at 10.0.0.155:8005 (protocol: TCP)

Storage
==========
software [ID: 100]: reachable at 10.0.0.154:8002 (protocol: TCP)
others [ID: 200]: reachable at 10.0.0.154:8003 (protocol: TCP)
home [ID: 300]: reachable at 10.0.0.154:8004 (protocol: TCP)
=======================================================================
Please help me...

Thanks,
Saalai Jayaprabu S

Nhi Nguyen

unread,
Aug 29, 2022, 3:10:31 AM8/29/22
to beegfs-user
Hello,

Have you figured out the answer as I have the same question too? Thanks

web...@netapp.com

unread,
Aug 29, 2022, 10:04:37 AM8/29/22
to beegfs-user
Hello Saalai,

If I am understanding your situation correctly, you are using a single BeeGFS file system with different storage targets. You want each storage target to contain a certain type of data and you want each storage target to be accessed from a different mount point on a client node.

Unfortunately for this use case, there is no concept in BeeGFS of mounting a particular storage target. You are using one mgmtd service, and I am assuming each of the beegfs-client.conf files you created points to the IP address of that service (10.0.0.153). As a result, your three beegfs-client.conf files serve the same essential purpose. Each mounts the entire BeeGFS file system (albeit at a different mount point).

If I understand the behavior you want, you can achieve it using a combination of storage pools and bind mounts. However, storage pools are a BeeGFS enterprise feature (https://www.beegfs.io/c/enterprise/enterprise-features/), so you must purchase a support contract from ThinkParQ or its partners to use them.

The basic idea is this:
1. You create a storage pool for each type of data containing some number of storage targets (e.g. beegfs-ctl --addstoragepool --desc=software --targets=101 --id=1).
2. You mount the file system once in some global location.
3. You create a directory for each type of data (e.g. mkdir /mnt/beegfs/software).
4. You set the stripe pattern on each directory such that it only uses the appropriate storage pool (e.g. beegfs-ctl --setpattern --storagepoolid=1 /mnt/beegfs/software).
5. You bind mount the directory wherever you want (e.g. mount --bind /mnt/software /etc/software).

Regards,

Eric Weber
Software Engineer
E/EF Series Solutions
NetApp
Reply all
Reply to author
Forward
0 new messages