Make sure all filesystems in targetdir are unmounted.