2024-10-24T00:58:40.485Z | <Thomas> ```bash-4.4$ ceph fs subvolume ls main csi
[
{
"name": "csi-vol-95d94b9d-e3f7-4b95-bd79-6005576ee3c1"
},
{
"name": "csi-vol-deea4df5-96ec-4a3c-b452-36a9ab2b9c1f"
}
]``` |
2024-10-24T00:58:45.060Z | <Thomas> Yep, that worked |
2024-10-24T00:58:48.517Z | <Thomas> Thank you |
2024-10-24T00:58:49.769Z | <Thomas> TIL |
2024-10-24T00:58:58.134Z | <Thomas> How on earth does one list the subvolumes |
2024-10-24T03:03:08.442Z | <gregsfortytwo> Ah, csi has created them all inside a/many subvolumegroups I guess. I don’t think we have a way to list all of them regardless of group, though? |
2024-10-24T03:10:56.392Z | <Neeraj Pratap Singh> True, We should be aware/check before listing out subvolumes , whether they are under any subvolumegroup or not. If that's the case, the command should go something like:` ceph fs subvolume ls <vol_name> --group_name=<group_name>` |
2024-10-24T03:11:19.979Z | <Neeraj Pratap Singh> True, We should be aware/check before listing out subvolumes , whether they are under any subvolumegroup or not. If that's the case, the command should go something like:
``` ceph fs subvolume ls <vol_name> --group_name=<group_name>``` |
2024-10-24T03:12:11.010Z | <Neeraj Pratap Singh> You can refer to the doc: <https://docs.ceph.com/en/latest/cephfs/fs-volumes/> |
2024-10-24T14:25:43.922Z | <Mark Nelson (nhm)> hrm... I'm I brain dead? Is this really not a command?
```$ ceph fs status
no valid command found; 10 closest matches:``` |
2024-10-24T14:29:34.651Z | <Bailey Allison> that is 100% a command |
2024-10-24T14:30:03.862Z | <gregsfortytwo> requires a mgr module; are you in an environment without something running? |
2024-10-24T14:30:56.978Z | <Mark Nelson (nhm)> @gregsfortytwo aha, this is a custom build of main with a bunch of experimental PRs and I see now that some of the mgr modules have failed dependencies. |
2024-10-24T14:32:43.597Z | <Mark Nelson (nhm)> sort of an unexpected failure mode though. mgr module has failed dependencies so commands disappear. |
2024-10-24T14:36:06.726Z | <Mark Nelson (nhm)> Ha!
```ModuleNotFoundError: No module named 'ceph.fs'``` |
2024-10-24T19:10:29.999Z | <Patrick Donnelly> RFR: <https://github.com/ceph/ceph/pull/60283> |