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

virtIO SCSI 有严重 BUG #2938

Open
OiCkilL opened this issue Sep 12, 2024 · 1 comment
Open

virtIO SCSI 有严重 BUG #2938

OiCkilL opened this issue Sep 12, 2024 · 1 comment

Comments

@OiCkilL
Copy link

OiCkilL commented Sep 12, 2024

请填写以下信息.
Please fill in the following information.

Install ENV: (You can find it in the boot interface.)

  • DMI: Proxmox VE 8.2.4
  • CPU: E3-1240L v5
  • NIC: virtIO Lan

RR version: (You can find it in the update menu.)

  • RR: 24.8.6
  • addons: default
  • modules: 移除了 virtIO SCSI 以外的所有 SCSI 驱动
  • lkms: default

DSM:

  • model: DS918+
  • version: DSM 7.2.1-69057 Update 5

Issue:
最近更新 rr 后 PVE 的 virtIO SCSI 可能跟 rr 的 virtIO SCSI 驱动有冲突。导致 vm 里 virtio-scsi-single 和 virtio-scsi 的配置会出现掉盘甚至数据损坏问题。目前我这边已经出现过整个存储空间损毁数据大量损坏的情况,该情况可在数据清理未完成时重启nas复现。而最常见的情况是每次重启后第四个硬盘或者第三四个硬盘出现找不到系统分区的情况,重启后都要重建一遍该盘系统分区。

QQ_1726105323374

我怀疑是 rr 的 VirtIO SCSI 驱动和 pve 8 有兼容问题导致的。翻阅了下 arpl 的历史讨论,pocopico 似乎在 0.9 的时候解决过这问题,会不会是某次代码修改或者回滚导致问题重新出现。我尝试改用 arc 也有一样的情况。

``

PVE的虚拟机配置
agent: 1
args: -device 'qemu-xhci,addr=0x18' -drive 'id=synoboot,file=/var/lib/vz/template/iso/rr.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot,bootindex=5' -smp 8,cores=4,threads=2
bios: ovmf
boot:  
cores: 8
cpu: host,flags=+pdpe1gb;+aes
ide2: none,media=cdrom
machine: q35
memory: 8192
name: DS918
net0: virtio=隐去,bridge=vmbr0,link_down=1,queues=1
net1: virtio=隐去,bridge=vmbr0,queues=4
numa: 1
ostype: l26
sata0: local-lvm:vm-201-disk-0,aio=threads,discard=on,size=32G,ssd=1
scsi0: /dev/disk/by-id/ata-隐去,aio=native,backup=0,iothread=1,serial=隐去
scsi1: /dev/disk/by-id/ata-隐去,aio=native,backup=0,iothread=1,serial=隐去
scsi2: /dev/disk/by-id/ata-隐去,aio=native,backup=0,iothread=1,serial=隐去
scsi3: /dev/disk/by-id/ata-隐去,aio=native,backup=0,iothread=1,serial=隐去
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=隐去
sockets: 1
startup: order=2,up=20
tablet: 0
tags: dsm
usb0: spice

logs:
截屏2024-09-12 09 39 20
截屏2024-09-12 09 39 13

(## 因为 log中存在 SN/MAC 等一些敏感信息, 当提供完整文件时请自行抹除他们, 当然你也可以发送到我的邮箱. ##)
(## Because the log contains some sensitive information such as SN/MAC, please delete them when providing the complete file. Of course, you can also send it to my email. ##)
...

(请先看一下#173#175、#226的内容)
(Plz review the content of #173, #175, #226 first)
...

(如果你只是说 XXX 不能用, 什么详细信息也不提供, 我也只能说感谢你的反馈.)
(If you just say XXX doesn't work without providing any details, I can only say thank you for your feedback.)
...

@wjz304
Copy link
Contributor

wjz304 commented Sep 15, 2024

建议用 sata

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