def make_mon_removed_dir(path, file_name):
    """ move old monitor data """
    try:
        os.makedirs('/var/lib/ceph/mon-removed')
    except __HOLE__, e:
        if e.errno != errno.EEXIST:
            raise
    shutil.move(path, os.path.join('/var/lib/ceph/mon-removed/', file_name))
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/hosts/remotes.py/make_mon_removed_dir