awhile back you posted some (excellent) advice on a post I had (RL9.3 how to move /home)
Life and work got in the way, and I did this over last weekend. Worked like a charm, until it didn’t…
After I completed the steps, it worked perfectly. I was able to copy over the files that were previously too large and the server ran fine.
Today, after it’s been running for roughly 1.5 weeks, I needed to change something on esxi so I shut down the vm’s (this one included of course) and when I restarted it, it throws me in maintenance mode now.
Gave that a shot, I (think) I edited it properly, on boot, I hit ‘e’ to edit, added the selinux=0, hit f10 (also tried it again hitting ctrl-x) signed into maintenance mode and did the touch command.
Rebooted it to the same result. Further looking around though, I think I have selinux disabled. I checked “sudo nano /etc/sysconfig/selinux” and already had selinux=disabled.
Another thing I notices, when I go to /home all the files are there that I copied over, so it “is” seeing them okay, it seems… Not sure exactly why it’s keeping me in maintenance mode and why it times out…
I have to put it there each time I hit ‘e’, it does not save (is that normal) - To continue from there as the prompt indicates I hit ctrl-x or F10 to boot. (I don’t hit ctrl-c or F2 or escape to discard)… Should I do this through the ctrl-c/F2?
You put it at the end of the line that starts with linux the fourth line on that screen. Putting it at the end like you have done it will not take effect. The end of the Linux line is where it says lvm.lv=rl/swap so it goes after this (do not make a new line just lvm.lv=rl/swap selinux=0).
Put it here, executed the same touch /.autorelabel command, shutdown -r to restart and back to maintenance mode
I can reimage this machine, it’s not critical, I’m just trying to get a better understanding of what might’ve gone wrong with it. Especially since everything was working great after the inital partition resizing etc.
Shut down the server. Boot it from a live disc.
Without mounting the server’s file system in the running system, do a repair xfs_repair ‘device from list named /home’
Then repeat the step with again ‘.autorelabel’