There are two FSs.
They are named userdata-hdd and userdata-nvme.
Each is using snapshots.
I recently wiped "userdata-hdd" fs and created a new one due to an OSD issue.
I created it with the same name, but most of the ceph fs snap-schedule commands don't work.
It works for nvme, but not for hdd.
It gives me an error.
```
ceph fs snap-schedule list / --fs cephfs-userdata-hdd
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1811, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/mgr_module.py", line 474, in call
return self.func(mgr, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/snap_schedule/module.py", line 102, in snap_schedule_list
scheds = self.client.list_snap_schedules(fs, path, recursive)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/snap_schedule/fs/schedule_client.py", line 366, in list_snap_schedules
return Schedule.list_schedules(path, db, fs, recursive)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/snap_schedule/fs/schedule.py", line 240, in list_schedules
c = db.execute(cls.PROTO_GET_SCHEDULES + ' path = ?',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: disk I/O error
```
```
ceph fs snap-schedule list / --fs cephfs-userdata-nvme
/ 1h 6M96h12d12w
```
They are named userdata-hdd and userdata-nvme.
Each is using snapshots.
I recently wiped "userdata-hdd" fs and created a new one due to an OSD issue.
I created it with the same name, but most of the ceph fs snap-schedule commands don't work.
It works for nvme, but not for hdd.
It gives me an error.
```
ceph fs snap-schedule list / --fs cephfs-userdata-hdd
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1811, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/mgr_module.py", line 474, in call
return self.func(mgr, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/snap_schedule/module.py", line 102, in snap_schedule_list
scheds = self.client.list_snap_schedules(fs, path, recursive)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/snap_schedule/fs/schedule_client.py", line 366, in list_snap_schedules
return Schedule.list_schedules(path, db, fs, recursive)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/ceph/mgr/snap_schedule/fs/schedule.py", line 240, in list_schedules
c = db.execute(cls.PROTO_GET_SCHEDULES + ' path = ?',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: disk I/O error
```
```
ceph fs snap-schedule list / --fs cephfs-userdata-nvme
/ 1h 6M96h12d12w
```
Last edited: