nbd
nbd copied to clipboard
Error when mounting a snapshot
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.
I'm looking into another storage backend than FoundationDB so closing this.
Going to keep it open and figure out what might be going on.