search for: lvrenam

Displaying 19 results from an estimated 19 matches for "lvrenam".

Did you mean: lvrename
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...
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
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...n candidate=RootUpdate - elif [ -e /dev/HostVG/RootNew ]; then + elif [ -e /dev/disk/by-label/RootNew ]; then candidate=RootNew fi if [ -z "$candidate" ]; then @@ -69,7 +69,8 @@ ovirt_boot_setup() { umount /liveos rc=0 else - lvrename HostVG $candidate RootNew + candidate_dev=$(readlink -f /dev/disk/by-label/$candidate) + e2label $candidate_dev RootNew rc=$? fi if [ $rc -ne 0 ]; then @@ -77,7 +78,7 @@ ovirt_boot_setup() { log "$(lvdisplay -c)" return $rc fi - moun...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...n candidate=RootUpdate - elif [ -e /dev/HostVG/RootNew ]; then + elif [ -e /dev/disk/by-label/RootNew ]; then candidate=RootNew fi if [ -z "$candidate" ]; then @@ -69,7 +69,8 @@ ovirt_boot_setup() { umount /liveos rc=0 else - lvrename HostVG $candidate RootNew + candidate_dev=$(readlink -f /dev/disk/by-label/$candidate) + e2label $candidate_dev RootNew rc=$? fi if [ $rc -ne 0 ]; then @@ -77,7 +78,7 @@ ovirt_boot_setup() { log "$(lvdisplay -c)" return $rc fi - moun...
2009 Nov 23
1
virt-manager issues?
Hi, A short while ago I renamed two VMs by shutting them down, lvrenaming the storage devices and adjusting the storage path and vm name using "virsh edit". This works fine so far and "virsh list" shows them correctly however virt-manager has gone bonkers and still shows them with the old names and alternating between the status "Shutoff&qu...
2012 May 22
1
Renaming a LVM LV (where is vol-edit??)
Hello, I'm using a LVM storage pool. I renamed a guest and I would like to change the LV name to match to avoid future confusion. How do i do this? There is no vol-edit command (fully updated RHEL6). Thanks, Dax Kelson
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...== -1) { @@ -537,7 +539,7 @@ do_vg_activate (int activate, char *const *volgroups) return -1; } - argv[0] = "lvm"; + argv[0] = str_lvm; argv[1] = "vgchange"; argv[2] = "-a"; argv[3] = activate ? "y" : "n"; @@ -574,7 +576,7 @@ do_lvrename (const char *logvol, const char *newlogvol) int r; r = command (NULL, &err, - "lvm", "lvrename", + str_lvm, "lvrename", logvol, newlogvol, NULL); if (r == -1) { reply_with_error ("%s -> %s: %s&quo...
2012 Aug 30
1
[PATCH] collect list of called external commands
...== -1) { @@ -537,7 +539,7 @@ do_vg_activate (int activate, char *const *volgroups) return -1; } - argv[0] = "lvm"; + argv[0] = str_lvm; argv[1] = "vgchange"; argv[2] = "-a"; argv[3] = activate ? "y" : "n"; @@ -574,7 +576,7 @@ do_lvrename (const char *logvol, const char *newlogvol) int r; r = command (NULL, &err, - "lvm", "lvrename", + str_lvm, "lvrename", logvol, newlogvol, NULL); if (r == -1) { reply_with_error ("%s -> %s: %s&quo...
2012 Feb 01
1
[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).
...amp;err, @@ -497,6 +531,8 @@ do_vg_activate (int activate, char *const *volgroups) int r, i, argc; const char **argv; + IF_NOT_AVAILABLE_ERROR (lvm2, -1); + argc = count_strings (volgroups) + 4; argv = malloc (sizeof (char *) * (argc+1)); if (argv == NULL) { @@ -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, cons...
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
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
..., NULL); @@ -650,7 +648,7 @@ do_vg_activate (int activate, char *const *volgroups) return -1; } - argv[0] = str_lvm; + argv[0] = "lvm"; argv[1] = "vgchange"; argv[2] = "-a"; argv[3] = activate ? "y" : "n"; @@ -682,7 +680,7 @@ do_lvrename (const char *logvol, const char *newlogvol) int r; r = command (NULL, &err, - str_lvm, "lvrename", + "lvm", "lvrename", logvol, newlogvol, NULL); if (r == -1) { reply_with_error ("%s -> %s: %s&quo...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
..., NULL); @@ -650,7 +650,7 @@ do_vg_activate (int activate, char *const *volgroups) return -1; } - argv[0] = str_lvm; + argv[0] = "lvm"; argv[1] = "vgchange"; argv[2] = "-a"; argv[3] = activate ? "y" : "n"; @@ -682,7 +682,7 @@ do_lvrename (const char *logvol, const char *newlogvol) int r; r = command (NULL, &err, - str_lvm, "lvrename", + "lvm", "lvrename", logvol, newlogvol, NULL); if (r == -1) { reply_with_error ("%s -> %s: %s&quo...
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’
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...ile")], []; tests = [ InitScratchFS, Always, TestResult ( [["write"; "/filesize"; "hello, world"]; @@ -5337,7 +5337,7 @@ To get the size of block devices, use C<guestfs_blockdev_getsize64>." }; { defaults with name = "lvrename"; added = (1, 0, 83); - style = RErr, [String "logvol"; String "newlogvol"], []; + style = RErr, [String (PlainString, "logvol"); String (PlainString, "newlogvol")], []; tests = [ InitBasicFSonLVM, Always, TestResult ( [[&quot...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.