I stashed a combination of grains, rice, beans, etc. in mylar bags with oxygen eaters in 5 gallon restaurant buckets. I've put away about 30 lbs. of soybeans, 80 lbs, of rice, 60 lbs. of pinto beans, 60 lbs. of quinoa, and 30 lbs. of black beans. I seal the lids with clear silicone caulking, and label the contents and date on the outside with a black sharpie.
Then I added all kinds of assorted canned foods such as fish, ham, canned beef stew, mandarin oranges, fruit cocktail, peanut butter, and so on.
I also included supplements like Brewer's yeast and multivitamins.
I'm allergic to wheat and dairy products, so I've omitted a lot of things that other people might have.
A great item to have with my preferences is a wide mouth soup thermos.
A mix of dry grain and beans is used to fill the thermos one-third of the way, and then add boiling water and tighten the lid. A few hours later, your grains and beans are cooked to perfection with little to no waste.
I did say combo of beans and rice because your body is better able to utilize vegetable protein if you complement the missing amino acids by mixing different kinds of rice and beans together.
Note that I believe that it's better to have many smaller cans of canned food rather than one big can.
A small can can be opened and finished, while the extra food left in a big can may spoil before it's eaten later...especially if there's no electricity for refrigeration.
Also, small cans are easier to trade with, and small cans of food are easier to hide and transport.