Re: [PATCH] Store the partitioning layout to the logs for easier debugging

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

 



Hi,

On 10/14/2009 08:49 PM, Chris Lumens wrote:
diff --git a/anaconda b/anaconda
index 6b01ed0..a3081e2 100755
--- a/anaconda
+++ b/anaconda
@@ -721,6 +721,11 @@ if __name__ == "__main__":
      #
      if earlyKS and not opts.rescue:
          opts.rescue = earlyKS.rescue.rescue
+
+    # Store the partitioning layout to log in case anything goes wrong
+    PartLayout = iutil.execWithCapture("parted", ["parted", "-l"])
+    log.debug("Partition layout at the beginning of instalation as seen by parted -l:\n" + PartLayout)
+    del PartLayout

      if opts.rescue:
          anaconda.rescue = True

This is really early on - even before storage is initialized.  Is parted
going to do any crazy probing here that we don't want done?


Not really it will just open all the nodes, do some reading and close them again. Since it always
opens the nodes read write this will cause udev change events for all nodes.

More over now that you mention it, I think this is too early, as we don't have any BIOS RAID sets
online, and we want to have the initial partitioning layout of those too.

Regards,

Hans

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux