I got a bus error when the postgres operator was running the bootstrap script. This happens when you have hugepages enabled (which is required to run mayastor). Many people claim you can simply disable huge_pages in postgres but I was not able to get this working. Instead, I simply just added a small allocation of hugepages to the postgres instance:

spec:
  numberOfInstances: 1
  postgresql:
    parameters:
      huge_pages: 'on'
    version: '16'
  resources:
    limits:
      cpu: 500m
      hugepages-2Mi: 128Mi
      memory: 1024Mi
    requests:
      cpu: 10m
      hugepages-2Mi: 128Mi
      memory: 256Mi
  teamId: default
  volume:
    size: 1Gi
    storageClass: mayastor-2