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

Disk conflicts #171

Closed
ghost opened this issue Oct 5, 2017 · 30 comments
Closed

Disk conflicts #171

ghost opened this issue Oct 5, 2017 · 30 comments

Comments

@ghost
Copy link

ghost commented Oct 5, 2017

I have a standard Windows Server 2016 boot disk and also a block storage disk. Restarting the server, I get these events logged. seems like an issue with the drivers, and the info in that KB was not useful. Reformatting the disks and such aren't helping.

diskerr1
diskerr2

@vrozenfe
Copy link
Collaborator

vrozenfe commented Oct 5, 2017

Hi sundarchi1,
Did you specify a unique serial name for each drive?
If you can, please post the qemu command line.

Thanks,
Vadim.

@ghost
Copy link
Author

ghost commented Oct 7, 2017

This is from a 100% clean install. Shouldn't all serials be generated and be unique the first time?

@vrozenfe
Copy link
Collaborator

vrozenfe commented Oct 7, 2017

not sure about libvirt, but if you create qemu command line by yourself, the serial number needs to be explicitly specified like this "-drive file=.........,serial=XXXXXXXXXXXX,..."

@vrozenfe
Copy link
Collaborator

Hi sundarchi1,

Any update on this case?
Did "serial" help to solve your problem?
If it did, let's close the issue.

Thanks,
Vadim

@ghost
Copy link
Author

ghost commented Dec 7, 2017

I do not really know what qemu command line is. I just install my ISO through a custom VPS provider and they tell me to also add these drivers, and these errors show up.

@vrozenfe
Copy link
Collaborator

vrozenfe commented Dec 7, 2017

can you please do the following things:

  • start command prompt as administrator and run diskpart,
  • type "list disk" to see all the disk attached (you should see at least two),
  • then go to the first one "select disk 0" and ask for details "detail disk",
  • repeat the above step for all other disks in your system,
  • post the results to this thread.

Apart from that, you can try converting your data disk into GPT (if it is not GPT yet),
and see if it solved the problem. But don't forget to backup your data on that disk first.

@ghost
Copy link
Author

ghost commented Jan 13, 2018

Two disk results:

0
1

@ghost
Copy link
Author

ghost commented Jan 26, 2018

@vrozenfe ^^^

@vrozenfe
Copy link
Collaborator

Hi sundarchi1.

Sorry for delay in reply. I just overlooked your previous message somehow.
We have at least two bugs, reported recently, that might be related to this issue
https://bugzilla.redhat.com/show_bug.cgi?id=1538546
https://bugzilla.redhat.com/show_bug.cgi?id=1538559
I'm going to start working on them asap. Hopefully, at the moment that we are able to
understand the reason why the disk subsystem raises Event Id 158, we will be able to fix it.

Best,
Vadim.

@EatonZ
Copy link

EatonZ commented Jan 30, 2018

I see the same issue on a fresh Server 2016 install on a VPS. Definitely seems like a bug somewhere.

@vrozenfe
Copy link
Collaborator

Hi EatonZ

Could you post the qemu command line, as well as qemu and kernel versions?

Thanks,
Vadim.

@EatonZ
Copy link

EatonZ commented Jan 31, 2018

@vrozenfe I'm not quite sure how to get the command line. I don't use qemu - it's just what my VPS provider uses on their KVM VPS servers.

However, I do see this when the OS boots: (ignore CD error)
seabios

@vrozenfe
Copy link
Collaborator

Do you know the type of storage devices on that VM (viostor/vioscsi), number of disks attached to VM, and type of storage backend (direct LUN, file, iSCSI target, etc.,) ?

Thanks,
Vadim.

@EatonZ
Copy link

EatonZ commented Feb 11, 2018

There are 2 disks (1 internal SSD, and 1 attached block storage device).

Both of them show in Device Manager as "Red Hat VirtIO SCSI Disk Device".

@vrozenfe
Copy link
Collaborator

What is the viostor.sys driver version?
Will it be possible to run diskpart /"select disk x" /"detail disk" and check that both disks have different
disk ids?
Thanks,
Vadim.

@EatonZ
Copy link

EatonZ commented Feb 12, 2018

I am using the August 4th release (0.1.141-1)

Interestingly, they appear to have different IDs, yet the event log still complains - "Disk 1 has the same disk identifiers as one or more disks connected to the system."

There's only 2 disks and here they are in detail:

disks

@vrozenfe
Copy link
Collaborator

Thanks,

Do you run Windows Server 2016 as well? Which build?

Best,
Vadim.

@EatonZ
Copy link

EatonZ commented Feb 13, 2018

Yes - Server 2016 Standard build 14393.2035 (the latest at the time of writing).

@EatonZ
Copy link

EatonZ commented Feb 17, 2018

@vrozenfe When can we expect the next set of driver updates? August 4th was a long time ago.
Will the next set have any type of fix for this?

@vrozenfe
Copy link
Collaborator

sundarchi1 & EatonZ,
First of all thank you for reporting the problem. It can be reproduced on Win10 as well. Not a hundred percent sure yet, but we might have some IOCTL_STORAGE_* support missing. Will try to fix it asap.

Regarding to the latest virtio-win build - the most recent one was maid on Dec 4 2017 (build 145).
I will try to contact fedora people and ask them to update the binaries on fedoraprogect site.
We don't have an exact schedule for a new build, I think me can be ready to do it a couple of weeks.

Vadim.

@EatonZ
Copy link

EatonZ commented Feb 18, 2018

@vrozenfe Thanks, didn't know there was an updated version. The "Releases" tab seems to list old versions here. Is there another place to download the binaries?

Let me know when you have a potential fix and I'll be glad to try it.

@vrozenfe
Copy link
Collaborator

I opened a new bug https://bugzilla.redhat.com/show_bug.cgi?id=1549455 for tracking this issue.
Patches on the way.
Vadim.

@ghost
Copy link
Author

ghost commented Feb 27, 2018

@vrozenfe Thank you for a fix.
When will ISO downloads on Fedora site see updates?

Will test/close issue when fix confirmed.

@vrozenfe
Copy link
Collaborator

Hopefully by mid of next week. (We need to prepare and run a new official build first.)

Best,
Vadim.

@vrozenfe
Copy link
Collaborator

The latest Win10 viostor drivers are available at http://people.redhat.com/vrozenfe/viostor.zip
According to https://bugzilla.redhat.com/show_bug.cgi?id=1549455#c14 the problem
seems to be fixed now.

Vadim.

@ghost
Copy link
Author

ghost commented Mar 13, 2018

@vrozenfe Thank you.
Where should we check for future updates?
Still no updates here in a while: https://fedorapeople.org/groups/virt/virtio-win/

If that site is dead, please post new site.

@vrozenfe
Copy link
Collaborator

Unfortunately, the most recent build, that we wanted to make public, has some problems "Bug 1551918 - Lack of viorng* files in virtio-win-prewhql-0.1-148" (https://bugzilla.redhat.com/show_bug.cgi?id=1551918). We will try to run a new build and make it public through fedorapeople.org as soon as this problem is solved,

@vrozenfe
Copy link
Collaborator

@ghost
Copy link
Author

ghost commented Mar 25, 2018

Confirmed fixed - thanks!

@vrozenfe Please keep the Fedora People site up to date with latest driver downloads if you can.

@ghost ghost closed this as completed Mar 25, 2018
@vrozenfe
Copy link
Collaborator

We will do our best. But it is not always up to us.

And thank you for your feedback.

Cheers,
Vadim..

This issue was closed.
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