Windows 10 Client Setup
This guide details how to mount a CephFS subvolume natively on a Windows 10 machine using the official Ceph for Windows port (powered by Dokan).
1. Prerequisites
Download and install the necessary components on the Windows 10 client machine:
- Dokan (Windows user-mode file system framework):
- Download the latest
DokanSetup.exefrom the official Dokan GitHub releases. - Run the installer and complete the setup.
- Download the latest
- Ceph for Windows:
- Download the latest
ceph-windows-XXX.msiinstaller from the Cloudbase Solutions. - Run the installer. It will install the Ceph CLI tools and the
ceph-dokan.exemount utility.
- Download the latest
2. Configuration & Credentials
Just like on Linux, the Windows client requires a configuration file pointing to the monitors and the student's secret key.
Open PowerShell as Administrator.
Create the Ceph configuration directory:
powershellmkdir C:\ProgramData\cephCreate the
ceph.conffile:powershellnotepad C:\ProgramData\ceph\ceph.confAdd the following content (replace the IP with your actual Admin/Monitor IP):
ini[global] log to stderr = true ; Uncomment the following in order to use the Windows Event Log ; log to syslog = true run dir = C:/ProgramData/ceph/out crash dir = C:/ProgramData/ceph/out ; Use the following to change the cephfs client log level ; debug client = 2 [client] keyring = C:/ProgramData/ceph/keyring ; log file = C:/ProgramData/ceph/out/$name.$pid.log admin socket = C:/ProgramData/ceph/out/$name.$pid.asok ; client_permissions = true ; client_mount_uid = 1000 ; client_mount_gid = 1000 [global] fsid = c64817cc-2fd6-11f1-a8b1-cd715c58e1df mon_host = [v2:192.168.202.221:3300/0,v1:192.168.202.221:6789/0]Create the secret key file for the student (e.g., NIM
22106050001):powershell# Replace the string with the actual base64 secret from your CSV Set-Content -Path C:\ProgramData\ceph\student.secret -Value "AQBGn+BpWNNrFhAAZxuBnCQ7M+q8nQAIwZ0LQg=="
3. Mounting the Drive
We will map the student's isolated subvolume to a drive letter (e.g., Z:). Open PowerShell and use the ceph-dokan.exe utility:
# Format:
# ceph-dokan.exe -c <config> -n client.<username> --secret <secret_file> -l <drive_letter> --root-path <subvolume_path>
ceph-dokan.exe -c C:\ProgramData\ceph\ceph.conf -n client.22106050001 --secret C:\ProgramData\ceph\student.secret -l Z -x /volumes/students/22106050001/UUID-STRING-HEREIMPORTANT
The -x flag specifies the root path to mount. Replace the path with the actual absolute path from your provisioning CSV.
If successful, a new Z: drive will appear in Windows Explorer. The terminal window running ceph-dokan must stay open in the background to maintain the mount.
4. Unmounting
To safely unmount the drive, you can:
- Press
Ctrl+Cin the terminal window whereceph-dokan.exeis running. - Right-click the drive in Windows Explorer and select Disconnect.