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

    Access a NFS Share from Another Linux Box

    IT Discussion
    linux nfs file sharing
    5
    28
    6.9k
    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.
    • thanksajdotcomT
      thanksajdotcom
      last edited by

      I feel like this shouldn't be this hard but I'm trying to access a share that's on server1 from server2. Both are running Ubuntu 14.04.2 LTS and I want to basically share my NASes through one server that has Pertino to another running Pertino that is now on C@C. This shouldn't be so difficult but it is! GAH! Please help!

      Thanks,
      A.J.

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

        Okay, so I'm a little unclear on what you are doing here. One or both Ubuntu 14.04.2 server is set up as an NFS server, is that correct?

        thanksajdotcomT 1 Reply Last reply Reply Quote 0
        • thanksajdotcomT
          thanksajdotcom @scottalanmiller
          last edited by

          @scottalanmiller said:

          Okay, so I'm a little unclear on what you are doing here. One or both Ubuntu 14.04.2 server is set up as an NFS server, is that correct?

          I believe one should be, but I can't even confirm that 100%. Basically I just need to share my NASes mounted to server1 through to server2.

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

            @thanksajdotcom said:

            @scottalanmiller said:

            Okay, so I'm a little unclear on what you are doing here. One or both Ubuntu 14.04.2 server is set up as an NFS server, is that correct?

            I believe one should be, but I can't even confirm that 100%. Basically I just need to share my NASes mounted to server1 through to server2.

            Wait, you are trying to re-share an NFS share? Sharing a share?

            thanksajdotcomT 1 Reply Last reply Reply Quote 3
            • thanksajdotcomT
              thanksajdotcom @scottalanmiller
              last edited by

              @scottalanmiller said:

              @thanksajdotcom said:

              @scottalanmiller said:

              Okay, so I'm a little unclear on what you are doing here. One or both Ubuntu 14.04.2 server is set up as an NFS server, is that correct?

              I believe one should be, but I can't even confirm that 100%. Basically I just need to share my NASes mounted to server1 through to server2.

              Wait, you are trying to re-share an NFS share? Sharing a share?

              Correct.

              1 Reply Last reply Reply Quote 0
              • thanksajdotcomT
                thanksajdotcom
                last edited by

                Unfortunately that's the only way to do this...

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

                  @thanksajdotcom said:

                  Unfortunately that's the only way to do this...

                  That's never the answer. Let's back up and explore options.

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

                    Two obvious options that come to mind:

                    1. What kind of NAS is it that you can't install Pertino directly on it?

                    2. If (1) isn't possible, why do a double mount when you could do a TCP/IP hairpin?

                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                    • thanksajdotcomT
                      thanksajdotcom @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      Two obvious options that come to mind:

                      1. What kind of NAS is it that you can't install Pertino directly on it?

                      2. If (1) isn't possible, why do a double mount when you could do a TCP/IP hairpin?

                      You've mentioned a TCP/IP hairpin before but can you explain it again?
                      It's a consumer-grade NAS. Works fine for my needs overall, but I can't install Pertino on it. Seagate GoFlex Home are the NASes. 2TB each.

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @thanksajdotcom
                        last edited by

                        @thanksajdotcom said:

                        @scottalanmiller said:

                        Two obvious options that come to mind:

                        1. What kind of NAS is it that you can't install Pertino directly on it?

                        2. If (1) isn't possible, why do a double mount when you could do a TCP/IP hairpin?

                        You've mentioned a TCP/IP hairpin before but can you explain it again?
                        It's a consumer-grade NAS. Works fine for my needs overall, but I can't install Pertino on it. Seagate GoFlex Home are the NASes. 2TB each.

                        Hairpinning is sending network traffic backout the same interface it came in on. I assume he means setup the Linux box to so some simple routing between Pertino and the NAS.

                        thanksajdotcomT 1 Reply Last reply Reply Quote 1
                        • thanksajdotcomT
                          thanksajdotcom @A Former User
                          last edited by

                          @thecreativeone91 said:

                          @thanksajdotcom said:

                          @scottalanmiller said:

                          Two obvious options that come to mind:

                          1. What kind of NAS is it that you can't install Pertino directly on it?

                          2. If (1) isn't possible, why do a double mount when you could do a TCP/IP hairpin?

                          You've mentioned a TCP/IP hairpin before but can you explain it again?
                          It's a consumer-grade NAS. Works fine for my needs overall, but I can't install Pertino on it. Seagate GoFlex Home are the NASes. 2TB each.

                          Hairpinning is sending network traffic backout the same interface it came in on. I assume he means setup the Linux box to so some simple routing between Pertino and the NAS.

                          Ok, that'd be doable, but are there any good walkthroughs for this?

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @thanksajdotcom
                            last edited by

                            @thanksajdotcom said:

                            @thecreativeone91 said:

                            @thanksajdotcom said:

                            @scottalanmiller said:

                            Two obvious options that come to mind:

                            1. What kind of NAS is it that you can't install Pertino directly on it?

                            2. If (1) isn't possible, why do a double mount when you could do a TCP/IP hairpin?

                            You've mentioned a TCP/IP hairpin before but can you explain it again?
                            It's a consumer-grade NAS. Works fine for my needs overall, but I can't install Pertino on it. Seagate GoFlex Home are the NASes. 2TB each.

                            Hairpinning is sending network traffic backout the same interface it came in on. I assume he means setup the Linux box to so some simple routing between Pertino and the NAS.

                            Ok, that'd be doable, but are there any good walkthroughs for this?

                            No Idea. I've only ever done it on cisco devices. @scottalanmiller hopefully knows.

                            thanksajdotcomT 1 Reply Last reply Reply Quote 1
                            • thanksajdotcomT
                              thanksajdotcom @A Former User
                              last edited by

                              @thecreativeone91 said:

                              @thanksajdotcom said:

                              @thecreativeone91 said:

                              @thanksajdotcom said:

                              @scottalanmiller said:

                              Two obvious options that come to mind:

                              1. What kind of NAS is it that you can't install Pertino directly on it?

                              2. If (1) isn't possible, why do a double mount when you could do a TCP/IP hairpin?

                              You've mentioned a TCP/IP hairpin before but can you explain it again?
                              It's a consumer-grade NAS. Works fine for my needs overall, but I can't install Pertino on it. Seagate GoFlex Home are the NASes. 2TB each.

                              Hairpinning is sending network traffic backout the same interface it came in on. I assume he means setup the Linux box to so some simple routing between Pertino and the NAS.

                              Ok, that'd be doable, but are there any good walkthroughs for this?

                              No Idea. I've only ever done it on cisco devices. @scottalanmiller hopefully knows.

                              If I have to setup the hairpin on CentOS, that's fine too. I'm not picky, as long as it works.

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

                                This is going to take some work. NFS is tricky and finding the right syntax for this is tough as no one every does this. But try this...

                                ssh -fN -L "2049:servername:2049" servername
                                
                                1 Reply Last reply Reply Quote 0
                                • thanksajdotcomT
                                  thanksajdotcom
                                  last edited by

                                  Basically I need to setup a bridge between the local interface, eth0, and pertino0 on what used to be my jump server. I'm working to upgrade my Pertino licensing as I'm currently maxed out. However, this is one of those times it sucks working on the east coast starting at 7AM when Pertino is in California...

                                  Anyways, if I bridge these two interfaces, would that work?

                                  Thanks,
                                  A.J.

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

                                    @thanksajdotcom said:

                                    Basically I need to setup a bridge between the local interface, eth0, and pertino0 on what used to be my jump server. I'm working to upgrade my Pertino licensing as I'm currently maxed out. However, this is one of those times it sucks working on the east coast starting at 7AM when Pertino is in California...

                                    Anyways, if I bridge these two interfaces, would that work?

                                    Thanks,
                                    A.J.

                                    Really? their web portal won't let you purchase more licenses on the fly?

                                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                    • thanksajdotcomT
                                      thanksajdotcom @Dashrender
                                      last edited by

                                      @Dashrender said:

                                      @thanksajdotcom said:

                                      Basically I need to setup a bridge between the local interface, eth0, and pertino0 on what used to be my jump server. I'm working to upgrade my Pertino licensing as I'm currently maxed out. However, this is one of those times it sucks working on the east coast starting at 7AM when Pertino is in California...

                                      Anyways, if I bridge these two interfaces, would that work?

                                      Thanks,
                                      A.J.

                                      Really? their web portal won't let you purchase more licenses on the fly?

                                      I haven't exactly purchased anything at this point...

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        As usual, he is using a free service and complaining because he can't abuse it and do whatever he wants.

                                        DashrenderD thanksajdotcomT 2 Replies Last reply Reply Quote 1
                                        • DashrenderD
                                          Dashrender @JaredBusch
                                          last edited by

                                          @JaredBusch said:

                                          As usual, he is using a free service and complaining because he can't abuse it and do whatever he wants.

                                          Well I guess that depends - If the plan is to call Pertino and beg for additional free licenses, then maybe. But if his plan is to call them and request assistance upgrading his account to a paid one with more licenses then no..

                                          JaredBuschJ thanksajdotcomT 2 Replies Last reply Reply Quote 1
                                          • JaredBuschJ
                                            JaredBusch @Dashrender
                                            last edited by

                                            @Dashrender o with the former.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post