Warning:
The procedure provided assumes that the database runs on a single file system after the upgrade.