Fedora 43
Sponsored Link

GlusterFS 11 : GlusterFS क्लाइंट2025/11/04

 

GlusterFS वॉल्यूम माउंट करने के लिए GlusterFS क्लाइंट को कॉन्फ़िगर करें।

[1] GlusterFS नेटिव के साथ माउंट करने के लिए, निम्नानुसार सेट करें।
नीचे दिया गया उदाहरण [vol_distributed] वॉल्यूम को [/mnt] पर माउंट करना दिखाता है।
[root@client ~]#
dnf -y install glusterfs glusterfs-fuse
# क्लस्टर में किसी भी लक्ष्य नोड को निर्दिष्ट करना ठीक है

[root@client ~]#
mount -t glusterfs node01.srv.world:/vol_distributed /mnt
[root@client ~]#
df -hT

Filesystem                        Type            Size  Used Avail Use% Mounted on
/dev/mapper/fedora-root           xfs              15G  2.2G   13G  15% /
devtmpfs                          devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           781M  1.1M  780M   1% /run
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
tmpfs                             tmpfs           2.0G     0  2.0G   0% /tmp
/dev/vda2                         xfs             2.0G  381M  1.6G  20% /boot
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-resolved.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/serial-getty@ttyS0.service
tmpfs                             tmpfs           391M  4.0K  391M   1% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   30G  4.8G   26G  16% /mnt

# पढ़ने और लिखने का सत्यापन करें

[root@client ~]#
echo "Gluster write test" > /mnt/testfile.txt

[root@client ~]#
cat /mnt/testfile.txt

Gluster write test
मिलान सामग्री