Create NFS file share on Hyper-V Server 2016
-
Before I switched HV06 to Hyper-V Server 2016, it was running Windows Server 2016 DC with Hyper-V Role.
Then, all Hyper-V VMs on HV06 were (and still are) being backed up to the MD1000 (which is the B: drive on the host).... and the host (HV06) was also hosting an NFS share to a folder on the MD1000 (B:\LinuxBackups) in which all physical Linux servers were backing up to via ReaR on each physical Linux server.
The tape drive is connected to HV06, which had Yosemite installed, and was backing up everything to Tape.
Now that HV06 is no longer running Windows Server, and is now running Hyper-V Server, I am no longer able to host that NFS share on the host in which all physical Linux servers backed up to.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
- I would prefer to host the NFS share via the Hyper-V Host (HV06), straight into a folder on the MD1000. This is ONLY possible via 3rd party software, as Hyper-V Server doesn't allow you to create NFS shares.
But we covered this. The Linux VM is exactly this. It is third party software, it sits on Hyper-V, and you can put its data stores directly on the MD1000 meeting your criteria in every way.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
- That's right. When I need to restore something from Tape, I don't want to have to restore a 20 TB VHD that contains everything. Instead, I want to be able to, from Tape, select only what needs restored... for example, the ability to shove in a Tape, and restore a specific physical Linux server image, rather than a single VHD first that contains ALL backups. I don't want to spend 50 hours restoring a 20 TB VHD so, once restored, I can mount it and then finally get the backup image I want.
Right, but this problem is only caused by point #1. Allow any flexibility in the tools used, not different ones, just reconfigure what you have, and this isn't an issue.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
-
@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:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
We may be talking about different things...
VHD = Virtual Hard Disk that a Hyper-V VM and/or Hyper-V VM data lives on...
- VM1 (Fedora 27)
- VHD1 (vm1.vhdx)
- VHD2 (vm1-data.vhdx)
- Lives on the MD1000 & backed up to tape
Where VHD2.vhdx is where the NFS share lives on. So now, VHD2.vhdx is on Tape... and if I want to restore something inside of HVD2.vhdx, i have to restore the ENTIRE THING from tape first, before I can get it.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
- The mentioned backup software is what I'm stuck with.
That's not an issue. It's not what you have, it's how it is configured.
-
@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:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
We may be talking about different things...
VHD = Virtual Hard Disk that a Hyper-V VM and/or Hyper-V VM data lives on...
- VM1 (Fedora 27)
- VHD1 (vm1.vhdx)
- VHD2 (vm1-data.vhdx)
- Lives on the MD1000 & backed up to tape
Where VHD2.vhdx is where the NFS share lives on. So now, VHD2.vhdx is on Tape... and if I want to restore something inside of HVD2.vhdx, i have to restore the ENTIRE THING from tape first, before I can get it.
We are talking about the same thing. Just you want to backup the VM as an image of that VHD. And I want to back it up from the contents of the VHD - doing it my way doesn't present any of the problems you are trying to overcome.
-
@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:
@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:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
We may be talking about different things...
VHD = Virtual Hard Disk that a Hyper-V VM and/or Hyper-V VM data lives on...
- VM1 (Fedora 27)
- VHD1 (vm1.vhdx)
- VHD2 (vm1-data.vhdx)
- Lives on the MD1000 & backed up to tape
Where VHD2.vhdx is where the NFS share lives on. So now, VHD2.vhdx is on Tape... and if I want to restore something inside of HVD2.vhdx, i have to restore the ENTIRE THING from tape first, before I can get it.
We are talking about the same thing. Just you want to backup the VM as an image of that VHD. And I want to back it up from the contents of the VHD - doing it my way doesn't present any of the problems you are trying to overcome.
And how do I get the contents of that VHD (vm1-data.vhdx) onto tape through the main tape backup job that HV06 runs?
-
If that VHD lives on the MD1000, it will be put onto tape with everythign else that's on the MD1000.
-
@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:
@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:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
We may be talking about different things...
VHD = Virtual Hard Disk that a Hyper-V VM and/or Hyper-V VM data lives on...
- VM1 (Fedora 27)
- VHD1 (vm1.vhdx)
- VHD2 (vm1-data.vhdx)
- Lives on the MD1000 & backed up to tape
Where VHD2.vhdx is where the NFS share lives on. So now, VHD2.vhdx is on Tape... and if I want to restore something inside of HVD2.vhdx, i have to restore the ENTIRE THING from tape first, before I can get it.
We are talking about the same thing. Just you want to backup the VM as an image of that VHD. And I want to back it up from the contents of the VHD - doing it my way doesn't present any of the problems you are trying to overcome.
And how do I get the contents of that VHD (vm1-data.vhdx) onto tape through the main tape backup job that HV06 runs?
By running a backup from an agent in the VM. Like ReaR which can backup to tape.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
If that VHD lives on the MD1000, it will be put onto tape with everythign else that's on the MD1000.
That's a configuration problem. Nothing technically causes that problem.
-
@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:
@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:
@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:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
We may be talking about different things...
VHD = Virtual Hard Disk that a Hyper-V VM and/or Hyper-V VM data lives on...
- VM1 (Fedora 27)
- VHD1 (vm1.vhdx)
- VHD2 (vm1-data.vhdx)
- Lives on the MD1000 & backed up to tape
Where VHD2.vhdx is where the NFS share lives on. So now, VHD2.vhdx is on Tape... and if I want to restore something inside of HVD2.vhdx, i have to restore the ENTIRE THING from tape first, before I can get it.
We are talking about the same thing. Just you want to backup the VM as an image of that VHD. And I want to back it up from the contents of the VHD - doing it my way doesn't present any of the problems you are trying to overcome.
And how do I get the contents of that VHD (vm1-data.vhdx) onto tape through the main tape backup job that HV06 runs?
By running a backup from an agent in the VM. Like ReaR which can backup to tape.
Okay, let's say I run my tape backup from the Yosemite agent in the VM. Great, now I have all that NFS share backed up to tape.
But that doesn't grab any of the Windows Server Backup data on the MD1000... only the NFS share that contains physical Linux server backups.
That VM isn['t going to see the rest of the MD1000.
-
Still, I would use Yosemite on the Linux VM to back up to tape, not ReaR. Yosemite works better on linux anyways. I'm ONLY using Yosemite for backing up to Tape.
-
If I use the Yosemite backup agent in the VM, and I configure it to back up the MD1000 (not the NFS share) to tape, it will go over the network I believe.
-
I'm going ot have to test this.
I think I understand what you're saying now.
Still have a single tape back up job, but run it all from the Yosemite backup agent on the VM...
I see, that way I can back up the NFS share directly to tape (not the VHD), and in the same job, have it also back up the Windows Server Backup folders.
-
Am I understanding correctly now?
-
If so, this is all dependent on the bulk of the data (the Windows Server Backup stuff) not having to go over the network.
The physical Linux server backups / NFS stuff can.
Yeah, i'm going to set up a test.
-
@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:
@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:
- I don't know where you got this from. All I want is to be able to back up physical Linux servers directly to the MD1000. The only way I can do this is via NFS. The only way to do this via NFS is by some software that will install on the HV06 host itself and allow me to create and host an NFS share in a folder on the MD1000.
From point 1 - you can't reconfigure your backup software to not backup as a single VHD. You made backing up at the VHD level a requirement.
We may be talking about different things...
VHD = Virtual Hard Disk that a Hyper-V VM and/or Hyper-V VM data lives on...
- VM1 (Fedora 27)
- VHD1 (vm1.vhdx)
- VHD2 (vm1-data.vhdx)
- Lives on the MD1000 & backed up to tape
Where VHD2.vhdx is where the NFS share lives on. So now, VHD2.vhdx is on Tape... and if I want to restore something inside of HVD2.vhdx, i have to restore the ENTIRE THING from tape first, before I can get it.
We are talking about the same thing. Just you want to backup the VM as an image of that VHD. And I want to back it up from the contents of the VHD - doing it my way doesn't present any of the problems you are trying to overcome.
And how do I get the contents of that VHD (vm1-data.vhdx) onto tape through the main tape backup job that HV06 runs?
I never said through the main tape backup job, that's never been something I recommended. We've established that that backup job isn't adequate for the task at hand.
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
Still, I would use Yosemite on the Linux VM to back up to tape, not ReaR. Yosemite works better on linux anyways. I'm ONLY using Yosemite for backing up to Tape.
Either one, that's fine. Or just use tar
-
@tim_g said in Create NFS file share on Hyper-V Server 2016:
If I use the Yosemite backup agent in the VM, and I configure it to back up the MD1000 (not the NFS share) to tape, it will go over the network I believe.
But the agent on the VM you don't want going to the MD1000, right? You want it going to the tape? Just make the VM on the MD1000 to begin with to get the data TO the MD1000.