If you haven’t seen it yet. Das Boot has some interesting shots of all the food they had on board and how they stored it. A friends son was for a few years on a nuclear sub several years ago. Under the floor was solid food.
They stuff food wherever they can. The first few weeks are the best eats, before the fresh stuff is gone.