Question: what was the relationship between the daimyo and the samurai?
Answer: Daimyo = a feudal Lord that a Samurai has sworn loyalty to. Not all Samurai were attached to a Daimyo. The Meiji Period put an an end to the high structured Edo Period. James Clavell's "Shogun" is a bit of a tome but can be a entertaining read and is a novel about 1600s Japan.