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

    BRRABill's Field Report With Linux

    IT Discussion
    14
    148
    14.1k
    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.
    • coliverC
      coliver @BRRABill
      last edited by

      @BRRABill said in BRRABill's Field Report With Linux:

      So, was having some issues with my GrayLog instance. I have a feeling that it has run out of space. Would you agree?

      I think LVM is confusing me again.

      ubuntu@graylog:~$ df -h
      Filesystem      Size  Used Avail Use% Mounted on
      /dev/dm-0        15G   15G     0 100% /
      

      Yes you're out of space on your root directory.

      1 Reply Last reply Reply Quote 1
      • BRRABillB
        BRRABill @DustinB3403
        last edited by

        @DustinB3403 said in BRRABill's Field Report With Linux:

        Yes, /dev/dm-o is full, which completely breaks graylog.

        I had this happen to me as well, and just built a new vm. Once the VM was operational I reduced the indices by half.

        I figure this would be a good Linux learning experience. 🙂

        I was thinking of following this link. It's for VMWare, but most of the Ubuntu commands should be the same, I would think.

        http://docs.graylog.org/en/1.3/pages/installation/graylog_ctl.html#extend-disk-space

        DustinB3403D BRRABillB 2 Replies Last reply Reply Quote 0
        • BRRABillB
          BRRABill @DustinB3403
          last edited by

          @DustinB3403 said in BRRABill's Field Report With Linux:

          Yes, /dev/dm-o is full, which completely breaks graylog.

          I had this happen to me as well, and just built a new vm. Once the VM was operational I reduced the indices by half.

          What does that do to storage size?

          I had a Splunk instance running for weeks and never had any issues like this, which is why it surprised me.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @BRRABill
            last edited by

            @BRRABill Yeah I was in the middle of bigger issues, and just didn't care to "fix" it.

            I can copy the MAC address to make the same reservation, so no issues from my point.

            The logs just sit on XS I believe if the log server can't be reached.

            1 Reply Last reply Reply Quote 0
            • BRRABillB
              BRRABill @BRRABill
              last edited by

              @BRRABill said in BRRABill's Field Report With Linux:

              @DustinB3403 said in BRRABill's Field Report With Linux:

              Yes, /dev/dm-o is full, which completely breaks graylog.

              I had this happen to me as well, and just built a new vm. Once the VM was operational I reduced the indices by half.

              I figure this would be a good Linux learning experience. 🙂

              I was thinking of following this link. It's for VMWare, but most of the Ubuntu commands should be the same, I would think.

              http://docs.graylog.org/en/1.3/pages/installation/graylog_ctl.html#extend-disk-space

              In these directions, it says ...
              "In order to extend the disk space mount a second drive on this path. Make sure to move old data to the new drive before and give the graylog user permissions to read and write here."

              Couldn't you also just extend the (whatever) ?

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @BRRABill
                last edited by

                @BRRABill Adding a second drive to a VM is literally nothing though.

                It would be better practice to add a drive, than to try and extend the existing one.

                BRRABillB 1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill @DustinB3403
                  last edited by

                  @DustinB3403 said in BRRABill's Field Report With Linux:

                  @BRRABill Adding a second drive to a VM is literally nothing though.

                  It would be better practice to add a drive, than to try and extend the existing one.

                  But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                  You're losing the 15G, right?

                  I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    But you wouldn't be only modifying the 15GB partition, you'd be effecting the boot section of the drive etc.

                    It's much cleaner to just leave it there, and add a 100GB drive, and point all of the logging to that PV.

                    Which wouldn't be a bad topic on it's own.

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

                      @BRRABill said in BRRABill's Field Report With Linux:

                      @DustinB3403 said in BRRABill's Field Report With Linux:

                      @BRRABill Adding a second drive to a VM is literally nothing though.

                      It would be better practice to add a drive, than to try and extend the existing one.

                      But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                      You're losing the 15G, right?

                      I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                      Losing 15GB? Not if you are thin provisioned.

                      BRRABillB 1 Reply Last reply Reply Quote 0
                      • BRRABillB
                        BRRABill @scottalanmiller
                        last edited by

                        @scottalanmiller said in BRRABill's Field Report With Linux:

                        @BRRABill said in BRRABill's Field Report With Linux:

                        @DustinB3403 said in BRRABill's Field Report With Linux:

                        @BRRABill Adding a second drive to a VM is literally nothing though.

                        It would be better practice to add a drive, than to try and extend the existing one.

                        But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                        You're losing the 15G, right?

                        I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                        Losing 15GB? Not if you are thin provisioned.

                        Well, as of right now, this is how things rolled...

                        1. Imported the GrayLog OVA appliance to XS.
                        2. It creates a 19.5GB virtual disk where it does its magic.
                        3. Part of that magic is this 15GB partition that is now full.

                        So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                        DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @BRRABill
                          last edited by

                          @BRRABill said in BRRABill's Field Report With Linux:

                          @scottalanmiller said in BRRABill's Field Report With Linux:

                          @BRRABill said in BRRABill's Field Report With Linux:

                          @DustinB3403 said in BRRABill's Field Report With Linux:

                          @BRRABill Adding a second drive to a VM is literally nothing though.

                          It would be better practice to add a drive, than to try and extend the existing one.

                          But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                          You're losing the 15G, right?

                          I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                          Losing 15GB? Not if you are thin provisioned.

                          Well, as of right now, this is how things rolled...

                          1. Imported the GrayLog OVA appliance to XS.
                          2. It creates a 19.5GB virtual disk where it does its magic.
                          3. Part of that magic is this 15GB partition that is now full.

                          So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                          Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                          BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • BRRABillB
                            BRRABill @Dashrender
                            last edited by

                            @Dashrender said

                            Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                            That's not how I understood thin provisioning to work.

                            You can take the VHD offline and resize it in WIndows, but I don't think you can in XS.

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

                              @BRRABill said in BRRABill's Field Report With Linux:

                              @scottalanmiller said in BRRABill's Field Report With Linux:

                              @BRRABill said in BRRABill's Field Report With Linux:

                              @DustinB3403 said in BRRABill's Field Report With Linux:

                              @BRRABill Adding a second drive to a VM is literally nothing though.

                              It would be better practice to add a drive, than to try and extend the existing one.

                              But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                              You're losing the 15G, right?

                              I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                              Losing 15GB? Not if you are thin provisioned.

                              Well, as of right now, this is how things rolled...

                              1. Imported the GrayLog OVA appliance to XS.
                              2. It creates a 19.5GB virtual disk where it does its magic.
                              3. Part of that magic is this 15GB partition that is now full.

                              So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                              Oh sorry, yes. Don't use appliances, build your own with proper specs 😉

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

                                @Dashrender said in BRRABill's Field Report With Linux:

                                @BRRABill said in BRRABill's Field Report With Linux:

                                @scottalanmiller said in BRRABill's Field Report With Linux:

                                @BRRABill said in BRRABill's Field Report With Linux:

                                @DustinB3403 said in BRRABill's Field Report With Linux:

                                @BRRABill Adding a second drive to a VM is literally nothing though.

                                It would be better practice to add a drive, than to try and extend the existing one.

                                But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                                You're losing the 15G, right?

                                I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                                Losing 15GB? Not if you are thin provisioned.

                                Well, as of right now, this is how things rolled...

                                1. Imported the GrayLog OVA appliance to XS.
                                2. It creates a 19.5GB virtual disk where it does its magic.
                                3. Part of that magic is this 15GB partition that is now full.

                                So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                                Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                Yes, in reality this is all that you do. Make a new one, remove the old.

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

                                  @BRRABill said in BRRABill's Field Report With Linux:

                                  @Dashrender said

                                  Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                  That's not how I understood thin provisioning to work.

                                  You can take the VHD offline and resize it in WIndows, but I don't think you can in XS.

                                  Don't resize.... remove.

                                  1 Reply Last reply Reply Quote 1
                                  • BRRABillB
                                    BRRABill @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in BRRABill's Field Report With Linux:

                                    @Dashrender said in BRRABill's Field Report With Linux:

                                    @BRRABill said in BRRABill's Field Report With Linux:

                                    @scottalanmiller said in BRRABill's Field Report With Linux:

                                    @BRRABill said in BRRABill's Field Report With Linux:

                                    @DustinB3403 said in BRRABill's Field Report With Linux:

                                    @BRRABill Adding a second drive to a VM is literally nothing though.

                                    It would be better practice to add a drive, than to try and extend the existing one.

                                    But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                                    You're losing the 15G, right?

                                    I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                                    Losing 15GB? Not if you are thin provisioned.

                                    Well, as of right now, this is how things rolled...

                                    1. Imported the GrayLog OVA appliance to XS.
                                    2. It creates a 19.5GB virtual disk where it does its magic.
                                    3. Part of that magic is this 15GB partition that is now full.

                                    So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                                    Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                    Yes, in reality this is all that you do. Make a new one, remove the old.

                                    But in this particular appliance scenario, that is not possible, correct?

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

                                      @BRRABill said in BRRABill's Field Report With Linux:

                                      @scottalanmiller said in BRRABill's Field Report With Linux:

                                      @Dashrender said in BRRABill's Field Report With Linux:

                                      @BRRABill said in BRRABill's Field Report With Linux:

                                      @scottalanmiller said in BRRABill's Field Report With Linux:

                                      @BRRABill said in BRRABill's Field Report With Linux:

                                      @DustinB3403 said in BRRABill's Field Report With Linux:

                                      @BRRABill Adding a second drive to a VM is literally nothing though.

                                      It would be better practice to add a drive, than to try and extend the existing one.

                                      But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                                      You're losing the 15G, right?

                                      I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                                      Losing 15GB? Not if you are thin provisioned.

                                      Well, as of right now, this is how things rolled...

                                      1. Imported the GrayLog OVA appliance to XS.
                                      2. It creates a 19.5GB virtual disk where it does its magic.
                                      3. Part of that magic is this 15GB partition that is now full.

                                      So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                                      Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                      Yes, in reality this is all that you do. Make a new one, remove the old.

                                      But in this particular appliance scenario, that is not possible, correct?

                                      I don't have the appliance in front of me, are there not separate disks for these things?

                                      DustinB3403D 1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @scottalanmiller
                                        last edited by DustinB3403

                                        @scottalanmiller said in BRRABill's Field Report With Linux:

                                        @BRRABill said in BRRABill's Field Report With Linux:

                                        @scottalanmiller said in BRRABill's Field Report With Linux:

                                        @Dashrender said in BRRABill's Field Report With Linux:

                                        @BRRABill said in BRRABill's Field Report With Linux:

                                        @scottalanmiller said in BRRABill's Field Report With Linux:

                                        @BRRABill said in BRRABill's Field Report With Linux:

                                        @DustinB3403 said in BRRABill's Field Report With Linux:

                                        @BRRABill Adding a second drive to a VM is literally nothing though.

                                        It would be better practice to add a drive, than to try and extend the existing one.

                                        But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                                        You're losing the 15G, right?

                                        I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                                        Losing 15GB? Not if you are thin provisioned.

                                        Well, as of right now, this is how things rolled...

                                        1. Imported the GrayLog OVA appliance to XS.
                                        2. It creates a 19.5GB virtual disk where it does its magic.
                                        3. Part of that magic is this 15GB partition that is now full.

                                        So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                                        Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                        Yes, in reality this is all that you do. Make a new one, remove the old.

                                        But in this particular appliance scenario, that is not possible, correct?

                                        I don't have the appliance in front of me, are there not separate disks for these things?

                                        No, the OVA imports a single disk with 2 LV's.

                                        BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • BRRABillB
                                          BRRABill @DustinB3403
                                          last edited by

                                          @DustinB3403 said in BRRABill's Field Report With Linux:

                                          @scottalanmiller said in BRRABill's Field Report With Linux:

                                          @BRRABill said in BRRABill's Field Report With Linux:

                                          @scottalanmiller said in BRRABill's Field Report With Linux:

                                          @Dashrender said in BRRABill's Field Report With Linux:

                                          @BRRABill said in BRRABill's Field Report With Linux:

                                          @scottalanmiller said in BRRABill's Field Report With Linux:

                                          @BRRABill said in BRRABill's Field Report With Linux:

                                          @DustinB3403 said in BRRABill's Field Report With Linux:

                                          @BRRABill Adding a second drive to a VM is literally nothing though.

                                          It would be better practice to add a drive, than to try and extend the existing one.

                                          But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                                          You're losing the 15G, right?

                                          I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                                          Losing 15GB? Not if you are thin provisioned.

                                          Well, as of right now, this is how things rolled...

                                          1. Imported the GrayLog OVA appliance to XS.
                                          2. It creates a 19.5GB virtual disk where it does its magic.
                                          3. Part of that magic is this 15GB partition that is now full.

                                          So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                                          Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                          Yes, in reality this is all that you do. Make a new one, remove the old.

                                          But in this particular appliance scenario, that is not possible, correct?

                                          I don't have the appliance in front of me, are there not separate disks for these things?

                                          No, the OVA imports a single disk with 2 LV's.

                                          Correct.

                                            LV     VG         Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
                                            root   graylog-vg -wi-ao--- 15.29g
                                            swap_1 graylog-vg -wi-ao---  4.00g
                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @DustinB3403
                                            last edited by

                                            @DustinB3403 said in BRRABill's Field Report With Linux:

                                            @scottalanmiller said in BRRABill's Field Report With Linux:

                                            @BRRABill said in BRRABill's Field Report With Linux:

                                            @scottalanmiller said in BRRABill's Field Report With Linux:

                                            @Dashrender said in BRRABill's Field Report With Linux:

                                            @BRRABill said in BRRABill's Field Report With Linux:

                                            @scottalanmiller said in BRRABill's Field Report With Linux:

                                            @BRRABill said in BRRABill's Field Report With Linux:

                                            @DustinB3403 said in BRRABill's Field Report With Linux:

                                            @BRRABill Adding a second drive to a VM is literally nothing though.

                                            It would be better practice to add a drive, than to try and extend the existing one.

                                            But in theory, that 15G partition is part of the 19.5GB VHD the GrayLog appliance sets up.

                                            You're losing the 15G, right?

                                            I know 15G isn't much, but I was just thinking for future reference, if it was more than 15G.

                                            Losing 15GB? Not if you are thin provisioned.

                                            Well, as of right now, this is how things rolled...

                                            1. Imported the GrayLog OVA appliance to XS.
                                            2. It creates a 19.5GB virtual disk where it does its magic.
                                            3. Part of that magic is this 15GB partition that is now full.

                                            So, even thin provisioned, isn't that space already taken? (AKA once the data fills it, it still uses it even if the data is deleted, correct?)

                                            Sure it is, but after you copy that data to the new drive, you'll delete it from the old drive making it empty... Assuming XS can reclaim now empty space, you'll gain that 15 GB back.

                                            Yes, in reality this is all that you do. Make a new one, remove the old.

                                            But in this particular appliance scenario, that is not possible, correct?

                                            I don't have the appliance in front of me, are there not separate disks for these things?

                                            No, the OVA imports a single disk with 2 LV's.

                                            That's bad design.

                                            travisdh1T BRRABillB 2 Replies Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 2 / 8
                                            • First post
                                              Last post