I highly advise not using pg_upgradecluster. It's a wrapper script for debian based systems and it obfuscates way too much of the upgrade process as you're seeing yourself with this question. You can use pg_createcluster to create the upgrade target version. Copy your config files over as needed but then just use pg_upgrade itself so it's clear what is getting upgraded and you'll get much better feedback about the process itself if there is a problem.
KeithOn Tue, Nov 14, 2017 at 9:28 AM, Debraj Manna <subharaj.manna@xxxxxxxxx> wrote:
HiI am trying to upgrade 9.5.4 cluster with data directory as /var/lib/postgresql/data/postgresql0 and have checksum enabledCan someone let me know is it possible to upgrade this cluster to latest 10.1 using pg_upgradecluster ?In pg_upgradecluster man page I am not seeing any option to pass the data directory for the old cluster and also to pass the checksum enabled option?Thanks,Debraj