1.    21 Mar 2017 #1
    Join Date : Dec 2015
    Posts : 5,994
    Windows10

    Accessing external hard drives in a VM


    I have always had a bit of an issue accessing my second hard drive (in a dvd caddy) on my laptop when I clean install to a VM (in Hyper-V for sure - but also in VMware from memory) as I always have to install specific AMD drivers (same happens if I clean install to host) as the installer installs the MS standard SATA controller drivers and I have to manually install the AMD controller drivers.

    I can then see the second drive in the VM (assuming I set up VM to access external drives).

    However, having found I get speed issues copying files to these external drives, and now I simply make the external drives shareable over my local area network, and I can see the drives as network shares regardless of whether I install an AMD SATA controller in the VM. The major plus for me is it is much faster as well.

    So in simple terms, no real need to attach external drives to a VM - just make the external network drives shareable (use password if required).

    This gets round one issue I had with VMware i.e. if drive was being accessed by VM, you could not access it via Host. Hyper-V does not have that restriction.
      My ComputerSystem Spec
  2.    22 Mar 2017 #2

    Hi there

    with VMWARE you don't need to install required drivers for HDD's to the VM - so long as the drivers are working on the HOST - then simply attach the specific device to the VM via the VMware main menu

    For example I've got a 4 HDD enclosure which I'm using as a Linux software RAID device -- my VM simply sees the 4 HDD's as a 10 TB Raid 0 array. The device uses a USB-->ATAPI/SATA bridge which is simply attached to the VM as shown

    Click image for larger version. 

Name:	usbhdd.png 
Views:	0 
Size:	755.1 KB 
ID:	126157

    You can see the 4 HDD's (marked md) are compounded into a 10 TB array (md127)

    Click image for larger version. 

Name:	snapshot11.png 
Views:	0 
Size:	142.3 KB 
ID:	126160

    I'll bet a million dollars to a bucket full of the brown smelly stuff that a decent RAID 0 is going to be zillions of times faster than acessing HDD's over a network !!!!!!

    Linux Software raid is VERY efficient (mdadm) - and by using ext4 file system you avoid the overhead of windows file system (ntfs).

    I use this for serving multi-media, other files and backups so I don't really need to share specifically with windows but SAMBA is the best way of doing that.

    The file browser shows a single 10 TB device

    Click image for larger version. 

Name:	snapshot12.png 
Views:	0 
Size:	130.5 KB 
ID:	126161

    Cheers
    jimbo
      My ComputerSystem Spec
  3.    23 Mar 2017 #3
    Join Date : Dec 2015
    Posts : 5,994
    Windows10
    Thread Starter

    Hi Jimbo,

    I know you can attach external hdds via menu - done it many times. The issue I always had was when you do that hdd is not available in Host whilst running vm.

    I assume this is not an issue if you use network shares
      My ComputerSystem Spec
  4.    23 Mar 2017 #4

    Hi there

    No problem

    simply start SAMBA and then Windows networking can see it OK - even if you've formatted the drive as EXT4 -- the SAMBA protocol (SMB / CIFS) will do all the file conversions.

    Note you can also easily share SAMBA HDD's etc between Linux systems / android too --simply on the remote Linux system (same for a VM as a Physical system) as root or sudo issue command similar to :

    mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share

    where shares is the directory share defined in your smb.config file, the ip address is the IP address of your remote machine (probably like 192.168.1.xxx or 192.168.0.xxx,) and /mnt.xxxx is where you want to mount the device on your local machine (VM or physical).

    Cheers
    jimbo
      My ComputerSystem Spec
  5.    24 Mar 2017 #5
    Join Date : Dec 2015
    Posts : 5,994
    Windows10
    Thread Starter

    Quote Originally Posted by jimbo45 View Post
    Hi there

    No problem

    simply start SAMBA and then Windows networking can see it OK - even if you've formatted the drive as EXT4 -- the SAMBA protocol (SMB / CIFS) will do all the file conversions.

    Note you can also easily share SAMBA HDD's etc between Linux systems / android too --simply on the remote Linux system (same for a VM as a Physical system) as root or sudo issue command similar to :

    mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share

    where shares is the directory share defined in your smb.config file, the ip address is the IP address of your remote machine (probably like 192.168.1.xxx or 192.168.0.xxx,) and /mnt.xxxx is where you want to mount the device on your local machine (VM or physical).

    Cheers
    jimbo
    I think we are talking crossed wires here - I was talking about running windows in vm as well as host.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved Double entres of external hard drives.
In the navigation pane, 2 entries for external Hd's H & J are shown. How to turn off the bottom 2 entries for the Hd's H & J & Network & Homegroup. I'm the only user for this computer & only need 1 entry for H & J Hd to show. When working with files...
Drivers and Hardware
Flash drives recognized but external hard drives are not
My Windows 10 Home laptop will recognize all of my flash drives but won't recognize any of my external hard drives. They all use to show up but now they aren't. The hard drives show up in disk manager but won't show up in file explorer. I hooked...
Drivers and Hardware
Windows 10 Pro and External Hard Drives...
Hello, I recently bought a new PC with win 10 pro on board. I was disappointed to find that my Sabrent Dual Hard Drive bay as well as my Inateck external hard drive cable are not recognized by my laptop, a Lenovo Thinkpad. I had no issues with...
Drivers and Hardware
How to Benchmark External USB 3.0 Hard Drives?
I suspect the VIA USB 3.0 ports on my motherboard are not performing as well as the Intel USB 3.0 ports with my 1T & 2T Seagate Portable USB 3.0 Expansion Drives. What's the best way of benchmarking external USB 3.0 hard drives to troubleshoot...
PC Custom Builds and Overclocking
Solved Freezing external hard drives
I've been trying to transfer files to several external hard drives of mine in order to clear up space on my HDD, however every time I do begin a transfer, it will only do so for about 2-3 seconds, and then the transfer rate will drop rapidly until...
Drivers and Hardware
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:43.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums