Re: Weird boot problems.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/4/21 1:56 PM, Roger Heflin wrote:
The only command that I know of that can delete a partition mapping
like this is partx.  On mine partx is not in the initrd so it should
not be happening there.

So:
cd /usr/sbin
mv partx partx.exe
then create a file:

#!/bin/bash
logger "$(/usr/bin/date) kartx run with options $*"
/usr/sbin/partx.exe $*

I imagine this file is to be named partx and chmod +x

Test with running "partx --help" and make sure a message shows up in
messages file from the logger command.

Yes I got
Mar 4 14:06:55 node06 root[1339]: Thu Mar 4 02:06:55 PM CET 2021 kartx run with options --help

If that finds something doing the delete then add a "ps -elf >
somefile" to the script before you execute partx.exe

No, unfortunately a reboot didn't leave any trace.

I have had to use this trick a number of times to figure out what code
path was doing something odd.

It's a nice trick, I'll have to remember that...

You might also run "dmsetup table" and see what is referencing device
8:X (sda is :0, sda1:# dmsetup table 1 and so on).

fedora_node06-swap: 0 8388608 linear 8:2 2048
fedora_node06-root: 0 104857600 linear 8:2 8390656
fedora_node06-home: 0 1838170112 linear 8:2 113248256
 still a mistery...

GiP
--
GianPiero Puccioni            |Istituto dei Sistemi Complessi-CNR
gianpiero.puccioni@xxxxxxxxxx |Via Madonna del Piano, 10
T:+39 0555226682              |50019 Sesto F. (Firenze) ITALY
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux