Description
Hello,
I'm interested in distributed and redundant data storage systems. Additionally, I'm currently working on writing rust code. That's why I stumbled across tifs. For testing purposes, I setup a TiKV storage cluster on my two NAS at home and mounted a tifs on it.
This is how I was able to do it after finally having the cluster running:
uli@hp13-ulix:~/homebuild/tifs/target/release$ sudo ./tifs --foreground tifs:192.168.178.23:9379 ~/nosync-data/mnt_tifs/
[sudo] password for uli:
May 12 22:06:50.274 INFO connect to tikv endpoint: "192.168.178.23:20160"
After having it mounted, I tried to copy one large (13GB) file into it.
Sadly this wa not working out as expected.
I tried this multiple times, but I get an error like this each time:
uli@hp13-ulix:~/nosync-data$ cp Avatar\ -\ Aufbruch\ nach\ Pandora.mkv mnt_tifs/vid3.mkv
cp: error writing 'mnt_tifs/vid3.mkv': Bad address
The exact size of the remaining partially copied file at destination varies between ~122MB and ~125MB. This is why I think it's for sure a bug rather than expected filesystem limitation.
Can someone reproduce this?
UPDATE: Further testing showed that the file size "limit" does actually change: Once I could copy ~250MB and directly afterwards only ~12MB.