You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently test glusterfs for resized image cache (performance).
No need replication (data can be recreated easily).
I create a distributed volume gluster volume create volumedata transport tcp test-1:/data/data.glusterfs test-2:/data/data.glusterfs test-3:/data/data.glusterfs test-4:/data/data.glusterfs force
I mount disk mount -t glusterfs localhost:/volumedata /mnt/glusterfs
I create several files on /mnt/glusterfs
touch file1
...
touch file100
I found a file on peer test-4: getfattr -n trusted.glusterfs.pathinfo /mnt/glusterfs/file3
For example, I have file3 on peer test-4
I stop glusterfs on peer test-4 to simulate a server crash systemctl stop glusterd
Now I try to recreate file3 (simulate a cache file recreation) touch /mnt/glusterfs/file3 touch: cannot touch 'file3': Transport endpoint is not connected
Question
How to recreate a file currently on a disconnected peer without wait peer reconnection ?
Or how to remove a file in glusterfs's database to allow to recreate it ?
Thanks
The text was updated successfully, but these errors were encountered:
Hello
I have a question:
I currently test glusterfs for resized image cache (performance).
No need replication (data can be recreated easily).
I create a distributed volume
gluster volume create volumedata transport tcp test-1:/data/data.glusterfs test-2:/data/data.glusterfs test-3:/data/data.glusterfs test-4:/data/data.glusterfs force
I mount disk
mount -t glusterfs localhost:/volumedata /mnt/glusterfs
I create several files on /mnt/glusterfs
I found a file on peer test-4:
getfattr -n trusted.glusterfs.pathinfo /mnt/glusterfs/file3
For example, I have file3 on peer test-4
I stop glusterfs on peer test-4 to simulate a server crash
systemctl stop glusterd
Now I try to recreate file3 (simulate a cache file recreation)
touch /mnt/glusterfs/file3 touch: cannot touch 'file3': Transport endpoint is not connected
Question
How to recreate a file currently on a disconnected peer without wait peer reconnection ?
Or how to remove a file in glusterfs's database to allow to recreate it ?
Thanks
The text was updated successfully, but these errors were encountered: