Warranty query - My Cloud Expert Series EX4100

Hi, i wish to buy the 24tb My Cloud Expert Series EX4100, how does warranty work on this ? Do we get warranty for the just the drives inside the unit, do we get warranty for the 4 bay unit alone ? do we have to send whole unit for RMA when only drives go bad . Please help.