Osmotically-induced and photo-induced deformations of disk membranes