upgrade Ceph Octopus to Pacific
Proxmox
1.Enable msgrv2 protocol and update Ceph configuration
#ceph mon enable-msgr2
#ceph mon dump
2.Check if bluestore_fsck_quick_fix_on_mount is disabled
#ceph config get osd bluestore_fsck_quick_fix_on_mount
#ceph config set osd bluestore_fsck_quick_fix_on_mount false
# ceph config set osd bluestore_fsck_quick_fix_on_mount true
3.Preparation on each Ceph cluster node
#sed -i 's/octopus/pacific/' /etc/apt/sources.list.d/ceph.list
#nano /etc/apt/sources.list.d/ceph.list should now look like this
#deb http://download.proxmox.com/debian/ceph-pacific bullseye main
4.Set the 'noout' flag
#ceph osd set noout
5.Upgrade on each Ceph cluster node
#apt update
#apt full-upgrade
6.Restart the monitor daemon
#systemctl restart ceph-mon.target
#ceph mon dump | grep min_mon_release
min_mon_release 16 (pacific)
7.Restart the manager daemons on all nodes
#systemctl restart ceph-mgr.target
#ceph -s
8.Restart the OSD daemon on all nodes
#systemctl restart ceph-osd.target
#ceph status
9.Disallow pre-Pacific OSDs and enable all new Pacific-only functionality
#ceph osd require-osd-release pacific