samba-in-kubernetes / sit-environment

SIT (Samba Integration Testing) Framework
GNU General Public License v3.0
1 stars 7 forks source link

cephfs: remove unnecessary MDS creation #39

Closed xhernandez closed 12 months ago

spuiuk commented 12 months ago

The changes look fine but can you give me, a cephfs newbie, an explanation for why we don't need this step here. Does creating a volume automatically create a MDS?

xhernandez commented 12 months ago

The changes look fine but can you give me, a cephfs newbie, an explanation for why we don't need this step here. Does creating a volume automatically create a MDS?

Yes. When the volume is created an MDS for that volume is also created. The previous command just created an MDS for an hypothetical volume named cephfs, but it even didn't exist. So the final result was a single filesystem _sitfs, but two MDS: one for _sitfs and one for cephfs.