Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.4
FUJITSU Software

4.6.4 Setting up virtio Block Device Used for Mirroring among Servers

When using the virtio block device for the mirroring among servers function, set up the virtio block device so that the by-id file is created on the KVM guest.

Take the following steps to set up the serial number to the virtual disk. The serial number should be a character string of up to 10 characters that does not duplicate in the virtual machine.

  1. Stop the guest OS.

  2. Select the stopped guest OS from the Virtual Machine Manager and click the [Open] button in the tool bar.

  3. Click in the tool bar of the displayed window to display the detailed information of hardware.

  4. Select a virtual disk [VirtIO Disk] from the hardware list in the left.

  5. In the [Virtual disk] window, set the serial number to [Serial number] of [Advanced options] and then click the [Apply] button.

  6. Start the guest OS and make sure that the by-id file of virtual disk exists on the guest OS.

    • Make sure that the by-id files exist in all virtio block devices used for mirroring among servers.

    • Make sure that the serial number set in step 5 is included in the file name of by-id file.

      # ls -l /dev/disk/by-id
      ...
      lrwxrwxrwx 1 root root 9 Apr 18 08:44 virtio-disk001 -> ../../vdg
      lrwxrwxrwx 1 root root 9 Apr 18 08:43 virtio-disk002 -> ../../vdh
      ...                                        serial number