cloudbase / wnbd

Windows Ceph RBD NBD driver
GNU Lesser General Public License v2.1
58 stars 26 forks source link

2TB limit #56

Closed Badb0yBadb0y closed 3 years ago

Badb0yBadb0y commented 3 years ago

I've managed to mount a drive with this driver but seems like this has a limitation of 2047GB volume. If I create a 15TB RBD volume when I map it it can just see 1680GB.

What is this limitation? Where is it come from?

Any solution?

petrutlucian94 commented 3 years ago

Hi, thanks for reporting this issue. Due to a mistake, the block count overflows for images larger than 2TB. Luckily we've already fixed that, I'll open a Ceph PR today. Here's the fix: https://github.com/petrutlucian94/ceph/commit/973e2a3b91fbe607208b6ab8386946986e1fcce0

This PR will also include a few more RBD related fixes.

Since the problem is on the Ceph side and not caused by WNBD, I'll close this issue.

Badb0yBadb0y commented 3 years ago

So do I need to build myself a new driver or how can I make it work on my windows machine?

On 2021. Jan 28., Thu at 19:54, Lucian Petrut notifications@github.com wrote:

Closed #56 https://github.com/cloudbase/wnbd/issues/56.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudbase/wnbd/issues/56#event-4259720361, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHG6JNBDEYXS2GCW3ZFG3TS4EL2FANCNFSM4WWR5YWA .

alexpilotti commented 3 years ago

@Badb0yBadb0y the CI is building an MSI as we speak, I'll post an update when it's ready

alexpilotti commented 3 years ago

@Badb0yBadb0y the build job finished, here's the MSI with the latest commits: https://cloudbase.it/downloads/ceph_v16_0_0_beta.msi

Badb0yBadb0y commented 3 years ago

Awesome work guys, fast and efficient. Let us try.

On Fri, 29 Jan 2021 at 07:41, Alessandro Pilotti notifications@github.com wrote:

@Badb0yBadb0y https://github.com/Badb0yBadb0y the build job finished, here's the MSI with the latest commits: https://cloudbase.it/downloads/ceph_v16_0_0_beta.msi

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudbase/wnbd/issues/56#issuecomment-769314546, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHG6JLN7ABIE3UAD2LCFYTS4G2HLANCNFSM4WWR5YWA .

alexpilotti commented 3 years ago

Happy to help, please let us know if everything works as expected!

Badb0yBadb0y commented 3 years ago

Now can see the assigned size, will have a load test from db side soon.

On 2021. Jan 30., Sat at 5:23, Alessandro Pilotti notifications@github.com wrote:

Happy to help, please let us know if everything works as expected!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudbase/wnbd/issues/56#issuecomment-769936709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHG6JN36CXZGODJT4KJ2DDS4LU4LANCNFSM4WWR5YWA .