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

    Nextcloud Questions

    IT Discussion
    nextcloud vm ubuntu 16.04 hyper-v disk partitioning
    4
    29
    3.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.
    • brandon220B
      brandon220
      last edited by gjacobse

      Hello all,
      At what point (in terms of size) would you store your Nextcloud data in /data vs. /var/www/html/nextcloud/data ? I am sure there are a difference of opinion on this. Lets say.... between 2Tb and 4Tb.

      Second - If you have an install (VM) that has been filled ( 127 Gb Hyper-V in Ubuntu Server 16.04) and no free space do you:
      1- Expand the volume to increase space
      2- Migrate to a new server with a larger storage allocation
      3- Combination of the above 2? New server VM with a separate data vdisk for nextcloud data

      (MOD-Edit: Tags)

      scottalanmillerS travisdh1T 4 Replies Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @brandon220
        last edited by

        @brandon220 said in Nextcloud Questions:

        Hello all,
        At what point (in terms of size) would you store your Nextcloud data in /data vs. /var/www/html/nextcloud/data ? I am sure there are a difference of opinion on this. Lets say.... between 2Tb and 4Tb.

        I always do. Standard builds make life easier.

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

          @brandon220 said in Nextcloud Questions:

          Hyper-V in Ubuntu Server 16.04

          Don't use old Ubuntu. If you absolutely must use Ubuntu, keep it current. Ubuntu 17.04 is current and will work better with newer components under the hood. But I recommend Fedora.

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

            @brandon220 said in Nextcloud Questions:

            Second - If you have an install (VM) that has been filled ( 127 Gb Hyper-V in Ubuntu Server 16.04) and no free space do you:
            1- Expand the volume to increase space
            2- Migrate to a new server with a larger storage allocation
            3- Combination of the above 2? New server VM with a separate data vdisk for nextcloud data

            Normally I would just migrate to a new block device, but it depends on what your needs are.

            brandon220B 1 Reply Last reply Reply Quote 1
            • travisdh1T
              travisdh1 @brandon220
              last edited by

              @brandon220 said in Nextcloud Questions:

              Hello all,
              At what point (in terms of size) would you store your Nextcloud data in /data vs. /var/www/html/nextcloud/data ? I am sure there are a difference of opinion on this. Lets say.... between 2Tb and 4Tb.

              Always in a different directory. Amount of data stored has nothing to do with security! Which is why you want the data stored somewhere other than /var/www/html/nextcloud/data.

              Second - If you have an install (VM) that has been filled ( 127 Gb Hyper-V in Ubuntu Server 16.04) and no free space do you:
              1- Expand the volume to increase space
              2- Migrate to a new server with a larger storage allocation
              3- Combination of the above 2? New server VM with a separate data vdisk for nextcloud data

              Impossible to know without knowing your exact environment. Any of those could make sense. I'd prefer #1, but that's a purely personal preference.

              brandon220B 1 Reply Last reply Reply Quote 0
              • brandon220B
                brandon220 @travisdh1
                last edited by

                @travisdh1 I am not thinking in a security sense - more of a performance factor.

                travisdh1T scottalanmillerS 3 Replies Last reply Reply Quote 0
                • brandon220B
                  brandon220 @scottalanmiller
                  last edited by

                  @scottalanmiller When the VM was first loaded, 16.04 was current.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1 @brandon220
                    last edited by

                    @brandon220 said in Nextcloud Questions:

                    @travisdh1 I am not thinking in a security sense - more of a performance factor.

                    Is it all on the same RAID array? Then performance will not change no matter what mount points, partitioning, or logical volumes are in the mix.

                    1 Reply Last reply Reply Quote 1
                    • travisdh1T
                      travisdh1 @brandon220
                      last edited by

                      @brandon220 said in Nextcloud Questions:

                      @travisdh1 I am not thinking in a security sense - more of a performance factor.

                      You really should be. The entire point of Nextcloud is to make your files available anywhere. That means doing the small security things all the time.

                      brandon220B 1 Reply Last reply Reply Quote 0
                      • brandon220B
                        brandon220 @scottalanmiller
                        last edited by

                        @scottalanmiller said in Nextcloud Questions:

                        @brandon220 said in Nextcloud Questions:

                        Normally I would just migrate to a new block device, but it depends on what your needs are.

                        This was supposed to be a "demo" but they used it for production and filled it quickly once they realized how great it works. Now I need to get them more space. Trying to determine the best path forward.

                        travisdh1T 1 Reply Last reply Reply Quote 1
                        • brandon220B
                          brandon220 @travisdh1
                          last edited by brandon220

                          @travisdh1 I always make sure it is secure. I am referring to storing large amounts of data inside a directory that Apache uses as well.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @brandon220
                            last edited by

                            @brandon220 said in Nextcloud Questions:

                            @scottalanmiller said in Nextcloud Questions:

                            @brandon220 said in Nextcloud Questions:

                            Normally I would just migrate to a new block device, but it depends on what your needs are.

                            This was supposed to be a "demo" but they used it for production and filled it quickly once they realized how great it works. Now I need to get them more space. Trying to determine the best path forward.

                            That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.

                            brandon220B 1 Reply Last reply Reply Quote 0
                            • brandon220B
                              brandon220 @travisdh1
                              last edited by

                              @travisdh1 said in Nextcloud Questions:

                              That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.

                              Yes, it is a VM in Hyper-V. Problem is that the data is in /var/www/html/nextcloud/data. I think it would be easiest to add another vdisk and move the data but I've had issues with that in the past. Seems like the install breaks every time and cannot seem to recover it.

                              travisdh1T 1 Reply Last reply Reply Quote 0
                              • brandon220B
                                brandon220
                                last edited by

                                I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

                                travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 1
                                • travisdh1T
                                  travisdh1 @brandon220
                                  last edited by

                                  @brandon220 said in Nextcloud Questions:

                                  @travisdh1 said in Nextcloud Questions:

                                  That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.

                                  Yes, it is a VM in Hyper-V. Problem is that the data is in /var/www/html/nextcloud/data. I think it would be easiest to add another vdisk and move the data but I've had issues with that in the past. Seems like the install breaks every time and cannot seem to recover it.

                                  I think I remember trying to move it myself on a test install and having issues, even after changing the config file. Might want to roll a new server and migrate.

                                  brandon220B 1 Reply Last reply Reply Quote 1
                                  • travisdh1T
                                    travisdh1 @brandon220
                                    last edited by

                                    @brandon220 said in Nextcloud Questions:

                                    I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

                                    Getting the users ported over will be harder than the data. Literally just copy everything from the old directory to the new one.

                                    1 Reply Last reply Reply Quote 0
                                    • brandon220B
                                      brandon220 @travisdh1
                                      last edited by

                                      @travisdh1 said in Nextcloud Questions:

                                      @brandon220 said in Nextcloud Questions:

                                      @travisdh1 said in Nextcloud Questions:

                                      I think I remember trying to move it myself on a test install and having issues, even after changing the config file. Might want to roll a new server and migrate.

                                      I had the same issue. It's very frustrating to say the least.

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

                                        @brandon220 said in Nextcloud Questions:

                                        @travisdh1 I am not thinking in a security sense - more of a performance factor.

                                        That's not a factor.

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

                                          @brandon220 said in Nextcloud Questions:

                                          @scottalanmiller When the VM was first loaded, 16.04 was current.

                                          So... you've not been patching and updating? My laptop started on 16.04, but it gets updated every six months. It's been 17.04 for a while now.

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

                                            @brandon220 said in Nextcloud Questions:

                                            @travisdh1 I always make sure it is secure. I am referring to storing large amounts of data inside a directory that Apache uses as well.

                                            That's only a problem for security.

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