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

Error when mounting a snapshot #3

Open
jimkyndemeyer opened this issue Sep 2, 2023 · 2 comments
Open

Error when mounting a snapshot #3

jimkyndemeyer opened this issue Sep 2, 2023 · 2 comments

Comments

@jimkyndemeyer
Copy link

jimkyndemeyer commented Sep 2, 2023

Hey Sam,

Thanks for this project. The performance I'm seeing in the initial testing is really quite incredible :)

I have a 1GB myvol2 created based on your readme successfully mounted as an ext4 disk that Ubunto also reports a 1GB and file writes/reads works perfectly.

I did however run into an error when trying to mount a snapshot of it:

java -jar nbdcli.jar snapshot -v myvol2 -n snapshotvol
> Successfully snapshotted myvol2 as snapshotvol

sudo nbd-client localhost -g -nonetlink -N snapshotvol /dev/nbd4
> Negotiation: ..size = 235626205MB
> bs=512, sz=247071983730176 bytes

So size seems off here on the snapshot? Then trying to mount gives:

sudo mount /dev/nbd4 tmp-snapshotted/
> mount: /home/jimmeyer/IdeaProjects/nbd/target/tmp-snapshotted: can't read superblock on /dev/nbd4

Any ideas on how to proceed? Thanks.

@jimkyndemeyer
Copy link
Author

I'm looking into another storage backend than FoundationDB so closing this.

@spullara spullara reopened this Sep 5, 2023
@spullara
Copy link
Owner

spullara commented Sep 5, 2023

Going to keep it open and figure out what might be going on.

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