Arabs often know their lineages for a good millennium
The same clans are holding the same social positions for centuries in some places. Except for "Saudi arabia" where the Saud tribe were simply Bedouin nomads and highway robbers from a region so empty and desolate that the Ottomans didn't even bother considering going there (they ruled everything else around it though).
In Poland at least The most interesting are genealogies of minorities - lutherans mostly have German names and although there was a lot of protestants over there in 17th and 18th centuries, a lot of them migrated from Germany.
There is a muslim minority living in the eastern Poland (nowadays split between Poland, Lithuania and Belarus) since 15th century (or longer!) They were all given nobility titles and land from the king at that time and until now there are a couple of muslim villages - same village as any other in Poland but instead of catholic church it has a mosque.
There is a religious minority called "caraims" ( I think that's how you spell it) who come from Crimea and are essentially Jews with slightly different traditions and rituals - however they dont consider themselves Jewish and nazis didn't touch them! No idea how as a lot of muslims were killed as Jews!