Create NFS file share on Hyper-V Server 2016
-
OK so @Tim_G is this the setup correct, as I think I'm confused (maybe others as well).
Server with local storage acting as hypervisor
Physical Server doing stuff
Another physical server doing stuffMD1000 acting solely as backup medium (no VHD's running from this ever).
-
@stacksofplates said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The NFS VM won't see the MD1000.... only the host sees it.
So mount the VHD on the host and do it that way.
The host is Hyper-V Server 2016. Although it can have VHDs attached to it, it cannot host an NFS share. Only Windows Server or Linux can do that.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
From within the simple Linux VM that is hosting the NFS share, I can't back that up to tape directly because the VM doesn't have access to the tape drive, and it woudl be a completely different backup in addition to the MD1000 being archived.
I think we are missing something. How is data getting to the MD1000 at all? What is the NFS being used for?
How many backup locations do you have, that don't flow from one to another?
-
I have prepared this just incase:
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
From within the simple Linux VM that is hosting the NFS share, I can't back that up to tape directly because the VM doesn't have access to the tape drive, and it woudl be a completely different backup in addition to the MD1000 being archived.
I think we are missing something. How is data getting to the MD1000 at all? What is the NFS being used for?
How many backup locations do you have, that don't flow from one to another?
Well based on the last bit at least 2 medium are being used for backups. The MD1000 and Tape.
My critical question is, why perform a block level backup of the MD1000 to Tape, rather than file level backups? That would resolve the entire issue. . .
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
@stacksofplates said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The NFS VM won't see the MD1000.... only the host sees it.
So mount the VHD on the host and do it that way.
The host is Hyper-V Server 2016. Although it can have VHDs attached to it, it cannot host an NFS share. Only Windows Server or Linux can do that.
That's not what I'm saying. The VM has the NFS export. Mount the VHD in read only on the host and copy the data that way.
-
TL;DR: Is there any 3rd party software that will allow me to host an NFS share on Hyper-V Server 2016, or a better way to run an NFS share on a DAS attached to a Hyper-V Server 2016 host?
Details:
Here is a small piece of some infrastructure, and how this particular part is backed up and replicated:There are multiple Physical Linux Servers that need to back up to an NFS share on the MD1000 attached to HV06.
All these backup obstacles are due to the backup software being used. I know that, and I know the ideal easy answer: buy / use real backup software, etc...
Unfortunately, in this scenario, it's not (yet) an option. So in the meantime... let's ignore the real problem and help me find a band-aid.
Some key points:
- The MD1000 in bldg1 is the only backup storage / repository I have to work with for these pieces.
- The MD1000 in bldg1 has to be connected to HV06, because the bulk of all data to be backed up is on HV06, and is about 15 TB of data.
- Attaching the MD1000 on something else means 15TB going across the network through a backup server is out of the question. I've done some math and did some tests and this won't work due to some other irrelevant factors to this topic.
- The rest of the designated backup data going onto the the MD1000 is 1-2 TB.
- The source of this data comes from over the local network.
- Most of these sources' backups require an NFS share.
- This NFS share must be located on the MD1000 in bldg1.
The problem:
- HV06 is running Hyper-V Server 2016
- This means I can't create an NFS share via HV06 on the MD1000.
Possible solutions:
- Create a simple fileserver VM on HV06, serving an NFS share that is located on the MD1000.
- Because it's on a VM, the NFS share will be inside of a .VHDX file.
- This makes restorations more time consuming or complex, because first the .VHDX would need to be restored in order to restore the NFS share inside of it... and then the backup data in the NFS share could finally then be recovered.
- Because it's on a VM, the NFS share will be inside of a .VHDX file.
- Some kind of 3rd party software that will allow me to create and host an NFS share on Hyper-V Server 2016.
- Should be fine, Datacenter licensing is on the HV06 hardware... so Windows Server features would be covered that way.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
TL;DR: Is there any 3rd party software that will allow me to host an NFS share on Hyper-V Server 2016,
Yes, that's literally what we are saying to do. A Linux VM is literally "3rd party software that will allow me to host an NFS share on Hyper-V Server 2016". It is, in every way, exactly what you are asking for.
-
Why do you want an NFS share at all? I'm missing the purpose of that extra step. Why aren't the backups going to the MD1000 directly?
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
TL;DR: Is there any 3rd party software that will allow me to host an NFS share on Hyper-V Server 2016,
Yes, that's literally what we are saying to do. A Linux VM is literally "3rd party software that will allow me to host an NFS share on Hyper-V Server 2016". It is, in every way, exactly what you are asking for.
The NFS share won't be on the MD1000, then. It will be inside of a VHD first, and then on the MD1000. That's the issue. I'm first hoping for NFS share directly on the MD1000, not inside of a VHD, unless there are no other options.
-
A "in the weeds" thing is worrying about the MD1000 as a thing. Simply look at the MD1000 as more internal storage that it just another array on HV06.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
* The source of this data comes from over the local network. * Most of these sources' backups require an NFS share.
Ah, here it is, buried in there. NFS is needed for the software chosen.
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
Why do you want an NFS share at all? I'm missing the purpose of that extra step. Why aren't the backups going to the MD1000 directly?
Because the MD1000 is attached to HV06. I can't attach it to multiple servers. So all other physical Linux Servers have to do their backups via NFS to the MD1000.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The NFS share won't be on the MD1000, then. It will be inside of a VHD first, and then on the MD1000. That's the issue.
How is that an issue? They are one and the same. The VHD is on the MD1000, so it's not one then the other. It's on the VHD, the VHD is on the MD1000, just two different aspects of the same statement.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
TL;DR: Is there any 3rd party software that will allow me to host an NFS share on Hyper-V Server 2016,
Yes, that's literally what we are saying to do. A Linux VM is literally "3rd party software that will allow me to host an NFS share on Hyper-V Server 2016". It is, in every way, exactly what you are asking for.
The NFS share won't be on the MD1000, then. It will be inside of a VHD first, and then on the MD1000. That's the issue. I'm first hoping for NFS share directly on the MD1000, not inside of a VHD, unless there are no other options.
The MD1000 is a dumb device, it can't have a NFS share. The NFS share comes from HV06, either via the OS on it, or a VM running on HV06 under a hypervisor.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
Possible solutions:
- Create a simple fileserver VM on HV06, serving an NFS share that is located on the MD1000.
- Because it's on a VM, the NFS share will be inside of a .VHDX file.
- This makes restorations more time consuming or complex, because first the .VHDX would need to be restored in order to restore the NFS share inside of it... and then the backup data in the NFS share could finally then be recovered.
- Because it's on a VM, the NFS share will be inside of a .VHDX file.
This is the part that is consistently incorrect. You do not need to restore the VHDX first.
- Create a simple fileserver VM on HV06, serving an NFS share that is located on the MD1000.
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The NFS share won't be on the MD1000, then. It will be inside of a VHD first, and then on the MD1000. That's the issue.
How is that an issue? They are one and the same. The VHD is on the MD1000, so it's not one then the other. It's on the VHD, the VHD is on the MD1000, just two different aspects of the same statement.
This means that ALL physical linux server backups will be inside of that VHD. So in the case I need to restore a single Linux server from Tape, I'd first have to restore the entire VHD.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The NFS share won't be on the MD1000, then. It will be inside of a VHD first, and then on the MD1000. That's the issue.
How is that an issue? They are one and the same. The VHD is on the MD1000, so it's not one then the other. It's on the VHD, the VHD is on the MD1000, just two different aspects of the same statement.
This means that ALL physical linux server backups will be inside of that VHD. So in the case I need to restore a single Linux server from Tape, I'd first have to restore the entire VHD.
Why do you think that? Do you not know you can backup a single file that lives inside a VHD? You can - you can prove that right now - you can copy any file from a Windows VM to another location via the network right now. Nothing says that you can only copy the whole VHD.
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
@tim_g said in Create NFS file share on Hyper-V Server 2016:
Possible solutions:
- Create a simple fileserver VM on HV06, serving an NFS share that is located on the MD1000.
- Because it's on a VM, the NFS share will be inside of a .VHDX file.
- This makes restorations more time consuming or complex, because first the .VHDX would need to be restored in order to restore the NFS share inside of it... and then the backup data in the NFS share could finally then be recovered.
- Because it's on a VM, the NFS share will be inside of a .VHDX file.
This is the part that is consistently incorrect. You do not need to restore the VHDX first.
Okay, so how do I get the data off of the VHDX, which is on a Tape, without restoring the VHDX?
- Create a simple fileserver VM on HV06, serving an NFS share that is located on the MD1000.
-
I don't think the tape software will let me dive into a VHDX to restore a single file from it, if it expands multiple tapes... or even at all.