Avatar of Meron
Meron

asked on 

moving vhdx exhcnage db drive

Hi,

We've got a virtual (hyper-v) exchange 2016 server.

The host hyper-v has 2 vhdx files on it, serving as the 2 hard-drives of the exchange machine; one is for the exchange's OS & the other contains the DB only.

These 2 vhdx files are sitting on the same physical hard-drive back at the hyper-v host server, which is starting to fill up.

Can I simply move the Mail-DB.vhdx file (the Exchange's hard-drive on which we only keep the Exchange DB) from one drive to the other on the host machine, and simply point to the virtual hard disk's new location?

Is there anything I'm missing? any specific guidelines? something to keep in mind or to be aware of?

Thank!
VirtualizationExchange* virtual diskHyper-V

Avatar of undefined
Last Comment
Darren Wood
Avatar of Bembi
Bembi
Flag of Germany image

Hello,
in general yes...Moving vhdx files on the Hyper-V host doesn't really affect exchange. Exchange reflects on the drive letter. The drive letter has to be the same.
From the general procedure...
- Shutdown Exchange...
- Detach the drive
- Move (or copy) the drive
- Reattach the drive...
- Restart exchange...
- Check if the drives appear as expected.
What you may have in mind...
A new physical drive can have different permission. As far as you already store vhdx files on the new location, they should be fine. If you now use a new drive the first time, you first have to prepare the new drive location so the containing folder has the correct permissions.
The permission for the Hyper-V machine itself is set, when the disc is attached.   
SOLUTION
Avatar of Member_2_231077
Member_2_231077

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Steve Smith
Steve Smith
Flag of United Kingdom of Great Britain and Northern Ireland image

Backup first though 
Avatar of Darren Wood
Darren Wood
Flag of United Kingdom of Great Britain and Northern Ireland image

attach the new drive with the space you need and then move the database using the exchange EMS, move-mailboxdatabase command.
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo