由于FastDFS软件并未提供直接的一键卸载,所以卸载有点麻烦,FastDFS卸载步骤如下:
注意:所有删除操作请务必先查看是否存在文件文件是否为FastDFS相关
1) 停止服务
[root@bogon fdfs]#service fdfs_trackerd stop
[root@bogon fdfs]#service fdfs_storaged stop
2) 通过storage.conf找到base_path和store_path然后删除
[root@bogon fdfs]# cat /etc/fdfs/storage.conf |grep base_path
base_path=/opt/fastdfs_storage
# store_path#, based 0, if store_path0 not exists, it's value is base_path
[root@bogon fdfs]#
[root@bogon fdfs]# cat /etc/fdfs/storage.conf |grep store_path
store_path_count=1
# store_path#, based 0, if store_path0 not exists, it's value is base_path
store_path0=/opt/fastdfs_storage_data
#store_path1=/home/yuqing/fastdfs2
# store_path (disk), value can be 1 to 256, default value is 256
[root@bogon fdfs]#
删除上面标红的路径,
注意,如果有未备份的文