Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

430000 path already mounted #331

Open
fed0ra opened this issue Nov 6, 2023 · 1 comment
Open

430000 path already mounted #331

fed0ra opened this issue Nov 6, 2023 · 1 comment
Assignees

Comments

@fed0ra
Copy link

fed0ra commented Nov 6, 2023

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:

  • host: hdss133-141.host.com
    hostname: 192.168.133.141
  • host: hdss133-142.host.com
    hostname: 192.168.133.142
  • host: hdss133-143.host.com
    hostname: 192.168.133.143
  • host: client-host
    hostname: 192.168.133.144
    labels:
    • client

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:
- host: ${machine1}
- host: ${machine2}
- host: ${machine3}

mds_services:
config:
listen.ip: ${service_host}
listen.port: 6700
listen.dummy_port: 7700
deploy:
- host: ${machine1}
- host: ${machine2}
- host: ${machine3}

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:
- host: ${machine1}
- host: ${machine2}
- host: ${machine3}
config:
metaserver.loglevel: 0

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
Copy link
Collaborator

Wine93 commented Nov 12, 2023

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

CURVEADM_VERSION=v0.3.0-rc10 curveadm -u

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

docker ps -a | grep filesystem

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

@Wine93 Wine93 self-assigned this Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants