block storage not working well

Posted September 26, 2021 96 views
Block Storage

I created a volume.

mounted… mnt/ …

via Rsync I send files, but after a while it hangs without showing me any errors…

Is there a way to fix this ??

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi @stubfeed,

Does the RSYNC stops/hangs? It’s possible there are a lot of files in the folders you are trying to rsync over which can take some time to load.

Basically, how RSYNC works is, it’s creates a list of the directory and its contents you want to move and starts sending it over to the new directory you’ve selected. Now, if there are a million small files in the directory, it can take a lot of time for RSYNC to actually build the list and start moving the files around. These directories are usually - tmp, picture directories, session directories and so on.

it was a Inodes problem.

I created a new drive with custom option and with this command

mkfs.ext4 -b 1024 -I 128 -i 1024 /dev/id....

all is now fixed ;)

  • Hi @stubfeed,

    Great to hear that.

    Another way you could’ve gone is to find which folder is taking so many inodes and remove them if possible.

    Usually, folders that generate this many inodes are session folders, temp folders, caching folders, and so on.