Tag Archives: virtual machines

Call us slow…but Hyper V Server is free…

Today we were researching VDIs in the office for a client and came across Hyper V server from Microsoft, after looking around it appears that it’s free. We are currently downloading it and will be testing it out over the course of the next week, along with CitrixXen Server and XenDesktop.

Do you have a favourite VDI or virtualization platform? Then be sure to let us know in the comments.

Microsoft Hyper V

Command Line Mounting and Unmounting drives/volumes – Windows

Today we came across an issue while working on a virtual server. We had created a virtual hard drive, attached it to the virtual Windows 2008 Server machine, added some files to it and wanted to unmount the virtual drive and then attach it to another virtual machine.

The virtual machine manager (XenCenter in this case) wouldn’t allow us to disconnect the drive, while the virtual guest OS was still using it.

A quick Google and we finally found this command:

mountvol

Creates, deletes, or lists a volume mount point.

That’s exactly what we needed. Heres how to use it:

Creates, deletes, or lists a volume mount point.

MOUNTVOL [drive:]path VolumeName
MOUNTVOL [drive:]path /D
MOUNTVOL [drive:]path /L
MOUNTVOL [drive:]path /P
MOUNTVOL /R
MOUNTVOL /N
MOUNTVOL /E

path        Specifies the existing NTFS directory where the mount
point will reside.
VolumeName  Specifies the volume name that is the target of the mount
point.
/D          Removes the volume mount point from the specified directory.
/L          Lists the mounted volume name for the specified directory.
/P          Removes the volume mount point from the specified directory,
dismounts the volume, and makes the volume not mountable.
You can make the volume mountable again by creating a volume
mount point.
/R          Removes volume mount point directories and registry settings
for volumes that are no longer in the system.
/N          Disables automatic mounting of new volumes.
/E          Re-enables automatic mounting of new volumes.

To unmount the drive that was in use we just used:

mountvol E:\ /D

The E:\ drive was then released from Windows and this allowed us to use and mount the disk else where.

Tip – Windows Small Business Server 2008

This week we were updating a clients servers.

Without reading all the fine print, we tried to install Windows Small Business Server 2008 inside a virtual machine with only 2GB of ram available. About an hour into the installation Windows SBS 2008 decided to alert us that it requires a minimum of 4 GB of ram.

Don’t get caught out – always have spare ram.

Image thanks to William Hook