Unraid虚拟群晖SSD被识别成HDD解决方案

问题表现

图片[1]-Unraid虚拟群晖SSD被识别成HDD解决方案-软件开发技术分享

解决方案

进入黑裙虚拟机,点击编辑,右上角打开XML视图,找到如下代码

<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/>
<backingStore/>
<target dev='hdd' bus='sata'/>
<serial>vdisk2</serial>
<alias name='sata0-0-3'/>
<address type='drive' controller='0' bus='0' target='0' unit='3'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/>
<backingStore/>
<target dev='hde' bus='sata'/>
<serial>vdisk3</serial>
<alias name='sata0-0-4'/>
<address type='drive' controller='0' bus='0' target='0' unit='4'/>
</disk>
<disk type='block' device='disk'>
  <driver name='qemu' type='raw' cache='writeback'/>
  <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/>
  <backingStore/>
  <target dev='hdd' bus='sata'/>
  <serial>vdisk2</serial>
  <alias name='sata0-0-3'/>
  <address type='drive' controller='0' bus='0' target='0' unit='3'/>
</disk>
<disk type='block' device='disk'>
  <driver name='qemu' type='raw' cache='writeback'/>
  <source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/>
  <backingStore/>
  <target dev='hde' bus='sata'/>
  <serial>vdisk3</serial>
  <alias name='sata0-0-4'/>
  <address type='drive' controller='0' bus='0' target='0' unit='4'/>
</disk>
<disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/> <backingStore/> <target dev='hdd' bus='sata'/> <serial>vdisk2</serial> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/> <backingStore/> <target dev='hde' bus='sata'/> <serial>vdisk3</serial> <alias name='sata0-0-4'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </disk>

<target>块内添加rotation_rate='1'修改为以下代码

<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/>
<backingStore/>
<target dev='hdd' bus='sata' rotation_rate='1'/>
<serial>vdisk2</serial>
<alias name='sata0-0-3'/>
<address type='drive' controller='0' bus='0' target='0' unit='3'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/>
<backingStore/>
<target dev='hde' bus='sata' rotation_rate='1'/>
<serial>vdisk3</serial>
<alias name='sata0-0-4'/>
<address type='drive' controller='0' bus='0' target='0' unit='4'/>
</disk>
<disk type='block' device='disk'>
  <driver name='qemu' type='raw' cache='writeback'/>
  <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/>
  <backingStore/>
  <target dev='hdd' bus='sata' rotation_rate='1'/>
  <serial>vdisk2</serial>
  <alias name='sata0-0-3'/>
  <address type='drive' controller='0' bus='0' target='0' unit='3'/>
</disk>
<disk type='block' device='disk'>
  <driver name='qemu' type='raw' cache='writeback'/>
  <source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/>
  <backingStore/>
  <target dev='hde' bus='sata' rotation_rate='1'/>
  <serial>vdisk3</serial>
  <alias name='sata0-0-4'/>
  <address type='drive' controller='0' bus='0' target='0' unit='4'/>
</disk>
<disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/> <backingStore/> <target dev='hdd' bus='sata' rotation_rate='1'/> <serial>vdisk2</serial> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/> <backingStore/> <target dev='hde' bus='sata' rotation_rate='1'/> <serial>vdisk3</serial> <alias name='sata0-0-4'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </disk>

修改后效果如图:

图片[2]-Unraid虚拟群晖SSD被识别成HDD解决方案-软件开发技术分享
© 版权声明
THE END
喜欢就支持一下吧
点赞260 分享
No matter how complicated your life is, you have to maintain your elegance.
不论生活如何复杂,总要保持自己的那一份优雅
评论 共1条
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复