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

    Fedora Powerloss

    IT Discussion
    fedora 27 kvm power outage
    6
    23
    1442
    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 R 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
          • scottalanmiller
            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
                • dafyre
                  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.

                  scottalanmiller 1 Reply Last reply Reply Quote 0
                  • scottalanmiller
                    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. 🙂

                    dafyre 1 Reply Last reply Reply Quote 0
                    • dafyre
                      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).

                      scottalanmiller 1 Reply Last reply Reply Quote 0
                      • scottalanmiller
                        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 😉

                        dafyre 1 Reply Last reply Reply Quote 1
                        • dafyre
                          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.

                          scottalanmiller 1 Reply Last reply Reply Quote 0
                          • scottalanmiller
                            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 R
                              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

                              scottalanmiller 1 Reply Last reply Reply Quote 0
                              • scottalanmiller
                                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 🙂

                                thwr 1 Reply Last reply Reply Quote 0
                                • thwr
                                  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

                                  scottalanmiller 1 Reply Last reply Reply Quote 0
                                  • scottalanmiller
                                    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.

                                    thwr dafyre 2 Replies Last reply Reply Quote 0
                                    • thwr
                                      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
                                      • dafyre
                                        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.

                                        scottalanmiller 1 Reply Last reply Reply Quote 1
                                        • scottalanmiller
                                          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?

                                          dafyre 1 Reply Last reply Reply Quote 0
                                          • dafyre
                                            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.

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