This heavily depended on the region. In certain parts of Germany it was common to have all sons inherit a part of the property (https://en.wikipedia.org/wiki/Ganerbschaft
), e.g. every son would inherit a part of a castle to inhabit with his family. This of course frequently led to conflict, as with generations passing the parties were only getting more numerous. Rotenberg Castle in Bavaria was in the late middle ages owned by more than 100 different parties, many of whom shared the same space or inhabited the vicinity. Elaborate contracts were made to keep the peace and occasionally this had rather goofy result, where certain people are not allowed to cross certain lines (at the threat of violent conflict), entire castle wings being mirrored, e.g. one family refuses to pray in the same chapel as another family they dislike, having their own chapel constructed right next to it, one brother being banned from using the toilets because he'd have to enter the wing of someone who doesn't like him, etc.