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 do I reload the block drive I created when the VM restarts? #66

Open
boyangma opened this issue Jun 16, 2020 · 0 comments
Open

How do I reload the block drive I created when the VM restarts? #66

boyangma opened this issue Jun 16, 2020 · 0 comments

Comments

@boyangma
Copy link

boyangma commented Jun 16, 2020

Hello,
I have successfully initialized a PBLK Target in the VM and formatted it to read and write properly. However, I was puzzled that when I closed the virtual machine and opened the virtual machine again with the following command, I could not find the hard disk I created previously. How can I solve this problem? Thanks.

The command I used to restart the virtual machine:
sudo ./qemu-system-x86_64 -m 4G -enable-kvm ubuntu.raw -blockdev ocssd,node-name=nvme01,file.driver=file,file.filename=ocssd.img -device nvme,drive=nvme01,serial=deadbeef,id=lnvm

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

1 participant