search for: debug_lvm_config

Displaying 3 results from an estimated 3 matches for "debug_lvm_config".

2017 Jul 26
5
[PATCH 0/2] daemon: Reimplement handling of lvm.conf and filters.
Simplify how we handle lvm.conf.
2018 May 24
1
[PATCH] daemon: Move creating of LVM_SYSTEM_DIR into the appliance/init script.
This patch reworks how we start up LVM and lvmetad. It fixes the problem we had converting a guest which had a peculiar LVM configuration: https://bugzilla.redhat.com/show_bug.cgi?id=1581810#c14 However please note I have NOT yet tested it fully. Rich.
2018 May 24
2
[PATCH v2] daemon: Move lvmetad to early in the appliance boot process.
...(lvm_system_dir set to this) - * /tmp/lvmXXXXXX/lvm ($LVM_SYSTEM_DIR set to this) - * /tmp/lvmXXXXXX/lvm/lvm.conf (configuration file - initially empty) - */ -static char lvm_system_dir[] = "/tmp/lvmXXXXXX"; - -static void rm_lvm_system_dir (void); static void debug_lvm_config (void); -void -clean_lvm_config (void) -{ - char env[64], conf[64]; - FILE *fp; - - if (mkdtemp (lvm_system_dir) == NULL) - error (EXIT_FAILURE, errno, "mkdtemp: %s", lvm_system_dir); - - snprintf (env, sizeof env, "%s/lvm", lvm_system_dir); - mkdir (env, 0755); - snp...