search for: vgrenam

Displaying 20 results from an estimated 29 matches for "vgrenam".

Did you mean: vgrename
2008 May 02
3
Is it possible to lvrename the current root partition?
I'd like to rename my existing volume groups and logical volumes (I picked names a long time ago I no longer like :-). I recently stumbled across the lvrename and vgrename commands, but when I tried the former to rename the logical volume that my root partition resides on, the system became unbootable. In addition to renaming the LV (and VG if I decide to to that as well), what else needs to be changed? So far my list includes: o /etc/fstabb o /boot/g...
2010 Sep 11
5
vgrename, lvrename
Hi, I want to rename some volume groups and logical volumes. I was not surprised when it would not let me rename active volumes. So I booted up the system using the CentOS 5.5 LiveCD, but the LiveCD makes the logical volumes browsable using Nautilus, so they are still active and I can't rename them. Tried: /usr/sbin/lvchange -a n VolGroup00/LogVol00 but it still says: LV
2020 Jan 06
4
can't boot after volume rename
I renamed my volume with vgrename however I didn't complete the other steps. Mainly update fstab and intiramfs. Once I booted, I was dropped on the Dracut shell. From here I can see the newly rename VG and I can lvm lvscan as well as activate it, lvm vgchange -ay. However I can't figure out what to do next, I'm as...
2008 Nov 09
2
can I use 2 HDD's with the same LVM labels at the same time?
Hi all, I need to add a drive with the same LVM labels (i.e. system) to a machine with a drive with the same label. How can I access the data on both drive's LVM partitions at the same time? -- Kind Regards Rudi Ahlers
2016 Sep 03
4
mounting lvm2
CentOS 7 for everything I am probably never using lvm again. I have never not once actually benefited from its capabilities but this is probably the third or fourth time it has gotten in my way. Issue is that I use the tools so rarely that I can't recall what needs to be done to properly mount the drives on another system and finding that info on the web is becoming more difficult as the
2006 Feb 09
1
Mount LVM
...VM Howto, and also tried to follow a few "mount/recovery procedures" with the only result of compromising the other test disk. I think this the problem is that the vg on my system has the same name of the one on the external usb disk, but I am not sure of what result would have running vgrename, vgcreate or lvcreate on the data, so I'd rather wait for some advice. Any help appreciated
2012 Jan 16
4
VirtIO disk 'leakage' across guests?
We are in the process of migrating several stand-alone server hosts onto a CentOS-6 kvm virtual host. We also use Webmin to administer our hosts. All of the guests, without exception, have been cloned brom a prototype guest using virt-manager. All of the additional VirtIO disks assigned to some of the guests have been added through virt-manager as well. Recently I have encountered a situation
2012 Jan 16
4
VirtIO disk 'leakage' across guests?
We are in the process of migrating several stand-alone server hosts onto a CentOS-6 kvm virtual host. We also use Webmin to administer our hosts. All of the guests, without exception, have been cloned brom a prototype guest using virt-manager. All of the additional VirtIO disks assigned to some of the guests have been added through virt-manager as well. Recently I have encountered a situation
2016 Sep 03
0
mounting lvm2
...t ~]# vgs > VG #PV #LV #SN Attr VSize VFree > centos 1 3 0 wz--n- 111.30g 0 > centos 1 3 0 wz--n- 223.08g 0 This is the reason why i normally set the VG name to the hostname. But you can try to rename the VG. Pick the VG UUID from vgdisplay and rename it: vgrename $UUID centos-pc HTH, Ulf
2020 Jan 07
0
can't boot after volume rename
...;s mount point and then change grub menu and run "dracut -f --regenerate-all" last step is to reboot and test. Best Regards,Strahil Nikolov ? ??????????, 6 ?????? 2020 ?., 17:05:54 ?. ???????-5, Paul Amaral via CentOS <centos at centos.org> ??????: I renamed my volume with vgrename however I didn't complete the other steps. Mainly update fstab and intiramfs. Once I booted, I was dropped on the Dracut shell. From here I can see the newly rename VG and I can lvm lvscan as well as activate it, lvm vgchange -ay. However I can't figure out what to do next, I'm as...
2011 Apr 29
2
how to access lvm inside lvm
I have a centos 5.6 server that has xen domUs installed on their on logical volumes. These logical volumes contain their own volume groups and again their own logical volumes. I want to access the domU logical volumes and tried this: [root at kr ~]# fdisk -l /dev/VolGroup00/LogVol02 Disk /dev/VolGroup00/LogVol02: 274.8 GB, 274877906944 bytes 255 heads, 63 sectors/track, 33418 cylinders Units =
2009 Jun 11
1
How do I create an initrd for a vm that is using lvm ?
Hi All, I am trying to create an initrd for a VM which uses LVM as its root partition. I am running the mkinitrd command a dom0 that also uses LVM - dom0''s volume group is "XenHost" while the VM''s volume group is "VG_VM10" (not sure if that matters). I issue the mkinitrd command from a chroot''d environment so I get the right /lib/modules &
2012 Jul 23
1
[PATCH V3 1/2] umount: add force umount and lazy umount
...r = Some 220; tests = [ InitBasicFSonLVM, Always, TestOutputList ( - [["umount"; "/"]; + [["umount"; "/"; "false"; "false"]; ["vg_activate"; "false"; "VG"]; ["vgrename"; "VG"; "VG2"]; ["vg_activate"; "true"; "VG2"]; @@ -7662,7 +7663,7 @@ it contains all zero bytes." }; proc_nr = Some 284; tests = [ InitBasicFS, Always, TestOutputTrue ( - [["umount"; "/dev...
2012 Jul 24
3
[PATCH V4 1/3] umount: add force umount and lazy umount
...r = Some 220; tests = [ InitBasicFSonLVM, Always, TestOutputList ( - [["umount"; "/"]; + [["umount"; "/"; "false"; "false"]; ["vg_activate"; "false"; "VG"]; ["vgrename"; "VG"; "VG2"]; ["vg_activate"; "true"; "VG2"]; @@ -7685,7 +7686,7 @@ it contains all zero bytes." }; proc_nr = Some 284; tests = [ InitBasicFS, Always, TestOutputTrue ( - [["umount"; "/dev...
2012 Jul 23
3
[PATCH V2 1/4] mount: add a macro to resolve path or device
Add a macro STRDUP_RESOLVE_DEVICE_OR_PATH to resolve path or device. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/daemon.h | 16 ++++++++++++++++ daemon/mount.c | 13 ++----------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 85eec45..f7d0c75 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -336,6
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
Add a macro DUP_RESOLVE_DEVICE_OR_PATH to resolve path or device. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/daemon.h | 18 ++++++++++++++++++ daemon/mount.c | 13 ++----------- po/POTFILES | 8 ++++++++ 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 85eec45..39cc3f3 100644 --- a/daemon/daemon.h +++
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...r; r = command (NULL, &err, - "lvm", "lvrename", + str_lvm, "lvrename", logvol, newlogvol, NULL); if (r == -1) { reply_with_error ("%s -> %s: %s", logvol, newlogvol, err); @@ -596,7 +598,7 @@ do_vgrename (const char *volgroup, const char *newvolgroup) int r; r = command (NULL, &err, - "lvm", "vgrename", + str_lvm, "vgrename", volgroup, newvolgroup, NULL); if (r == -1) { reply_with_error ("%s -> %s...
2012 Aug 30
1
[PATCH] collect list of called external commands
...r; r = command (NULL, &err, - "lvm", "lvrename", + str_lvm, "lvrename", logvol, newlogvol, NULL); if (r == -1) { reply_with_error ("%s -> %s: %s", logvol, newlogvol, err); @@ -596,7 +598,7 @@ do_vgrename (const char *volgroup, const char *newvolgroup) int r; r = command (NULL, &err, - "lvm", "vgrename", + str_lvm, "vgrename", volgroup, newvolgroup, NULL); if (r == -1) { reply_with_error ("%s -> %s...
2012 Feb 01
1
[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).
...LL) { @@ -540,6 +576,8 @@ do_lvrename (const char *logvol, const char *newlogvol) char *err; int r; + IF_NOT_AVAILABLE_ERROR (lvm2, -1); + r = command (NULL, &err, "lvm", "lvrename", logvol, newlogvol, NULL); @@ -562,6 +600,8 @@ do_vgrename (const char *volgroup, const char *newvolgroup) char *err; int r; + IF_NOT_AVAILABLE_ERROR (lvm2, -1); + r = command (NULL, &err, "lvm", "vgrename", volgroup, newvolgroup, NULL); @@ -603,18 +643,24 @@ get_lvm_field (const char *cm...
2012 Jan 12
1
Libguestfs gobject bindings
I'm currently working on gobject bindings for libguestfs. I haven't got as far as compiling anything yet, but I've attached the C header for initial review. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 -------------- next part -------------- An embedded and