Drive virtIO to isci

Discussion in 'Proxmox VE: Installation and configuration' started by Norberto Iannicelli, May 21, 2019.

Tags:
  1. Norberto Iannicelli

    Norberto Iannicelli New Member

    Joined:
    May 9, 2016
    Messages:
    26
    Likes Received:
    0
    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.
     
    #1 Norberto Iannicelli, May 21, 2019
    Last edited: May 21, 2019
  2. Norberto Iannicelli

    Norberto Iannicelli New Member

    Joined:
    May 9, 2016
    Messages:
    26
    Likes Received:
    0
    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
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice