Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Does zypper support NFSv4?

  1. #11

    Default Re: Does zypper support NFSv4?

    Quote Originally Posted by dd View Post
    ...maybe you could get that answered on the mail list or
    IRC (begin here: openSUSE:Communication channels - openSUSE)
    It's certainly is a strange error, especially that the same repo (Desktop running the NFS server) works just fine in openSUSE 12.1. I have another desktop running openSUSE 12.1, configured to use nfs:// and that works just fine. Both the 12.1 and 12.2 desktops use the NFS repo on another desktop which is openSUSE 12.2.

    I will take this to the ML. Many thanks.

    Cheers,

    Alvin

  2. #12
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Does zypper support NFSv4?

    On 2013-03-11 13:06, alvinbeach wrote:
    >
    > I think there may be some confusion. This issue is with NFS mounts using
    > repos that are configured with a nfs:// URL. This isn't the same as
    > using local directories that are NFS mount points. For instance, I added
    > the repo using YaST->Software Repositories and clicking on Add. Then I
    > selected "NFS..." option. This adds the repo using a nfs:// URL.


    I never knew about that method. :-o

    You could start by saying how the nfs server is defined (the export
    line) and how zypper imports it (the zypper lr --details output). Same
    here as in the ML - I saw your post and did not understand a word till
    you explained it again here.

    I it were me, I would use http:// (or ftp), I don't see the advantage
    with nfs. Well, another method available.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  3. #13

    Default Re: Does zypper support NFSv4?

    Quote Originally Posted by robin_listas View Post
    You could start by saying how the nfs server is defined (the export
    line) and how zypper imports it (the zypper lr --details output). Same
    here as in the ML - I saw your post and did not understand a word till
    you explained it again here.

    I it were me, I would use http:// (or ftp), I don't see the advantage
    with nfs. Well, another method available.
    I do have apache2 running that I use for my Intranet. I have a webcalendar and viewcv setup and working. What do I need to do to setup http:// RPM repo access? Where can I find more information on this?

    As for my NFS export:
    Code:
    /usr/local/data      192.168.11.0/24(fsid=0,crossmnt,rw,root_squash,sync,no_subtree_check)
    My NFS mount line in /etc/fstab is as follows (some on both 12.1 and 12.2 desktops):

    Code:
    192.168.0.10:/repositories     /mnt/repositories      nfs4    defaults,intr,hard,user         0 0
    Note that "repositories" is a subdirectory of /usr/local/data on the server.

    Output of zypper lr --details | grep MyRepo. I added the column headers for clarity.

    Code:
    #  | Alias                             | Name                       | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
    ---+-----------------------------------+----------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
    7 | MyRepo                        | MyRepo:Apps                    | Yes     | Yes     |   98     | rpm-md | nfs://192.168.0.10/repositories/MyRepo%3a/Apps?type=nfs4
    I have a few repositories on the server. They are all the same. I have one for Apps (see above) and one for Development. On the 12.2 desktop, both Apps and Development fail.

    Note that I do have a NFS mount on both desktops that I use for making backups:

    Code:
    192.168.0.10:/backup            /mnt/backup                     nfs4    defaults,intr,hard,user         0 0
    Note that "backup" is also a subdirectory of /usr/local/data on the server.

  4. #14

    Lightbulb [WORKAROUND] Re: Does zypper support NFSv4?

    Quote Originally Posted by alvinbeach View Post
    I do have apache2 running that I use for my Intranet. I have a webcalendar and viewcv setup and working. What do I need to do to setup http:// RPM repo access? Where can I find more information on this?
    Silly me! I just created a symlink to my repositories directory (/usr/local/data/repositories) in /srv/www/htdocs. Now my 12.2 box can use it. Next time I will have 2 cups of coffee before I post!

    I marked the subject as a WORKAROUND since I believe that the nfs:// is still broken. This workaround worked for me in all of 2min only because I had an already functional apache2 install/setup.

  5. #15

    Default Re: Does zypper support NFSv4?

    alvinbeach wrote:
    > ... I just created a symlink to my repositories directory
    > (/usr/local/data/repositories) in /srv/www/htdocs. Now my 12.2 box can
    > use it....
    >
    > ... This workaround worked for me in all of 2min only because
    > I had an already functional apache2 install/setup.


    And because your apache is set up to permit symlinks
    (which I think is not the default because of security concerns)

  6. #16
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Does zypper support NFSv4?

    On 2013-03-12 12:46, alvinbeach wrote:
    > I have a few repositories on the server. They are all the same. I have
    > one for Apps (see above) and one for Development. On the 12.2 desktop,
    > both Apps and Development fail.


    All that look correct to me... but I have never used NFS repos, did not
    know they exist.

    On 2013-03-12 13:06, alvinbeach wrote:>
    > alvinbeach;2534020 Wrote:
    >> I do have apache2 running that I use for my Intranet. I have a
    >> webcalendar and viewcv setup and working. What do I need to do to setup
    >> http:// RPM repo access? Where can I find more information on this?
    >>

    >
    > Silly me! I just created a symlink to my repositories directory
    > (/usr/local/data/repositories) in /srv/www/htdocs. Now my 12.2 box can
    > use it. Next time I will have 2 cups of coffee before I post!


    Well, it is not typical having symlinks working in apache, but
    otherwise, it is easy. After all, all public repos are http or ftp.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  7. #17

    Default Re: Does zypper support NFSv4?

    Thanks for the reminder guys. I disabled symlink support. Instead I am using "Alias" commands in .conf files in apache2/conf.d.

    This is just an internal server that cannot be accessed via the Internet. Still, probably good form (and practice) to stick with a proper setup.

  8. #18
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,459
    Blog Entries
    2

    Default Re: Does zypper support NFSv4?

    1. Using YAST configured options as a guide, NFS is not an option... only http, https, ftp and smb/cifs.

    2. Despite no NFS option, I would think that if you mounted a remote directory locally, you should be able to use zypper or yast using any transport not natively supported.

    TSU

  9. #19

    Default Re: Does zypper support NFSv4?

    Quote Originally Posted by tsu2 View Post
    1. Using YAST configured options as a guide, NFS is not an option... only http, https, ftp and smb/cifs.

    2. Despite no NFS option, I would think that if you mounted a remote directory locally, you should be able to use zypper or yast using any transport not natively supported.

    TSU
    Well, the guide is wrong or perhaps it was updated for the release of 12.3? Perhaps the option doesn't/will not exist in 12.3...will find out in 20 hours

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •