linux - Find least usage drive across all Stornext mounted drives before write any content -


requirement: 6 san / stornext drive volumes(equal in size - 100tb each) mounted linux server.

10 applications 100+ read/write operations possible concurrently.

trying write centralized service component(volume administration service) decide best drive perform before write operations. balance load content across drives.

my approach:

  • check disk usage of each volume

  • reserve xxxx mb each request volume

  • decide least capacity volume after adding reserved volume size + actual disk usage of volume

  • release reserved volume volume starts writing.

caveat:

  • reserve xxxx mb may not provide calculate accurate size when concurrent write operations.

  • it's feed contents unsure of size on write operations.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -