opencurve / curveadm

Deploy and manage Curve cluster
Apache License 2.0
66 stars 72 forks source link

430000 path already mounted #331

Open fed0ra opened 1 year ago

fed0ra commented 1 year ago

command: curveadm mount test1 /data/test1 --host client-host -c client.yaml version: CurveAdm v0.2.0 docker version: Docker version 24.0.5, build ced0996 os: CentOS Linux release 7.9.2009 (Core) logs: nothing others:

image image

cat hosts.yaml global: user: root ssh_port: 22 private_key_file: /root/.ssh/id_rsa forward_agent: false become_user: root

hosts:

cat topology.yaml kind: curvefs global: report_usage: true data_dir: ${home}/curvefs/data/${service_role} log_dir: ${home}/curvefs/logs/${service_role} container_image: opencurvedocker/curvefs:latest variable: home: /tmp machine1: hdss133-141.host.com machine2: hdss133-142.host.com machine3: hdss133-143.host.com

etcd_services: config: listen.ip: ${service_host} listen.port: 2380 listen.client_port: 2379 deploy:

mds_services: config: listen.ip: ${service_host} listen.port: 6700 listen.dummy_port: 7700 deploy:

metaserver_services: config: listen.ip: ${service_host} listen.port: 6800 listen.external_port: 7800 global.enable_external_server: true metaserver.loglevel: 0

whether commit filesystem caches of raft wal to disk.

# it should be true if you wants data NEVER lost,
# of course, it will leads some performance skew.
braft.raft_sync: false

deploy:

cat client.yaml kind: curvefs s3.ak: minioadmin s3.sk: minioadmin s3.endpoint: 192.168.133.144:9000 s3.bucket_name: test container_image: opencurvedocker/curvefs:latest mdsOpt.rpcRetryOpt.addrs: 192.168.133.141:6700,192.168.133.142:6700,192.168.133.143:6700 log_dir: /home/curve/curvebs/logs/client data_dir: /data/curvefs

Wine93 commented 1 year ago

你可以升级 CurveAdm 到 v0.3.0 版本后,再重新尝试进行卸载:

CURVEADM_VERSION=v0.3.0-rc10 curveadm -u

如果以上这个方法仍不奏效,你可以尝试手动卸载,在你挂载文件系统的目标机器上查找对应的容器并删除它:

docker ps -a | grep filesystem

以上这个命令你可能会看到一个处于 Create 状态的容器,你可以手动删除它,并在此之后使用 CurveAdm 再次进行 umount