search for: setphysicalvolumesize

Displaying 10 results from an estimated 10 matches for "setphysicalvolumesize".

2012 May 23
1
pvcreate limitations on big disks?
...hows each one as only half its actual size. But if I take the last one and wipe the partition table and just do pvcreate on the entire disk, it works pvcreate /dev/sde And then if I take the results from that and use the size to force a size on another PV I get it right too pvcreate /dev/sdd1 --setphysicalvolumesize=3.64T I'd use the entire disk expect that this seems dangerous to me because you do "sfdisk -l" and the disk appears to have no partition table which might entice someone to thing it is unused. And I'm not sure whether it is safe to use setphysicalvolumesize. Anyone know for sure...
2017 Jun 12
1
[PATCH] daemon: lvm: Pass --yes option to force pvresize (RHBZ#1460577).
...b/daemon/lvm.c index c186a5a5e..6c57046ff 100644 --- a/daemon/lvm.c +++ b/daemon/lvm.c @@ -625,6 +625,7 @@ do_pvresize_size (const char *device, int64_t size) r = command (NULL, &err, str_lvm, "pvresize", + "--yes", "--setphysicalvolumesize", buf, device, NULL); if (r == -1) { -- 2.12.0
2008 Aug 28
3
potential wiki on encryption
Hello all, I posted the whole disk encryption instructions in the forum that has been briefly discussed on the list. I joined the list per Ned's post on the thread. http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=15923&forum=42 I have a couple of questions about the process of creating a wiki. 1. How does the peer-review process work? 2. Is there a place
2008 Oct 15
2
Encrypting tmp swap and home
Hi everyone, I added a page under the HowTos for Encryption, and then added a guide for encrypting /tmp /swap and /home using cryptsetup and LUKS keys on LVM, when you already have partitions setup. http://wiki.centos.org/HowTos/EncryptTmpSwapHome Regards, Max
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...10,7 +512,7 @@ do_pvresize_size (const char *device, int64_t size) snprintf (buf, sizeof buf, "%" PRIi64 "b", size); r = command (NULL, &err, - "lvm", "pvresize", + str_lvm, "pvresize", "--setphysicalvolumesize", buf, device, NULL); if (r == -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 ? &...
2012 Aug 30
1
[PATCH] collect list of called external commands
...10,7 +512,7 @@ do_pvresize_size (const char *device, int64_t size) snprintf (buf, sizeof buf, "%" PRIi64 "b", size); r = command (NULL, &err, - "lvm", "pvresize", + str_lvm, "pvresize", "--setphysicalvolumesize", buf, device, NULL); if (r == -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 ? &...
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...nst char *device, int64_t size) snprintf (buf, sizeof buf, "%" PRIi64 "b", size); r = command (NULL, &err, - str_lvm, "pvresize", + "lvm", "pvresize", "--yes", "--setphysicalvolumesize", buf, device, 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" : &qu...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...nst char *device, int64_t size) snprintf (buf, sizeof buf, "%" PRIi64 "b", size); r = command (NULL, &err, - str_lvm, "pvresize", + "lvm", "pvresize", "--yes", "--setphysicalvolumesize", buf, device, 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" : &qu...
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’