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

    How to Stop XenServer from Mounting /var/log

    Scheduled Pinned Locked Moved IT Discussion
    78 Posts 4 Posters 4.6k Views
    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.
    • BRRABillB
      BRRABill
      last edited by

      I'm leaning towards something wacky, because even if the SR was detached for some reason, why would the networking not work as well?

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

        Looks more like a crash than anything. So it is back up and working after the reboot?

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

          @scottalanmiller said

          Looks more like a crash than anything. So it is back up and working after the reboot?

          The SR is not mounted, and the networking is not working.

          So no, not working. Which is why I wonder if the entire thing just went south for some reason.

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

            @BRRABill said in How to Stop XenServer from Mounting /var/log:

            @scottalanmiller said

            Looks more like a crash than anything. So it is back up and working after the reboot?

            The SR is not mounted, and the networking is not working.

            So no, not working. Which is why I wonder if the entire thing just went south for some reason.

            Something is wrong with that first lsblk output. System has crashed/been corrupted by something.

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

              Well that sucks.

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

                @scottalanmiller said in How to Stop XenServer from Mounting /var/log:

                Well that sucks.

                The good news is that this is Xen. Reinstall, import the storage repository, and import the configs, shouldn't take more than an hour.

                I'd be nervous about putting that into production till I figured out what caused the issue.

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

                  @travisdh1 said

                  Something is wrong with that first lsblk output. System has crashed/been corrupted by something.

                  It came back "normal" after a reboot, but obviously a lot of functionality was hosed.

                  I tried running a dd on this machine the other day, and it was taking forever.

                  After about 90 minutes I stopped it, and it had only done 15GB thus far. (Of a 64 GB stick.)

                  Possible maybe the USB stick was going bad, and finally gave up the ghost?

                  Is it possible cancelling (^C) dd would have done anything to the source USB stick?

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

                    dd only reads from the if device, it does not modify it. So no.

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

                      @travisdh1 said

                      I'd be nervous about putting that into production till I figured out what caused the issue.

                      Oh yeah. Fortunately this was on my test machine.

                      I'm more nervous that moving the logs caused this. Is there any chance that XS needs those logs set up the way they have them?

                      Is anyone here actually moving their logs, or does everyone just write them to USB?

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

                        @scottalanmiller said

                        dd only reads from the if device, it does not modify it. So no.

                        Would the crazy slow speed perhaps indicate potential impending failure? I mean, even at USB2 that is slow. It was doing 3MBps.

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

                          @BRRABill said in How to Stop XenServer from Mounting /var/log:

                          Is it possible cancelling (^C) dd would have done anything to the source USB stick?

                          dd input is read only, I'd suspect the flash drive initially. While I run hypervisors on them, I don't trust them at all. Gotta keep those backups.

                          dd would take a long, long time if you have it copying something like /proc, /sys, or /dev.

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

                            @BRRABill said in How to Stop XenServer from Mounting /var/log:

                            Is anyone here actually moving their logs, or does everyone just write them to USB?

                            Ours had to be built to spinning SATA sadly due to USB port issues. They are not back up yet after the move (much lower priority than the big Scale cluster so have not looked at them yet and won't until I am back in Rochester) but once they are back up, log shipping will be going to ELK and we will attempt to stop local writing even so.

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

                              @scottalanmiller said

                              Ours had to be built to spinning SATA sadly due to USB port issues. They are not back up yet after the move (much lower priority than the big Scale cluster so have not looked at them yet and won't until I am back in Rochester) but once they are back up, log shipping will be going to ELK and we will attempt to stop local writing even so.

                              I am pretty sure once I get back from my mini trip over the weekend that I am going to be reinstalling XS on the extra RAID array I have in my production server.

                              I know everyone at ML loves hypervisors on USB, but there just seems to be too much crashing of XS on USB, with no clear cut way (as of now) to prevent it.

                              Other than to keep a clone and pray. 🙂

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

                                @travisdh1 said

                                dd would take a long, long time if you have it copying something like /proc, /sys, or /dev.

                                It was dd-ing the boot device, so that all had to be included...

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

                                  After a little more poking around...

                                  The LV shows up in LVS, but is not listed under /dev/mapper nor is it listed under /dev/dm*

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

                                    @BRRABill said in How to Stop XenServer from Mounting /var/log:

                                    After a little more poking around...

                                    The LV shows up in LVS, but is not listed under /dev/mapper nor is it listed under /dev/dm*

                                    Sounds like the DM device has died perhaps beneath the LV.

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

                                      @scottalanmiller said

                                      Sounds like the DM device has died perhaps beneath the LV.

                                      Since the USB stick showed all those weird characters, wouldn't it be more probable that the USB stick died, and not the hard drive that LV was on?

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

                                        @BRRABill That is what I would assume as well.

                                        That the USB has something wrong with and needs to be replaced.

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

                                          @DustinB3403 said

                                          That the USB has something wrong with and needs to be replaced.

                                          My production server is also booting off USB.

                                          I am now trying to figure out if it is worth messing with it (aka, powering it down and cloning it, and hoping nothing goes wrong) before I go away for a few days. Or just leave it and hope for the best.

                                          I'm the only guy here, so if it dies while I am gone, that's a problem.

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

                                            @DustinB3403 said

                                            That the USB has something wrong with and needs to be replaced.

                                            Odd because it is brand new, and from Samsung.

                                            It's almost like it went crazy for a bit, the data got corrupted, but then now it looks OK again, just doesn't work.

                                            Ghost in the machine...

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