If the tanks are item-with-tags, then when they're mined, the amount of stuff in them can be written as a tag. On placing one of the tanks, if it has a tag and stuff, it can re-fill the tank with what was in it. If you're only supporting a player-character placing/mining there's not much to do to make it work.
Reason I bring this up is because whether one knows or not for the little tanks, if you go to mine and move it, the contents are deleted. This can easily be deadly.