Create NFS file share on Hyper-V Server 2016
-
I see the concern is that perhaps he wants to restore a server from a point that is no longer on the NFS, but there is a 1 yr old tape that does have the Linux backup on it (that was originally saved to the NFS share) and restore it...
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The MD1000 is backed up to Tape, which means that VHD is now on Tape.
Why? Says who? you don't have to backup the VHD, you can backup the files inside the VHD directly if you rather.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
The MD1000 is backed up to Tape, which means that VHD is now on Tape.
This is the break. This doesn't mean that. That's not how I would normally do it, and certainly not how I would do it if I had your concern.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
Here's how, I now need to restore that whole VHD from tape, which contains 9 other Linux server backups.
You only need to do this if you lost the VHD that was running on the Hyper-V host in the first place.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
Let me ask this way...
If I have a simple VM running a NFS share, and the NFS share is stored on a VHD on the Hyper-V host (MD1000)...
I have several physical linux servers (LinuxServ1 to LinuxServ10), backing themselves up to that NFS share (which is in that VHD).
The MD1000 is backed up to Tape, which means that VHD is now on Tape.
Now in a DR scenario, I need to restore LinuxServ3... how do I do that?
Here's how, I now need to restore that whole VHD from tape, which contains 9 other Linux server backups.
Had that NFS share not been on a VHD, I could have simply restore ONLY LinuxServ3 from tape. But because the backup of LinuxServ3 is in a VHD, I have to restore the whole VHD to get at it.
Why? Just backup the NFS share from the VM like you would the other way? Put an agent on the VM or use whatever tool you're using now to backup just the Linux servers backups.
-
Basically, if you put the NFS on Hyper-V you know you are going to back it up file by file. Treat the Linux VM the same, problem solved.
Anything that works for Hyper-V, works just as well or better for the VM.
-
@tim_g My question is why are you taking your boxes and making one really big box out of everything.
You have your VM's, your MD1000, your physical systems, why not back them up individually? This way you don't have to restore 100TB of of shit, if all you need is 10 gb worth of critical files immediately?
Why are you taking the entire MD1000 and backing that entire thing up to tape as a block device. Rather than doing individual file level backups to tape or cloud provider?
-
Also worth asking, why back up to an NFS device in the middle just to go to the MD1000? Why not go directly to the MD1000 and bypass the middle man?
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
Also worth asking, why back up to an NFS device in the middle just to go to the MD1000? Why not go directly to the MD1000 and bypass the middle man?
How do you do that over the network?
-
@scottalanmiller said in Create NFS file share on Hyper-V Server 2016:
Also worth asking, why back up to an NFS device in the middle just to go to the MD1000? Why not go directly to the MD1000 and bypass the middle man?
@scottalanmiller he is using the MD1000 as both VHD storage and backup medium. (IE Production drives and backup) and then wanting to backup the entire thing.
Almost IPOD in design. A few servers sitting out somewhere connecting back to the MD1000 to mount VHD's, and then have an NFS share on the same MD1000 to backup to.
And backup the entire MD1000 to protect the data, but not the servers.
-
@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 MD1000 is backed up to Tape, which means that VHD is now on Tape.
This is the break. This doesn't mean that. That's not how I would normally do it, and certainly not how I would do it if I had your concern.
The MD1000 only contains backups. The MD1000 is backed up as a whole to Tape, file by file.
If the NFS share is inside of a VHD, that whole VHD needs to be restored, rather than just the single "LinuxServ3" image file.
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.
-
What I don't follow is, if you are backing up to the MD1000, why not simply push that backup directly to tape or D2D2T even.
Why use the MD1000 as production disks and backup storage, and then push the entire box to tape?
Really seems like overkill.
-
@dustinb3403 said in Create NFS file share on Hyper-V Server 2016:
Almost IPOD in design. A few servers sitting out somewhere connecting back to the MD1000 to mount VHD's, and then have an NFS share on the same MD1000 to backup to.
I might be wrong, but I think the only thing mounting the VHDs is the Hyper-V that the MD1000 is directly connected to.
-
The NFS VM won't see the MD1000.... only the host sees it.
-
@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.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
I can't back that up to tape directly because the VM doesn't have access to the tape drive,
Why doesn't it?
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
If the NFS share is inside of a VHD, that whole VHD needs to be restored, rather than just the single "LinuxServ3" image file.
No, this bit is incorrect and is the crux of your point. This is not a requirement, as you proved by not planning to do this from Hyper-V.
-
@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? you give the VM a VHD that lives on the MD1000. that's how the VM gets access to the MD1000.
-
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.