Add mountPath support for different local storages (issue #3969)