Skip to content

bad address error for files larger ~122 MB #5

Description

@cre4ture

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions