Without knowing where you're going/what the food storage rules might be, this may or may not be helpful. Personally, I keep nothing that might be of interest to critters, large or small, in my tent.
My first thought was-Put the food and essentials in the canister and hang the rest in a tree.
But, if tree hanging is not allowed where you're going perhaps you could put the stuff that doesn't fit into an Ursack bear bag as Daisy mentioned, if they're allowed. If you're not familiar with that product, check it out on YouTube.