GlusterFS 11 : GlusterFS क्लाइंट2025/05/13 |
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
df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/fedora-root xfs 28G 2.3G 26G 9% / devtmpfs devtmpfs 4.0M 0 4.0M 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 960M 328M 633M 35% /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 56G 5.1G 51G 10% /mnt # पढ़ने और लिखने का सत्यापन करें [root@client ~]# echo "Gluster write test" > /mnt/testfile.txt [root@client ~]# cat /mnt/testfile.txt Gluster write test |
Sponsored Link |
|