Go to main content
Oracle® VM Server for SPARC 3.4 Administration Guide

Exit Print View

Updated: August 2016
 
 

Virtual Disk Timeout

By default, if the service domain providing access to a virtual disk back end is down, all I/O from the guest domain to the corresponding virtual disk is blocked. The I/O automatically is resumed when the service domain is operational and is servicing I/O requests to the virtual disk back end.

However, in some cases, file systems or applications might not want the I/O operation to block but rather to fail and report an error if the service domain is down for too long. You can now set a connection timeout period for each virtual disk, which can then be used to establish a connection between the virtual disk client on a guest domain and the virtual disk server on the service domain. When that timeout period is reached, any pending I/O and any new I/O will fail as long as the service domain is down and the connection between the virtual disk client and server is not reestablished.

    Set this timeout by using one of the following methods:

  • Using the ldm add-vdisk command.

    ldm add-vdisk timeout=seconds disk-name volume-name@service-name domain-name
  • Using the ldm set-vdisk command.

    ldm set-vdisk timeout=seconds disk-name domain-name
  • Adding the following line to the /etc/system file on the guest domain.

    set vdc:vdc_timeout=seconds

    For information about correctly creating or updating /etc/system property values, see Updating Property Values in the /etc/system File.


    Note - If this tunable is set, it overwrites any timeout setting done using the ldm CLI. Also, the tunable sets the timeout for all virtual disks in the guest domain.

Specify the timeout in seconds. If the timeout is set to 0, the timeout is disabled and I/O is blocked while the service domain is down (this is the default setting and behavior).