A remotely controlled gastric band system that is practically immune to external magnetic fields, such as from a Magnetic Resonance Imaging (MRI) machine, incorporates a bi-directional pump and fluid reservoir to adjust fluid volume for hydraulic control of a gastric band. A piezoelectric driver (e.g., rotary actuator, linear actuator) selectively compresses and expands a metal bellows hermetically sealed within a biocompatible and nonferromagnetic enclosure or case such as titanium. Directly sensing a position of the metal bellows yields an accurate reading of volume contained therein, allowing for closed-loop control of the gastric band.