Displaying 10 results from an estimated 10 matches for "vgcfgbackup".
2010 Oct 22
1
Preserving LVM after after os reload
Hi guys,
I have two disks, one with OS and a second disk containing an LVM. I
would like to OS reload the server without losing LVM.
I heard that LVM is self sustaining. Is that true ? Should I backup
something(using vgcfgbackup & vgexport ?) to get LVM running after
os reload.
Thanks in advance.
--
Sherin
2006 Feb 07
1
mkinitrd trouble
...em with
some data, and it's presence (or non-presence) theoretically shouldn't
affect bootability of machine. However, booting still fails with root
file system not mounted and of course kernel panic since it can't find
init.
I've attempted doing several things (vgchange -a y, vgcfgbackup,
checking the files it created, vgcfgrestore, then recreating initrd
images). But nothing helped. I guess all needed device driver are
correctly loaded, since it was able to detect volume group (and both
volume groups are on the same RAID controller). Running mkinitrd in
verbose mode looks...
2007 Oct 19
2
Using raid 1 for rollback purposes
Hi All,
For quite some time I've used raid 1 as a means of providing a
rollback mechanism for an upgrade (which I learned from others long
ago). So essentially, before an upgrade you split the mirrors and
upgrade one side or the other. If your upgrade goes well you sync one
way, if your upgrade does not you sync the other (much hand waving and
chanting going on, as its more complicated than
2009 Nov 12
24
How to Backup and Restore MBR within Logical Volumes?
Hi All,
I have several Xen virtual machines within logical volumes using LVM2. I did
not use disk images for performance reasons.
Conventionally, if I want to clone my virtual machines, I have to dd the LV
to an image file. But this consumes a lot of time and harddisk space.
So, instead of doing that, I want to use losetup and kpartx with my logical
volumes, which contain operating systems of
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...t;, "vgscan", NULL);
+ str_lvm, "vgscan", NULL);
if (r == -1) {
reply_with_error ("%s", err);
free (err);
@@ -893,7 +895,7 @@ do_vgmeta (const char *vg, size_t *size_r)
close (fd);
- r = command (NULL, &err, "lvm", "vgcfgbackup", "-f", tmp, vg, NULL);
+ r = command (NULL, &err, str_lvm, "vgcfgbackup", "-f", tmp, vg, NULL);
if (r == -1) {
reply_with_error ("vgcfgbackup: %s", err);
free (err);
@@ -968,7 +970,7 @@ do_pvchange_uuid (const char *device)
int r;...
2012 Aug 30
1
[PATCH] collect list of called external commands
...t;, "vgscan", NULL);
+ str_lvm, "vgscan", NULL);
if (r == -1) {
reply_with_error ("%s", err);
free (err);
@@ -893,7 +895,7 @@ do_vgmeta (const char *vg, size_t *size_r)
close (fd);
- r = command (NULL, &err, "lvm", "vgcfgbackup", "-f", tmp, vg, NULL);
+ r = command (NULL, &err, str_lvm, "vgcfgbackup", "-f", tmp, vg, NULL);
if (r == -1) {
reply_with_error ("vgcfgbackup: %s", err);
free (err);
@@ -968,7 +970,7 @@ do_pvchange_uuid (const char *device)
int r;...
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...lvm, "vgscan", NULL);
+ "lvm", "vgscan", NULL);
if (r == -1) {
reply_with_error ("%s", err);
return -1;
@@ -983,7 +981,7 @@ do_vgmeta (const char *vg, size_t *size_r)
close (fd);
- r = command (NULL, &err, str_lvm, "vgcfgbackup", "-f", tmp, vg, NULL);
+ r = command (NULL, &err, "lvm", "vgcfgbackup", "-f", tmp, vg, NULL);
if (r == -1) {
reply_with_error ("vgcfgbackup: %s", err);
return NULL;
@@ -1056,7 +1054,7 @@ do_pvchange_uuid (const char *device)...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...lvm, "vgscan", NULL);
+ "lvm", "vgscan", NULL);
if (r == -1) {
reply_with_error ("%s", err);
return -1;
@@ -983,7 +983,7 @@ do_vgmeta (const char *vg, size_t *size_r)
close (fd);
- r = command (NULL, &err, str_lvm, "vgcfgbackup", "-f", tmp, vg, NULL);
+ r = command (NULL, &err, "lvm", "vgcfgbackup", "-f", tmp, vg, NULL);
if (r == -1) {
reply_with_error ("vgcfgbackup: %s", err);
return NULL;
@@ -1056,7 +1056,7 @@ do_pvchange_uuid (const char *device)...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option
‘./guestfsd --print-external-commands’