Drive virtIO to isci

May 9, 2016
39
0
6
33
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:
May 9, 2016
39
0
6
33
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 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 your own in 60 seconds.

Buy now!