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

How to pass "nonempty" mount option to charybdefs? #17

Open
db-vmw opened this issue Jan 7, 2019 · 3 comments
Open

How to pass "nonempty" mount option to charybdefs? #17

db-vmw opened this issue Jan 7, 2019 · 3 comments

Comments

@db-vmw
Copy link

db-vmw commented Jan 7, 2019

Hi,
I want to mount the charybdefs on to an existing location. I see the following warning message.

#./charybdefs /var/data-dir -omodules=subdir,subdir=/var/data-dir
starting fuse filesystem
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option

I want to use "nonempty" option as documented in the FUSE man page:
https://manpages.ubuntu.com/manpages/xenial/en/man8/mount.fuse.8.html

The "charybdefs" being used for mount seems to be an executable. Please let me know on how to pass "nonempty" as a parameter OR let me know the code to modify to accept the nonempty as a parameter and regenerate the "charybdefs" executable.

Thanks,
Dinesh

@db-vmw
Copy link
Author

db-vmw commented Jan 8, 2019

@bentsi can you please help here?

@bentsi
Copy link
Contributor

bentsi commented Jan 8, 2019

./charybdefs /var/data-dir -omodules=subdir,subdir=/var/data-dir -o nonempty
But you should NOT use the same dir for mount and for source. CharybdeFS will get stuck.

@db-vmw
Copy link
Author

db-vmw commented Jan 8, 2019

./charybdefs /var/data-dir -omodules=subdir,subdir=/var/data-dir -o nonempty

Cool. Thanks @bentsi

But you should NOT use the same dir for mount and for source. CharybdeFS will get stuck.

Oh!! Then, what is the way to test latency fault using charybdefs for a directory where application will be keep writing?

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