cloudbase / wnbd

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

Ceph rbd resize on Windows server 2019 #119

Closed kuoshin closed 1 year ago

kuoshin commented 1 year ago

Hi All

I adjusts the rbd space from the server side, but the rbd space mounted by windows does not change accordingly. Is there any way to adjust it?

rbd

petrutlucian94 commented 1 year ago

Hi,

Which rbd version are you using on Windows? This feature was merged a couple of months ago [1] and backported downstream to Quincy [2].

The latest Ceph Quincy MSI available here [3] includes the live resize feature.

[1] https://github.com/ceph/ceph/pull/48848 [2] https://github.com/cloudbase/ceph/tree/quincy-downstream [3] https://cloudba.se/ceph-win-latest-quincy

kuoshin commented 1 year ago

Sorry I find the solution

create a new volume and mount it a drive letter:Computer Management > Disk Management > Select unallocated disk space you need > Right-click mouse button > New Simple Volume > Select needed size > Assign drive letter > Format partition To shrink or expand volumes:Computer Management > Disk Management > Select the partition you wish to shrink/expand > Right-click on the mouse button to shrink or expand.