Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Subscribe to our newsletter

Advertise on LowEndTalk.com

Latest LowEndBox Offers

    RAW Storage
    New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

    RAW Storage

    tester4tester4 Member
    edited November 7 in Help

    Hi there,

    I was just wondering if some of you may be able to clarify something when it comes to file based storage (qcow2/RAW).

    I've noticed that when you use a RAW storage file on thick LVM, it creates a file that's quite small but has a maximum size of what you specify. As you add files, the raw file continues to grow. When you then delete those files off the VM using the RAW storage, it remains the same size but the actual data inside the VM is reduced as expected.

    What happens when the RAW file eventually hits max size? For example it was 2TB but inside the actual VM it's only using 50GB. Would it continue to work as expected?

    Summoning resident file based storage advocate @AnthonySmith

    Thanks

    Comments

    • dahartigandahartigan Member, Host Rep

      In your example, the file would remain at 2TB. It would then start to reallocate some parts that are unused to make way for new files, up to the 2TB limit - after which you can then extend the size if you wish.

      Thanked by 1tester4

      HostDoc representative | Purveyor of high quality potassium | "A KVM VPS with 64 IPs? Must be Evolution Host."

    • I see, okay - just I had researched online and seen most peoples go up and down so I was wondering if mine was broken or not. Phew, had thought I'd be working on this all night as I've tried a few different configs and could only ever get it to basically forever grow.

    • dahartigandahartigan Member, Host Rep

      Sometimes it will shrink itself which is seemingly random and unexpected, in a good way. I try not to dwell on the how or why, it sometimes sends me down rabbit holes for hours determined to find answers.. lol

      Thanked by 1tester4

      HostDoc representative | Purveyor of high quality potassium | "A KVM VPS with 64 IPs? Must be Evolution Host."

    • Thanks for your advice @dahartigan - I tested the theory by just creating a 10GB server and maxing out the disk space. The RAW file got to 10GB, it then let me delete the 10GB file on the server and then re-download 10GB without the RAW file getting any bigger.

      Case closed, thank you!

      Thanked by 1dahartigan
    • dahartigandahartigan Member, Host Rep

      No worries! :-)

      HostDoc representative | Purveyor of high quality potassium | "A KVM VPS with 64 IPs? Must be Evolution Host."

    Sign In or Register to comment.