Bug 209443 - [Hyper-V]FreeBSD 10.3 on Windows 2012 server may fail to add/remove a disk by hot plugin
Summary: [Hyper-V]FreeBSD 10.3 on Windows 2012 server may fail to add/remove a disk by...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-05-11 04:02 UTC by Hongjiang
Modified: 2022-04-06 11:35 UTC (History)
5 users (show)

See Also:


Attachments
fix the inquiry issue on 10.3 (60.56 KB, patch)
2016-06-27 05:33 UTC, Hongjiang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiang 2016-05-11 04:02:13 UTC
FreeBSD 10.3 on windows 2012 R2 hyper-v may fail to hot add/remove a SCSI disk. The reproduce steps are:
1. boot the system
2. add a vhd disk through hyperv manager settings: From SCSI Controller, add a new virtual hard disk, select vhd and 1G size. Finally click "Apply"
3. From the hyperv manager console, we can see a new disk is added.
4. repeat the above step 2 and 3 twice to add two disks, but you can only see one hot plugin disk. The first hot plugin disk is missing.

If you use "camcontrol rescan <bus:target:lun>" to rescan the missing device, it will go back. But if you used this command issue twice rescan, the disk may miss again.
Comment 1 Hongjiang 2016-06-27 05:33:03 UTC
Created attachment 171852 [details]
fix the inquiry issue on 10.3

This patch fixed the issue cause by SCSI inquiry command.
Comment 2 vali gholami 2017-12-17 07:12:17 UTC
MARKED AS SPAM
Comment 3 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-21 18:50:56 UTC
Looks like patch has been committed in base r302541. Closing as fixed.
Comment 4 parsianweb 2022-04-06 11:35:26 UTC
پارسیان وب نتیجه تلاش یک تیم برای کمک به رونق کسب و کارها در دنیای وب است. ما پروژه ها را طوری اجرا می کنیم تا برای مدت طولانی نیازی به تغییر نباشد. به روزرسانی سایت شما با مجموعه ما هیچ محدودیتی ندارد و ما توانایی انجام هر کاری را در صورت درخواست شما داریم. مشاوران ما در زمینه تبلیغات و کمپین های تبلیغاتی راه حل های مبتنی بر وب را ارائه می دهند
https://parsian-web.com/