[solved][cephfs][snapshot] not work after recreate cephfs same name

cola16

New Member
Feb 2, 2024
23
1
3
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


```
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!