Drive virtIO to isci

Norberto Iannicelli

Renowned Member
May 9, 2016
54
0
71
38
good morning everyone. I need to change my drive from virtio virtual machines to iscsi and I would like to know if there is any way to do this.
I have had a lot of trouble with read mode when my storage migrates from master to slave. In virtio I can not set timeout for disks, in iscsi I can set this timeout and solve this problem.
Has anyone here been through this that might be giving me a hint on how to do this conversion?
I researched a lot and saw that through the virtio I can not set this timeout on the disk of the virtual machines, so I need to migrate to iscsi.

My storage is a NAS-HA and I connect it via NFS.
 
Last edited:
This working for me?

for a in /sys/class/scsi_generic/*/device/timeout; do echo -n "$a "; cat "$a" ; done;
for i in /sys/class/scsi_generic/*/device/timeout; do echo 360 > "$i"; done
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!