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

[vitastor] probably corrupted filesystem #46

Open
lnsyyj opened this issue Mar 15, 2022 · 1 comment
Open

[vitastor] probably corrupted filesystem #46

lnsyyj opened this issue Mar 15, 2022 · 1 comment

Comments

@lnsyyj
Copy link
Contributor

lnsyyj commented Mar 15, 2022

Hi @vitalif ,

I have a vistator cluster, I created 11TB of images in vistator, used vitastor-nbd map, formatted XFS to mount it locally, and wrote files to it.

root@vita-1:~# etcdctl --endpoints=192.168.1.215:2379 put /vitastor/config/pools '{"1":{"name":"testpool","scheme":"replicated","pg_size":3,"pg_minsize":1,"pg_count":256,"failure_domain":"host"}}'

root@vita-1:~# etcdctl --endpoints=http://192.168.1.215:2379/v3 put /vitastor/config/inode/1/1 '{"name":"testimg","size":12094627905536}'

root@vita-1:~# vitastor-nbd map --etcd_address 192.168.1.215:2379/v3 --image testimg

root@vita-1:~# mkfs.xfs /dev/nbd0

root@vita-1:~# mount /dev/nbd0 /home/vita-xfs/

During data writing the vistator-nbd process is gone, when I mount it again,

root@vita-1:~# mount /dev/nbd0 /home/vita-xfs/
mount: /home/vita-xfs: cannot mount; probably corrupted filesystem on /dev/nbd0.

@vitalif
Copy link
Owner

vitalif commented Mar 15, 2022

Can you run vitastor-nbd in foreground (with --foreground 1) and reproduce the crash?
Does vitastor-nbd crash again when you try to mount xfs the second time?

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