How Do You Mount a VHDX in CentOS 7
-
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
If you want to mount a .VHDX file on CentOS, and it's a VM, why not attach it to the VM itself and then mount it as a volume within CentOS?
Not a VM, just an image.
-
@scottalanmiller said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
If you want to mount a .VHDX file on CentOS, and it's a VM, why not attach it to the VM itself and then mount it as a volume within CentOS?
Not a VM, just an image.
I mean if the CentOS 7 server is a VM on Hyper-V, you could mount the .VHDX to the VM and it would be presented to CentOS as a regular drive.
-
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
@scottalanmiller said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
If you want to mount a .VHDX file on CentOS, and it's a VM, why not attach it to the VM itself and then mount it as a volume within CentOS?
Not a VM, just an image.
I mean if the CentOS 7 server is a VM on Hyper-V, you could mount the .VHDX to the VM and it would be presented to CentOS as a regular drive.
That is a bit of an odd assumption, right?
-
@DustinB3403 said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
@scottalanmiller said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
If you want to mount a .VHDX file on CentOS, and it's a VM, why not attach it to the VM itself and then mount it as a volume within CentOS?
Not a VM, just an image.
I mean if the CentOS 7 server is a VM on Hyper-V, you could mount the .VHDX to the VM and it would be presented to CentOS as a regular drive.
That is a bit of an odd assumption, right?
It is quite a reach... but there is a lack of background info. CentOS was mentioned, as well as VHDX. We know there's a CentOS server. We know Windows is somewhere, or there wouldn't be a VHDX. SAM is a proxy in this case, may have been just asked quick without he himself knowing the environment... could have been one of those "quick questions". Who knows.
Figured I'd throw out some kind of assumption with a possible solution if that's the case. ^_^
-
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
@DustinB3403 said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
@scottalanmiller said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
If you want to mount a .VHDX file on CentOS, and it's a VM, why not attach it to the VM itself and then mount it as a volume within CentOS?
Not a VM, just an image.
I mean if the CentOS 7 server is a VM on Hyper-V, you could mount the .VHDX to the VM and it would be presented to CentOS as a regular drive.
That is a bit of an odd assumption, right?
It is quite a reach... but there is a lack of background info. CentOS was mentioned, as well as VHDX. We know there's a CentOS server. We know Windows is somewhere, or there wouldn't be a VHDX. SAM is a proxy in this case, may have been just asked quick without he himself knowing the environment... could have been one of those "quick questions". Who knows.
Figured I'd throw out some kind of assumption with a possible solution if that's the case. ^_^
lol, frankly I'm amazed Scott isn't the one crusifying you for making such an assumption ;).
I made the assumption of empathy in that SW thread, he made an assumption of laziness - clash
-
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
@DustinB3403 said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
@scottalanmiller said in How Do You Mount a VHDX in CentOS 7:
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
If you want to mount a .VHDX file on CentOS, and it's a VM, why not attach it to the VM itself and then mount it as a volume within CentOS?
Not a VM, just an image.
I mean if the CentOS 7 server is a VM on Hyper-V, you could mount the .VHDX to the VM and it would be presented to CentOS as a regular drive.
That is a bit of an odd assumption, right?
It is quite a reach... but there is a lack of background info. CentOS was mentioned, as well as VHDX. We know there's a CentOS server. We know Windows is somewhere, or there wouldn't be a VHDX. SAM is a proxy in this case, may have been just asked quick without he himself knowing the environment... could have been one of those "quick questions". Who knows.
Figured I'd throw out some kind of assumption with a possible solution if that's the case. ^_^
I know that the VHDX was only a backup file created by Windows backup. I have no idea if there is any hypervisor involved.
-
@Tim_G oh I know, and don't take it the wrong way.
But with the information provided I thought it was a pretty straightforward question.
"What tool is needed to mount VHDX inside of CentOS?" is how I read it.
-
@DustinB3403 said in How Do You Mount a VHDX in CentOS 7:
@Tim_G oh I know, and don't take it the wrong way.
But with the information provided I thought it was a pretty straightforward question.
"What tool is needed to mount VHDX inside of CentOS?" is how I read it.
I read it exactly that way too. And since there were a few leads already, I thought perhaps if those don't pan out, I'd provide a possible different approach. Even if those assumptions don't apply, it could be helpful in another aspect to someone reading the post if maybe someone is in a similar situation that actually does have Hyper-V or a way to present a VHDX as an iSCSI device.
I suppose that in the future, I will stick to the questions word for word and never provide anything further than that. But then I expect that from everyone else as well.
-
@Tim_G said in How Do You Mount a VHDX in CentOS 7:
I suppose that in the future, I will stick to the questions word for word and never provide anything further than that. But then I expect that from everyone else as well.
You don't need to expect it, I just thought that was a vast leap from what was asked.
-
Did you figure this out? I know it's a pain, but if you're stuck you can convert it with qemu to raw.
qemu-img convert -f vhdx -O raw