added is_mounted checks and fixed gluster process check