VMware vSphere

 View Only
  • 1.  Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 04:51 PM

    How to Install PVSCSI driver in Linux Guest?



  • 2.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 04:59 PM

    For Linux builds that support the use of the PVSSCI adapter, you should not need to install anything.

    http://kb.vmware.com/kb/1010398



  • 3.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 05:23 PM

    I checked this KB already but nothing about the linux is mentioned in this KB this only have this info that these Linux Guest OSs are supported and these are not. is there any vmware document is saying that it is not required to be installed in Linux OS?



  • 4.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 05:36 PM

    Make sure to install VMware Tools on your Virtual Machine, then it should work.



  • 5.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 05:50 PM


  • 6.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 05:53 PM

    That's why I referenced to the VMware tools. Once you install with a different controller, install the tools and then switch back to PVSCSI, it should work. Tested on RHEL 5.



  • 7.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 10, 2013 07:58 PM

    pvscsi is a vmware's paravirtual scsi device which the driver is been upstreamed into the mainstream Linux kernel by vmware from Linux kernel 2.6.33. So by default most of the Linux distros do have the pvscsi driver module compiled from Linux source and it can be found at /lib/modules/`uname -r`/kernel/drivers/scsi/vmw_pvscsi.ko

    The other case if installing vmware tools and clobbering the existing Linux sourced pvscsi with vmware's pre-built modules (PBM) then it can be found at /lib/modules/`uname -r`/misc/vmw_pvscsi.ko

    >How to Install PVSCSI driver in Linux Guest?

    # modprobe vmw_pvscsi

    # lsmod | grep -i pvscsi

    vmw_pvscsi             18432  2



  • 8.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 11, 2013 08:16 AM

    but how it will install the OS in that Hard Disk that's connected with PVSCSI controller if we are installing it after OS Installation



  • 9.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 11, 2013 08:20 AM

    By installing it on another controller type first, then switching afterwards.



  • 10.  RE: Install PVSCSI driver in Linux Guest

    Posted Oct 11, 2013 12:49 PM

    >>but how it will install the OS in that Hard Disk that's connected with PVSCSI controller if we are installing it after OS Installation

    It seems like you have the boot disk with the pvscsi controller.

    The required pvscsi controller will be already there in your initramfs or initrd image which is temporary root file system contains all the necessary drivers like scsi, lvm, raid, etc helps the kernel to mount the actual root file system from the disk which in your case is controlled by pvscsi controller.

    # lsinitrd /boot/initramfs-2.6.32-358.el6.x86_64.img | grep -i vmw_pvscsi

    -rwxr--r--   1 root     root        41384 Oct  8 23:24 lib/modules/2.6.32-358.el6.x86_64/kernel/drivers/scsi/vmw_pvscsi.ko