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

    Fedora Powerloss

    IT Discussion
    fedora 27 kvm power outage
    6
    23
    2.8k
    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.
    • M
      mattbagan
      last edited by

      Is there any way to check Fedora for corruption, after a power outage? I was in the middle of installing some vms when I lost power. I would assume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

      A Emad RE 2 Replies Last reply Reply Quote 0
      • A
        Alex Sage @mattbagan
        last edited by Alex Sage

        Start by checking mdadm

        cat /proc/mdstat
        

        Or

        mdadm --detail /dev/md0
        
        1 Reply Last reply Reply Quote 0
        • A
          Alex Sage
          last edited by

          No Battery Backup?

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

            Corruption happens in the filesystem. The OS doesn't matter here, but the FS does. So we'd need to know what FS you are using.

            M 1 Reply Last reply Reply Quote 1
            • M
              mattbagan @Alex Sage
              last edited by

              @aaronstuder said in Fedora Powerloss:

              No Battery Backup?

              Its on my buy list. The computer hasn't been doing much so I didn't feel the need for one. I just recently decided to convert it to the home lab.

              1 Reply Last reply Reply Quote 0
              • M
                mattbagan @scottalanmiller
                last edited by

                @scottalanmiller said in Fedora Powerloss:

                Corruption happens in the filesystem. The OS doesn't matter here, but the FS does. So we'd need to know what FS you are using.

                File system is XFS.

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

                  All of the Linux filesystems I've seen will do a check at start up after a power outage if you leave the fstab settings at defaults.

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

                    @dafyre said in Fedora Powerloss:

                    All of the Linux filesystems I've seen will do a check at start up after a power outage if you leave the fstab settings at defaults.

                    You've not used any in a while. Most journal and have no need for a check after power loss. 🙂

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

                      @scottalanmiller said in Fedora Powerloss:

                      @dafyre said in Fedora Powerloss:

                      All of the Linux filesystems I've seen will do a check at start up after a power outage if you leave the fstab settings at defaults.

                      You've not used any in a while. Most journal and have no need for a check after power loss. 🙂

                      Mine does it every time (EXT4).

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

                        @dafyre said in Fedora Powerloss:

                        @scottalanmiller said in Fedora Powerloss:

                        @dafyre said in Fedora Powerloss:

                        All of the Linux filesystems I've seen will do a check at start up after a power outage if you leave the fstab settings at defaults.

                        You've not used any in a while. Most journal and have no need for a check after power loss. 🙂

                        Mine does it every time (EXT4).

                        That's odd. But EXT is the old one 😉

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

                          @scottalanmiller said in Fedora Powerloss:

                          @dafyre said in Fedora Powerloss:

                          @scottalanmiller said in Fedora Powerloss:

                          @dafyre said in Fedora Powerloss:

                          All of the Linux filesystems I've seen will do a check at start up after a power outage if you leave the fstab settings at defaults.

                          You've not used any in a while. Most journal and have no need for a check after power loss. 🙂

                          Mine does it every time (EXT4).

                          That's odd. But EXT is the old one 😉

                          Mint 18 build, so it's not exactly shiney any more.

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

                            @dafyre said in Fedora Powerloss:

                            @scottalanmiller said in Fedora Powerloss:

                            @dafyre said in Fedora Powerloss:

                            @scottalanmiller said in Fedora Powerloss:

                            @dafyre said in Fedora Powerloss:

                            All of the Linux filesystems I've seen will do a check at start up after a power outage if you leave the fstab settings at defaults.

                            You've not used any in a while. Most journal and have no need for a check after power loss. 🙂

                            Mine does it every time (EXT4).

                            That's odd. But EXT is the old one 😉

                            Mint 18 build, so it's not exactly shiney any more.

                            Built on legacy Ubuntu LTS

                            1 Reply Last reply Reply Quote 0
                            • Emad RE
                              Emad R @mattbagan
                              last edited by

                              @mattbagan said in Fedora Powerloss:

                              sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                              check the file system for errors + scrub the raid array if you are paranoid

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

                                @emad-r said in Fedora Powerloss:

                                @mattbagan said in Fedora Powerloss:

                                sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                check the file system for errors + scrub the raid array if you are paranoid

                                XFS doesn't even have a filesystem check utility 🙂

                                thwrT 1 Reply Last reply Reply Quote 0
                                • thwrT
                                  thwr @scottalanmiller
                                  last edited by thwr

                                  @scottalanmiller said in Fedora Powerloss:

                                  @emad-r said in Fedora Powerloss:

                                  @mattbagan said in Fedora Powerloss:

                                  sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                  check the file system for errors + scrub the raid array if you are paranoid

                                  XFS doesn't even have a filesystem check utility 🙂

                                  xfs_check
                                  http://docs.cray.com/books/S-2377-22/html-S-2377-22/z1029470303.html

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

                                    @thwr said in Fedora Powerloss:

                                    @scottalanmiller said in Fedora Powerloss:

                                    @emad-r said in Fedora Powerloss:

                                    @mattbagan said in Fedora Powerloss:

                                    sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                    check the file system for errors + scrub the raid array if you are paranoid

                                    XFS doesn't even have a filesystem check utility 🙂

                                    xfs_check
                                    http://docs.cray.com/books/S-2377-22/html-S-2377-22/z1029470303.html

                                    Does it actually do something? XFS famously does a placebo check.

                                    thwrT dafyreD 2 Replies Last reply Reply Quote 0
                                    • thwrT
                                      thwr @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Fedora Powerloss:

                                      @thwr said in Fedora Powerloss:

                                      @scottalanmiller said in Fedora Powerloss:

                                      @emad-r said in Fedora Powerloss:

                                      @mattbagan said in Fedora Powerloss:

                                      sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                      check the file system for errors + scrub the raid array if you are paranoid

                                      XFS doesn't even have a filesystem check utility 🙂

                                      xfs_check
                                      http://docs.cray.com/books/S-2377-22/html-S-2377-22/z1029470303.html

                                      Does it actually do something? XFS famously does a placebo check.

                                      Honestly, I don't know 😛

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

                                        @scottalanmiller said in Fedora Powerloss:

                                        @thwr said in Fedora Powerloss:

                                        @scottalanmiller said in Fedora Powerloss:

                                        @emad-r said in Fedora Powerloss:

                                        @mattbagan said in Fedora Powerloss:

                                        sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                        check the file system for errors + scrub the raid array if you are paranoid

                                        XFS doesn't even have a filesystem check utility 🙂

                                        xfs_check
                                        http://docs.cray.com/books/S-2377-22/html-S-2377-22/z1029470303.html

                                        Does it actually do something? XFS famously does a placebo check.

                                        Yes, it actually does something. It's fixed a couple of systems here for me that wouldn't mount a data drive.

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

                                          @dafyre said in Fedora Powerloss:

                                          @scottalanmiller said in Fedora Powerloss:

                                          @thwr said in Fedora Powerloss:

                                          @scottalanmiller said in Fedora Powerloss:

                                          @emad-r said in Fedora Powerloss:

                                          @mattbagan said in Fedora Powerloss:

                                          sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                          check the file system for errors + scrub the raid array if you are paranoid

                                          XFS doesn't even have a filesystem check utility 🙂

                                          xfs_check
                                          http://docs.cray.com/books/S-2377-22/html-S-2377-22/z1029470303.html

                                          Does it actually do something? XFS famously does a placebo check.

                                          Yes, it actually does something. It's fixed a couple of systems here for me that wouldn't mount a data drive.

                                          Interesting. With XFS?

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

                                            @scottalanmiller said in Fedora Powerloss:

                                            @dafyre said in Fedora Powerloss:

                                            @scottalanmiller said in Fedora Powerloss:

                                            @thwr said in Fedora Powerloss:

                                            @scottalanmiller said in Fedora Powerloss:

                                            @emad-r said in Fedora Powerloss:

                                            @mattbagan said in Fedora Powerloss:

                                            sume, I would need to start over with the vm installs, considering they were in the middle of installing the OS. Host machine is setup with mdadm raid.

                                            check the file system for errors + scrub the raid array if you are paranoid

                                            XFS doesn't even have a filesystem check utility 🙂

                                            xfs_check
                                            http://docs.cray.com/books/S-2377-22/html-S-2377-22/z1029470303.html

                                            Does it actually do something? XFS famously does a placebo check.

                                            Yes, it actually does something. It's fixed a couple of systems here for me that wouldn't mount a data drive.

                                            Interesting. With XFS?

                                            Yepp. I know the system is XFS. I'm trying to get connected to it now, but it lost it's AD connection and I don't have a local login on it, lol.

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