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

Mount 2.91: No multi filer support #2719

Closed
KevinBLT opened this issue Mar 1, 2022 · 1 comment
Closed

Mount 2.91: No multi filer support #2719

KevinBLT opened this issue Mar 1, 2022 · 1 comment

Comments

@KevinBLT
Copy link
Contributor

KevinBLT commented Mar 1, 2022

With 2.91:

system@dat1:~$ weed mount -dirAutoCreate -dir=/srv/app -cacheDir=/var/.database/seaweedfs/cache -filer="app1:8888,app2:8888,app3:8888"
mount point owner uid=1000 gid=1000 mode=drwxr-xr-x
I0228 12:29:01 19252 leveldb_store.go:47] filer store dir: /var/.database/seaweedfs/cache/a7f0329e/meta
I0228 12:29:01 19252 file_util.go:23] Folder /var/.database/seaweedfs/cache/a7f0329e/meta Permission: -rwxr-xr-x
F0228 12:29:01 19252 mount_std.go:223] Mount fail: found ',' in option string "fsname=app1:8888,app2:8888,app3:8888:/"
goroutine 1 [running]:
github.com/chrislusf/seaweedfs/weed/glog.stacks(0x0)
	/github/workspace/weed/glog/glog.go:767 +0x8a
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).output(0x3c89b80, 0x3, 0xc0004ac000, {0x2e688ef, 0xc000675c80}, 0x1, 0x0)
	/github/workspace/weed/glog/glog.go:718 +0x3ab
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).printf(0x28ed8b0, 0x415b00, {0x23aca5a, 0xe}, {0xc000675c80, 0x1, 0x1})
	/github/workspace/weed/glog/glog.go:656 +0x110
github.com/chrislusf/seaweedfs/weed/glog.Fatalf(...)
	/github/workspace/weed/glog/glog.go:1149
github.com/chrislusf/seaweedfs/weed/command.RunMount2(0x3c89ac0, 0x12)
	/github/workspace/weed/command/mount_std.go:223 +0xf58
github.com/chrislusf/seaweedfs/weed/command.runMount(0x3c6d9d8, {0xc000102170, 0x0, 0x4})
	/github/workspace/weed/command/mount_std.go:52 +0x16d
main.main()
	/github/workspace/weed/weed.go:78 +0x3a3

The same command works with 2.90:

system@dat1:~$ weed mount -dirAutoCreate -dir=/srv/app -cacheDir=/var/.database/seaweedfs/cache -filer="app1:8888,app2:8888,app3:8888"
This is SeaweedFS version 30GB 2.90 linux amd64
mount point owner uid=1000 gid=1000 mode=drwxr-xr-x
I0301 14:52:38 66320 leveldb_store.go:47] filer store dir: /var/.database/seaweedfs/cache/8b59f894/meta
I0301 14:52:38 66320 file_util.go:23] Folder /var/.database/seaweedfs/cache/8b59f894/meta Permission: -rwxr-xr-x
2022/03/01 14:52:38 mount helper error: fusermount: unsafe option suid ignored
2022/03/01 14:52:38 mount helper error: fusermount: unsafe option dev ignored
I0301 14:52:38 66320 mount_std.go:247] mounted app1:8888,app2:8888,app3:8888/ to /srv/app```
@mrg358
Copy link

mrg358 commented Mar 3, 2022

weed v. 2.92 confirming the same

weed mount -filer 192.168.3.10:8888,192.168.3.11:8888 -filer.path / -dir /home/ubuntu/SeaweedFS
mount point owner uid=1000 gid=1000 mode=drwxr-xr-x
I0303 11:57:23 24172 leveldb_store.go:47] filer store dir: /tmp/0c22d0e3/meta
I0303 11:57:23 24172 file_util.go:23] Folder /tmp/0c22d0e3/meta Permission: -rwxr-xr-x
F0303 11:57:23 24172 mount_std.go:223] Mount fail: found ',' in option string "fsname=192.168.3.10:8888,192.168.3.11:8888:/"
goroutine 1 [running]:
github.com/chrislusf/seaweedfs/weed/glog.stacks(0x0)
	/github/workspace/weed/glog/glog.go:767 +0x8a
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).output(0x3c89b80, 0x3, 0xc0001c2070, {0x2e68a8f, 0xc0005a3c80}, 0x1, 0x0)
	/github/workspace/weed/glog/glog.go:718 +0x3ab
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).printf(0x28ed9b0, 0x72e7e0, {0x23acb1a, 0xe}, {0xc0005a3c80, 0x1, 0x1})
	/github/workspace/weed/glog/glog.go:656 +0x110
github.com/chrislusf/seaweedfs/weed/glog.Fatalf(...)
	/github/workspace/weed/glog/glog.go:1149
github.com/chrislusf/seaweedfs/weed/command.RunMount2(0x3c89ac0, 0x12)
	/github/workspace/weed/command/mount_std.go:223 +0xf58
github.com/chrislusf/seaweedfs/weed/command.runMount(0x3c6d9d8, {0xc00004c0f0, 0x0, 0x6})
	/github/workspace/weed/command/mount_std.go:52 +0x16d
main.main()
	/github/workspace/weed/weed.go:78 +0x3a3

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