subvolumes remote
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes writebehind
end-volume
Hãy ch c ch n tham s hostname ho c đ a ch IP trong dòng option remote-ắ ắ ố ặ ị ỉ
host đ c khai báo chu n xác v i h th ng. Bây gi chúng ta có th ghép ượ ẩ ớ ệ ố ờ ể
file h th ng GlusterFS t i /mnt/glusterfs b ng 1 trong 2 câu l nh sau:ệ ố ớ ằ ệ
glusterfs -f /etc/glusterfs/glusterfs.vol /mnt/glusterfs
ho cặ
mount -t glusterfs /etc/glusterfs/glusterfs.vol /mnt/glusterfs
Khi s d ng l nh mount, các b n s th y k t qu tr v t ng t nh sau:ử ụ ệ ạ ẽ ấ ế ả ả ề ươ ự ư
root@client1:~# mount
/dev/mapper/server2-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)