Having a well stocked pantry with long term food items is top priority when it comes to survival. However, while pantry space in the average home is limited you can have the pantry space you need if you learn to think outside the box - or if you work a pantry into the floor plans when building a new home.
Any unused room, closet or space (non-attic) in the home can be converted into a pantry storage for canned, freeze dried or staple foods. When looking to converting these spaces think of the items to be stored, the size of the items and how to maximize the space.
In other words. . .
Can you put shelves along the walls? Is there enough open floor space to hold free-standing shelves or cabinets? Is the room in a climate controlled part of the house?
For wall or free-standing shelving, consider the height of the items to be stores - smallest to largest, and build or adjust the shelves based on those sizes. Consider putting the heaviest items on the lower shelves. This will make it easier to lift them when needed and lessen the chance of a shelf collapsing from too much weight.
Any shelves used for storage should be well braced with extra supports. Also think about how deep do you want the shelves to be. The deeper the shelf, the harder it is to see items to the back, and the heavier the shelf. Depending on the space available, you may want to 'pyramid' the shelves with narrow shelves at the top, widening them as you get closer to the floor.
If you plan on using canisters or jars for storing dry goods like sugar, flour, baking mixes, pastas, etc., make sure you allow for the canister's odd sizes, then add 1-2 inches more for easy removal.
Due to their bulky nature, the storing of paper goods in a pantry should be limited unless your pantry is very large. However, if your pantry is your only storage, and you need to keep paper goods there, consider having a wide top shelf around the room to hold them. This will keep them off the floor away from possible water damage and insects, etc.
Final thought, mark each item stored with its purchase date in permanent marked ink, and place new items behind the older ones if possible. This will ensure using the older stock first.