Fedora Powerloss
-
@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.
-
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.
-
@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.
-
@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).
-
@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
-
@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.
-
@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
-
@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
-
@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
-
@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 -
@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.htmlDoes it actually do something? XFS famously does a placebo check.
-
@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.htmlDoes it actually do something? XFS famously does a placebo check.
Honestly, I don't know
-
@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.htmlDoes 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.
-
@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.htmlDoes 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?
-
@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.htmlDoes 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.
-
@dafyre said in Fedora Powerloss:
@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.htmlDoes 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.
Can't you boot the machine using some LiveCD and alter the PAM order / add pam_unix/pam_localuser? You could also change root's password this way. This only works if the drive is not encrypted or you have the key.
-
@thwr said in Fedora Powerloss:
@dafyre said in Fedora Powerloss:
@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.htmlDoes 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.
Can't you boot the machine using some LiveCD and alter the PAM order / add pam_unix/pam_localuser? You could also change root's password this way. This only works if the drive is not encrypted or you have the key.
Yeah, I could do that, but I like my job, lol. In an emergency that's what we do, but this isn't an emergency (the system is up, my login isn't working).
-
@dafyre said in Fedora Powerloss:
@thwr said in Fedora Powerloss:
@dafyre said in Fedora Powerloss:
@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.htmlDoes 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.
Can't you boot the machine using some LiveCD and alter the PAM order / add pam_unix/pam_localuser? You could also change root's password this way. This only works if the drive is not encrypted or you have the key.
Yeah, I could do that, but I like my job, lol. In an emergency that's what we do, but this isn't an emergency (the system is up, my login isn't working).
If you say so