GlusterFS : GlusterFS クライアントの設定2026/04/28 |
|
GlusterFS ボリュームを任意のクライアントからマウントします。 |
|
| [1] | GlusterFS Native でマウントする場合は、以下のように設定します。 例として [vol_distributed] ボリュームを [/mnt] にマウントします。 |
|
root@client:~#
root@client:~# apt -y install glusterfs-client df -hT Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 680M 1020K 679M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 14G 5.7G 7.4G 44% / tmpfs tmpfs 1.7G 0 1.7G 0% /dev/shm none tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service none tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service tmpfs tmpfs 1.7G 0 1.7G 0% /tmp /dev/vda2 ext4 2.0G 96M 1.7G 6% /boot none tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-networkd.service none tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service none tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyS0.service tmpfs tmpfs 340M 8.0K 340M 1% /run/user/0 node01.srv.world:/vol_distributed fuse.glusterfs 28G 12G 15G 44% /mnt # 読み書き確認 root@client:~# echo "Gluster write test" > /mnt/testfile.txt root@client:~# cat /mnt/testfile.txt Gluster write test |
| Sponsored Link |