'Mount each path in remote_paths from the remote server_node
server_node - remote server node that is sharing the remote_paths
remote_paths - list of remote paths to mount from server_node'

def mount_nfs_shares(self, server_node, remote_paths):

    self.ssh.execute('/etc/init.d/portmap    start')
    self.ssh.execute('mount    -t    devpts    none    /dev/pts', ignore_exit_status=True)
    mount_map = self.get_mount_map()
    mount_paths = []
    for path in remote_paths:
        network_device = ('%s:%s' % (server_node.alias, path))
        if (network_device in mount_map):
            (mount_path, typ, options) = mount_map.get(network_device)
            log.debug(('nfs    share    %s    already    mounted    to    %s    on    node    %s,    skipping...' % (network_device, mount_path, self.alias)))
        else:
            mount_paths.append(path)
    remote_paths = mount_paths
    remote_paths_regex = '|'.join(map((lambda x: x.center((len(x) + 2))), remote_paths))
    self.ssh.remove_lines_from_file('/etc/fstab', remote_paths_regex)
    fstab = self.ssh.remote_file('/etc/fstab', 'a')
    mount_opts = 'rw,exec,noauto'
    for path in remote_paths:
        fstab.write(('%s:%s    %s    nfs    %s    0    0\n' % (server_node.alias, path, path, mount_opts)))
    fstab.close()
    for path in remote_paths:
        if (not self.ssh.path_exists(path)):
            self.ssh.makedirs(path)
        self.ssh.execute(('mount    %s' % path))
