Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2277

svnadmin --fstype fsfs create fails over NFS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 1.1.x
    • unscheduled
    • svnadmin
    • None
    • Solaris

    Description

      Hi,
      
      Running svnadmin create on a Solaris 8 platform works fine when the target is on
      a local disk.
      
      The same command, however, fails as follows when the target is on a NetApp
      device mounted via NFS:
      
      > svnadmin --fs-type fsfs create Foo
      svn: Repository creation failed
      svn: Creating db lock file
      svn: Can't open file 'Foo/locks/db.lock': Not owner
      
      As far as I can tell, there are no ownership problems involved. so the error
      message appears to be misleading. Doing the sequence "mkir Foo Foo/db; touch
      Foo/db/db.lock" from the same directory works fine. 
      
      This is with svnadmin, version 1.1.4 (r13838) built from sources with gcc on a
      SPARC Solaris 8 box.
      
      My guess is that we're hitting a timing issue over NFS, and perhaps mounting
      with the proper option incantation might resolve this. I've searched the FAQ and
      mailing list archive, but in vain. Any and all suggestions welcome.
      
      	Thanks,
      
      		Rony
      

      Original issue reported by ronys

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: