ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Create NFS file share on Hyper-V Server 2016

    IT Discussion
    9
    276
    23.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates @Obsolesce
      last edited by

      @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.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @Obsolesce
          last edited by

          @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?

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            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?

            DashrenderD DustinB3403D 2 Replies Last reply Reply Quote 0
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by

              @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?

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @scottalanmiller
                last edited by

                @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.

                DashrenderD 1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce @scottalanmiller
                  last edited by

                  @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.

                  DashrenderD scottalanmillerS 3 Replies Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by DustinB3403

                    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.

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender @DustinB3403
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • ObsolesceO
                        Obsolesce
                        last edited by

                        The NFS VM won't see the MD1000.... only the host sees it.

                        stacksofplatesS DashrenderD DustinB3403D 3 Replies Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates @Obsolesce
                          last edited by

                          @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.

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @Obsolesce
                            last edited by

                            @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?

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Obsolesce
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @Obsolesce
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @Obsolesce
                                  last edited by DustinB3403

                                  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 stuff

                                  MD1000 acting solely as backup medium (no VHD's running from this ever).

                                  1 Reply Last reply Reply Quote 0
                                  • ObsolesceO
                                    Obsolesce @stacksofplates
                                    last edited by

                                    @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.

                                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Obsolesce
                                      last edited by

                                      @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?

                                      DustinB3403D 1 Reply Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce
                                        last edited by

                                        I have prepared this just incase:

                                        1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @scottalanmiller
                                          last edited by

                                          @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. . .

                                          1 Reply Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates @Obsolesce
                                            last edited by

                                            @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.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 14 / 14
                                            • First post
                                              Last post