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

    NextCloud VM with NFS storage

    IT Discussion
    hyper-v hyper-v 2012 r2 nextcloud 12 cloud storage
    7
    18
    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.
    • scottalanmillerS
      scottalanmiller @gjacobse
      last edited by

      @gjacobse said in NextCloud VM with NFS storage:

      @scottalanmiller said in NextCloud VM with NFS storage:

      With something like NextCloud, I often like to make two disks. One for the OS and one for the data, because it is a file server and growth is easier that way, as are backups. So a 16GB for the OS, and a 50-80GB for the data. Always LVM so you can grow later if you need to. Use XFS.

      The data is already on another server. While yes, I agree two drives is best. Is there still that need in this case?

      I'm not sure that you can do that. that's not how this works.

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

        How can you ingest NFS storage into NextCloud?

        gjacobseG 2 Replies Last reply Reply Quote 0
        • gjacobseG
          gjacobse @scottalanmiller
          last edited by

          @scottalanmiller said in NextCloud VM with NFS storage:

          How can you ingest NFS storage into NextCloud?

          I can't answer that. I've not used NextCloud yet, I don't want to toss out terms like assume or expected or the like,.. but dup'ing existing data / storage seemed counter intuitive.

          1 Reply Last reply Reply Quote 0
          • gjacobseG
            gjacobse @scottalanmiller
            last edited by

            @scottalanmiller said in NextCloud VM with NFS storage:

            How can you ingest NFS storage into NextCloud?

            The Current is part of a VM, NextCloud would be a VM - Why could you not mount both? - And that could be a limitation of Hyper-V.. that you can't do that.

            But why then could you not mount the existing NFS share within NextCloud?

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

              @gjacobse said in NextCloud VM with NFS storage:

              @scottalanmiller said in NextCloud VM with NFS storage:

              How can you ingest NFS storage into NextCloud?

              The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?

              How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?

              dafyreD 1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre @scottalanmiller
                last edited by

                @scottalanmiller said in NextCloud VM with NFS storage:

                @gjacobse said in NextCloud VM with NFS storage:

                @scottalanmiller said in NextCloud VM with NFS storage:

                How can you ingest NFS storage into NextCloud?

                The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?

                How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?

                There's a command you can run that will take a list of files and make them available to a user, I think.

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

                  @dafyre said in NextCloud VM with NFS storage:

                  @scottalanmiller said in NextCloud VM with NFS storage:

                  @gjacobse said in NextCloud VM with NFS storage:

                  @scottalanmiller said in NextCloud VM with NFS storage:

                  How can you ingest NFS storage into NextCloud?

                  The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?

                  How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?

                  There's a command you can run that will take a list of files and make them available to a user, I think.

                  So one user would just get "everything." Or else it's a huge manual process.

                  A JaredBuschJ 2 Replies Last reply Reply Quote 0
                  • A
                    Alex Sage @scottalanmiller
                    last edited by

                    Everything I am seeing says bad idea.....

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

                      @aaronstuder said in NextCloud VM with NFS storage:

                      Everything I am seeing says bad idea.....

                      Seeing on here or in looking elsewhere?

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

                        Moving from legacy LAN storage to modern user-based storage is a paradigm shift and take a bit of work to make do what is needed. I would have users move files one by one or folder by folder.

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

                          @scottalanmiller said in NextCloud VM with NFS storage:

                          Moving from legacy LAN storage to modern user-based storage is a paradigm shift and take a bit of work to make do what is needed. I would have users move files one by one or folder by folder.

                          This is the thing - this new'ish LANLess setup is a total paradigm shift! requires almost complete rethinking.

                          StrongBadS 1 Reply Last reply Reply Quote 1
                          • StrongBadS
                            StrongBad @Dashrender
                            last edited by

                            @Dashrender it's big, for sure. Storage isn't just a big pool for mapped drives any more. Now users control complex sharing relationships. More power, less centralized control.

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

                              @scottalanmiller said in NextCloud VM with NFS storage:

                              @dafyre said in NextCloud VM with NFS storage:

                              @scottalanmiller said in NextCloud VM with NFS storage:

                              @gjacobse said in NextCloud VM with NFS storage:

                              @scottalanmiller said in NextCloud VM with NFS storage:

                              How can you ingest NFS storage into NextCloud?

                              The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?

                              How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?

                              There's a command you can run that will take a list of files and make them available to a user, I think.

                              So one user would just get "everything." Or else it's a huge manual process.

                              Not exactly. Have you ever looked at the file structure of ownCloud/Nextcloud?

                              Basically in the /data folder there are subfolders per user. You would populate those with the files from the old file server. Then you pop into the CLI and issue this command to rescan the folders and put the stuff in the database.

                              sudo -u apache php occ files:scan --all -v
                              

                              You can also do it per user.

                              I would not recommend ever doing this on an existing system that was not already hosed for some other reason.

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