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

    XO disk usage issue

    IT Discussion
    3
    15
    801
    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.
    • A
      AdamF
      last edited by

      So this is the 3rd time that my XO VM has run out of space. I notice it each time, by not being able to login to the web interface. Sure enough, I login via SSH and the disk (27 GB) is 100% used. I've expanded that disk twice already. The only thing on this Ubuntu VM is XO.

      xoadmin@xo-server:~$ df -h
      Filesystem                       Size  Used Avail Use% Mounted on
      udev                             976M     0  976M   0% /dev
      tmpfs                            200M   24M  176M  12% /run
      /dev/mapper/xo--server--vg-root   27G   27G     0 100% /
      tmpfs                            996M     0  996M   0% /dev/shm
      tmpfs                            5.0M     0  5.0M   0% /run/lock
      tmpfs                            996M     0  996M   0% /sys/fs/cgroup
      /dev/xvda1                       472M  153M  295M  35% /boot
      tmpfs                            200M     0  200M   0% /run/user/1000
      

      Any idea what could be going on?

      S 1 Reply Last reply Reply Quote 0
      • S
        stacksofplates @AdamF
        last edited by

        I'd start with using du to figure out which directory is the largest.

        1 Reply Last reply Reply Quote 0
        • D
          DustinB3403
          last edited by

          Are you clearing out your logs regularly?

          A 1 Reply Last reply Reply Quote 0
          • D
            DustinB3403
            last edited by

            Filesystem                         Size  Used Avail Use% Mounted on
            udev                                10M     0   10M   0% /dev
            tmpfs                              405M   46M  359M  12% /run
            /dev/xvda1                         7.4G  2.6G  4.5G  37% /
            tmpfs                             1011M     0 1011M   0% /dev/shm
            tmpfs                              5.0M     0  5.0M   0% /run/lock
            tmpfs                             1011M     0 1011M   0% /sys/fs/cgroup
            
            1 Reply Last reply Reply Quote 0
            • A
              AdamF @DustinB3403
              last edited by

              @DustinB3403 said in XO disk usage issue:

              Are you clearing out your logs regularly?

              No, not at all actually. Where is a good place to start?

              D 1 Reply Last reply Reply Quote 0
              • D
                DustinB3403 @AdamF
                last edited by

                @fuznutz04 Look under your backup logs, and under Settings > Logs

                A 1 Reply Last reply Reply Quote 0
                • D
                  DustinB3403
                  last edited by

                  Having a 27G root partition is massive. I've never gone beyond the 8GB I started with.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    AdamF @DustinB3403
                    last edited by

                    @DustinB3403 said in XO disk usage issue:

                    Having a 27G root partition is massive. I've never gone beyond the 8GB I started with.

                    Right, I started with a 10 GB, but then this happened twice now, so I had to expand each time. I haven't had this issue with any CentOS install, it just seems to be Ubuntu.

                    D 1 Reply Last reply Reply Quote 0
                    • A
                      AdamF @DustinB3403
                      last edited by

                      @DustinB3403 said in XO disk usage issue:

                      @fuznutz04 Look under your backup logs, and under Settings > Logs

                      In XO interface? I can't log into it.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        DustinB3403 @AdamF
                        last edited by

                        @fuznutz04 said in XO disk usage issue:

                        @DustinB3403 said in XO disk usage issue:

                        Having a 27G root partition is massive. I've never gone beyond the 8GB I started with.

                        Right, I started with a 10 GB, but then this happened twice now, so I had to expand each time. I haven't had this issue with any CentOS install, it just seems to be Ubuntu.

                        Clearly that is incorrect (as it hasn't happened with me)

                        1 Reply Last reply Reply Quote 0
                        • D
                          DustinB3403 @AdamF
                          last edited by

                          @fuznutz04 said in XO disk usage issue:

                          @DustinB3403 said in XO disk usage issue:

                          @fuznutz04 Look under your backup logs, and under Settings > Logs

                          In XO interface? I can't log into it.

                          Um... you can't access the web interface for XO... are you the admin?

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            AdamF @DustinB3403
                            last edited by

                            @DustinB3403 said in XO disk usage issue:

                            @fuznutz04 said in XO disk usage issue:

                            @DustinB3403 said in XO disk usage issue:

                            @fuznutz04 Look under your backup logs, and under Settings > Logs

                            In XO interface? I can't log into it.

                            Um... you can't access the web interface for XO... are you the admin?

                            Correct, I can access the login page, but it just sits and spins, and never logs in. I suspect it is because the disk is 100% used. I can't even tab to autocomplete commands in the console. Not enough space on the disk.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              DustinB3403 @AdamF
                              last edited by

                              @fuznutz04 said in XO disk usage issue:

                              @DustinB3403 said in XO disk usage issue:

                              @fuznutz04 said in XO disk usage issue:

                              @DustinB3403 said in XO disk usage issue:

                              @fuznutz04 Look under your backup logs, and under Settings > Logs

                              In XO interface? I can't log into it.

                              Um... you can't access the web interface for XO... are you the admin?

                              Correct, I can access the login page, but it just sits and spins, and never logs in. I suspect it is because the disk is 100% used. I can't even tab to autocomplete commands in the console. Not enough space on the disk.

                              Hrm, that is possible I suppose you could clear out the logs using the CLI, I've never bothered though.

                              1 Reply Last reply Reply Quote 0
                              • A
                                AdamF
                                last edited by

                                Fixed it. Thanks @DustinB3403 .

                                Total face palm moment. When I setup backups a few months ago, I properly had XO backing up to a remote SMB share on another PC, with the share called Backups. At some point, probably during troubleshooting, I must have pointed the backup folder to just /Backups...which was located on the XO vm itself. I was backing up XO to itself.

                                Is that like Inception?

                                D 1 Reply Last reply Reply Quote 1
                                • D
                                  DustinB3403 @AdamF
                                  last edited by

                                  @fuznutz04 said in XO disk usage issue:

                                  Fixed it. Thanks @DustinB3403 .

                                  Total face palm moment. When I setup backups a few months ago, I properly had XO backing up to a remote SMB share on another PC, with the share called Backups. At some point, probably during troubleshooting, I must have pointed the backup folder to just /Backups...which was located on the XO vm itself. I was backing up XO to itself.

                                  Is that like Inception?

                                  Yeah, backing up to XO, while allowed, isn't ideal for this very reason. Glad we were able to resolve the issue.

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