You may be unable to provision replication on a volume that was previously replicated or may find unmountable volumes. Disks can remain offline when replication isn't removed or when you reinstall the operating system on a computer that was previously replicating data.
To fix, you must clear the hidden Storage Replica partition off the disks and return them to a writeable state using the Clear-SRMetadata cmdlet.
Detailed description here https://learn.microsoft.com/en-us/windows-server/storage/storage-replica/storage-replica-known-issues
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–