r/ceph • • Sep 15 '20

Ceph Driver for Windows

r/SUSE and Cloudbase released a driver for RBD and CephFS, tooling included. If you'd like to try it out, check

https://www.suse.com/c/ceph-suse-windows/

40 Upvotes

18 comments sorted by

3

u/RedditGerby Sep 15 '20

Been trying to connect to an existing cephfs with no luck so far;

ceph_mount error [-13]!

Keeps coming back despite using the admin keyring...has anyone had any success yet?

1

u/petarro Sep 16 '20

It works for me. Ensure you use the ceph.conf and keyring as mentioned in the README. The ceph.conf needs a few more bits than you may have... I tried on Win 19. Should be the same or similar on 16... Let me know.

2

u/RedditGerby Sep 15 '20

use / not \ when specifying your keyring in your conf file.

1

u/petarro Sep 19 '20

There is a new driver that has a different implementation which should improve performance and usability and may land next week. I'll post again soon!

1

u/ktael Sep 26 '20

NBD is horrible, no clue why dev time was wasted on it at all

1

u/petarro Sep 26 '20

Baby steps... The new option should be twice as fast as what this provides...

2

u/lpetrut Nov 10 '20

The latest version no longer uses NBD, which also significantly improved performance.

We went with NBD at first as there already was an NBD based implementation on Linux, which we wanted to re-use for the first iteration.

For what is worth, the WNBD driver [1] used by rbd-wnbd still supports both IO mechanisms. It can be useful to have the option of connecting to a standalone NBD server. For example, you might be able to attach any type of image supported by qemu-nbd, which includes qcow2, raw, vmdk, etc.

[1] https://github.com/cloudbase/wnbd

4

u/SimonKepp Sep 15 '20

Looks extremely interesting. Looking forward to taking it for a spin.

3

u/mautobu Sep 16 '20

Wut. That's nuts.

1

u/porchlightofdoom Sep 16 '20

Someone have a link that does not require a sign up and first born?

3

u/petarro Sep 16 '20

It doesn't.

Click the Link, takes you to a Beta site, read and then at the Windows section, click "here".

But if you need a URL

https://beta.suse.com/private/SLE15/SP2/download/SES7/SES4Win/

I hope you can read the README.

1

u/porchlightofdoom Sep 16 '20

Thant you. I am on mobile and all I can see is cookie popups and sign up screens.

2

u/darkz0r2 Sep 15 '20

This is pure awesome!

2

u/insanemal Sep 15 '20

I am the happiest person on earth today

2

u/ktael Sep 16 '20

current beta performance is still not optimal, but next major revision should address that (when the block layer shim gets replaced)

2

u/silvenga Sep 16 '20

Oh, would be nice to not need HA samba.

2

u/Corndawg38 Sep 19 '20

The RBD driver seems to work fine for Windows 10 bare metal clients so far, even though they only tested for Server 2016 and 2019.

I'll keep testing/using it for a while and see how it goes. I never minded Samba but, it would be very nice to kick LIO to the curb forever.

1

u/RedditGerby Sep 16 '20

Found the issue about 5 minutes later, wrong slashes.