search for: vgs

Displaying 20 results from an estimated 246 matches for "vgs".

Did you mean: gs
2016 Jul 26
1
Re: [PATCH 4/5] daemon: lvm: list PVs/VGs/LVs with --foreign
On Tue, Jul 26, 2016 at 05:41:28PM +0200, Pino Toscano wrote: > The appliance has no LVM system ID set, which means that lvm commands > will ignore VGs with a system ID set to anything. Since we want to work > with them, pass --foreign at least when listing them to see them. > > See also lvmsystemid(7). This is sort of a hack, if I'm understanding correctly. Can we not instead give the appliance a "system ID"? Also, lvm...
2016 Jul 26
0
[PATCH 4/5] daemon: lvm: list PVs/VGs/LVs with --foreign
The appliance has no LVM system ID set, which means that lvm commands will ignore VGs with a system ID set to anything. Since we want to work with them, pass --foreign at least when listing them to see them. See also lvmsystemid(7). --- daemon/lvm.c | 10 ++++++---- generator/daemon.ml | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/daemon/lvm.c b/da...
2017 Jul 26
0
[PATCH 2/2] tests: lvm: Make the lvm_set_filter test easier to understand.
...-lvm-filtering.sh b/tests/lvm/test-lvm-filtering.sh index 0c8b8803a..abb88ae6c 100755 --- a/tests/lvm/test-lvm-filtering.sh +++ b/tests/lvm/test-lvm-filtering.sh @@ -40,22 +40,22 @@ pvcreate /dev/sdb1 vgcreate VG1 /dev/sda1 vgcreate VG2 /dev/sdb1 -# Should see VG1 and VG2 +echo Expect VG1, VG2 vgs -# Should see just VG1 +echo Expect VG1, VG1 lvm-set-filter /dev/sda vgs lvm-set-filter /dev/sda1 vgs -# Should see just VG2 +echo Expect VG2, VG2 lvm-set-filter /dev/sdb vgs lvm-set-filter /dev/sdb1 vgs -# Should see VG1 and VG2 +echo Expect VG1, VG2 x 5 lvm-set-filter "/dev/sd...
2006 Nov 28
7
Convert Zpool RAID Types
Hello, Is it possible to non-destructively change RAID types in zpool while the data remains on-line? -J
2015 Nov 04
1
[PATCH 0/1] sparsify: Let --in-place capture ^C and shut down gracefully
This patch is easier to read if you use the 'git show -w' option. Also observe that: fun a -> ( fun () -> (* code *) ) (ie. returning a closure) is identical to: fun a () -> (* code *) Rich.
2006 Oct 12
5
AoE LVM2 DRBD Xen Setup
...t;failover" a custom virtual mac with "ip set hwaddr" or such? In the archives I didn''t find anything close to it. 2. Do I need the Redhat-Cluster-framework for this to work? If I make changes to the shared LVM VG (e.g. create a new LV for a new DomU), I have to execute vgscan on all Dom0s. This would not be necessary if I would use the cluster framework. But I don''t need GFS or such, so I don''t want to add additional complexity. But perhaps I have overseen some metadata problems here? Anyone? :) Regards, Bjoern _______________________________...
2018 Jul 19
1
Re: [PATCH 2/3] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).
On Wednesday, 18 July 2018 15:37:24 CEST Richard W.M. Jones wrote: > The old vgscan API literally ran vgscan. When we switched to using > lvmetad (in commit dd162d2cd56a2ecf4bcd40a7f463940eaac875b8) this > stopped working because lvmetad now ignores plain vgscan commands > without the --cache option. > > We documented that vgscan would rescan PVs, VGs and LVs,...
2017 Feb 22
2
how to resize a partition of a disk define as a physical volume
...GB. [root ~]# fdisk -l /dev/xvda Disk /dev/xvda: 16.1 GB, 16106127360 bytes, 31457280 sectors [snip] Device Boot Start End Blocks Id System /dev/xvda1 * 2048 2099199 1048576 83 Linux /dev/xvda2 2099200 20971519 9436160 8e Linux LVM vgs also shows 0 Free PE: [root at CTSSVN01 ~]# vgs VG #PV #LV #SN Attr VSize VFree cl_vm731611 1 2 0 wz--n- 9.00g 0 Thanks, On Wed, Feb 22, 2017 at 8:06 AM, Jon LaBadie <jcu at labadie.us> wrote: > On Wed, Feb 22, 2017 at 07:44:33AM -0500, Bernard Fay wrote: >...
2016 Jul 26
8
[PATCH 0/5] Improve LVM handling in the appliance
...ually run at all, and with the correct configuration. Also improve the listing strategies. Thanks, Pino Toscano (5): daemon: lvm-filter: set also global_filter daemon: lvm-filter: start lvmetad better daemon: lvm: improve filter for LVs with activationskip flag set daemon: lvm: list PVs/VGs/LVs with --foreign appliance: run systemd-tmpfiles also for /run appliance/init | 3 +-- daemon/lvm-filter.c | 43 +++++++++++++++++++++++++++++++++++++++---- daemon/lvm.c | 14 ++++++++------ generator/daemon.ml | 1 + 4 files changed, 49 insertions(+), 12 deletions(-) -- 2.7.4
2013 May 02
4
Kickstart and volume group with a dash in the name
...dashed in volume group names? I tried this: volgroup cinder-volumes --pesize=4096 pv.02 and this: volgroup cinder--volumes --pesize=4096 pv.02 but in both cases I end up with a volume group named "cindervolumes" on the system. Any idea what I have to do to accomplish this? Defining VGs with dashes works perfectly fine on the command line. Regards, Denis
2013 Apr 02
2
Kickstart just create /boot, recommended swap and / with whatever is left.
Howdy, The default partitioning scheme appears to be: swap /boot / small amount of space /home remainder of space. Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc? I figured there would be an autopart -atomic option but that doesn't seem to exist. Any advice? Thanks, -Drew
2017 Jul 26
5
[PATCH 0/2] daemon: Reimplement handling of lvm.conf and filters.
Simplify how we handle lvm.conf.
2020 Sep 07
5
[PATCH common v2 0/4] Windows BitLocker support.
For links to the original patch series, see: https://bugzilla.redhat.com/show_bug.cgi?id=1808977#c8 The original feedback was that ignoring errors from guestfs_luks_uuid would ignore legitimate errors from non-BitLocker disks, so I have modified this series so that errors are only ignored in the BitLocker case. As noted in the 4th patch there is no actual error in the BitLocker case, cryptsetup
2020 Mar 30
6
[PATCH common 0/4] options: Support Windows BitLocker (RHBZ#1808977).
Support transparent decryption/inspection of Windows guests encrypted with BitLocker encryption. This won't make much sense without the associated libguestfs patches which I will post momentarily. (Submodules, ho hum) Rich.
2013 Jan 21
2
size units in xen-create-image, and other newbie doubts
Greetings, I'm fiddling with Xen at home, the dom0 is a freshly installed Debian stable (current 6.0.6 squeeze) using LVM over RAID. I want to use two VGs, so the pointy-clicky won't really do since --lvm only takes one argument (i assume). That's no big deal, i can use LVM tools and even the partitions.d scripts xen-tools can use and provide a partition template through the --partitions flag. However, the man page refers: size...
2006 Apr 12
2
bootup error - undefined symbol: lvm_snprintf after yum update
...s an x86_64 system that I just updated from 4.2 to 4.3 (including the csgfs stuff). When I watch the bootup on the console, I see an error: lvm.static: symbol lookup error: /usr/lib64/liblvm2clusterlock.so: undefined symbol: lvm_snprintf This error comes immediately after the "Activating VGs" line, so it appears to be triggered by the vgchange command in the clvmd startup file. I have another, identically configured, server which I have not updated yet. This server does not give this error. Everything seems to be working fine, so is this something I need to worry about? -- Bow...
2016 Sep 03
4
mounting lvm2
...cked up to github, few things done that day didn't make the last commit and I'd rather not do them again. Trying to mount drive on my laptop via USB interface. Which is easy when drives are plain old ext4 and not ext4 sitting on top lvm2. * end frustrated rant * [root at localhost ~]# 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 [root at localhost ~]# vgscan Reading all physical volumes. This may take a while... Found volume group "centos" using metadata type lvm2 Found volume g...
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
...losed /var/lock/sm/iscsiadm/running [4168] 2012-10-29 23:25:50.285797 lock: creating lock file /var/lock/sm/4bc38254-5e28-4cb6-4566-067fd46ab0b2/sr [4168] 2012-10-29 23:25:50.286136 LVMCache created for VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2 [4168] 2012-10-29 23:25:50.295899 ['/sbin/vgs', 'VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2'] [4168] 2012-10-29 23:25:50.434364 FAILED: (rc 5) stdout: '', stderr: ' Volume group "VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2" not found ' [4168] 2012-10-29 23:25:50.444184 LVMCache: will initia...
2018 May 24
2
[PATCH v2] daemon: Move lvmetad to early in the appliance boot process.
...ot created. Therefore move the whole initialization step into appliance/init. Two further changes had to be made: Now we are using lvmetad all the time, using vgchange is incorrect. With lvmetad activated early we must use ‘pvscan --cache --activate ay’ to scan all disks for PVs and activate any VGs on them (although the documentation is complex, confusing and contradictory so I'm not completely sure about this). The ‘lvm_system_dir’ local variable in ‘daemon/lvm-filter.c’ previously contained the path of the directory above $LVM_SYSTEM_DIR (eg. $LVM_SYSTEM_DIR = "/etc/lvm", lvm...
2007 Jul 30
50
boot a existing windows in hvm domain
Hi all don''t get such envionment to try now. so ask for help here. imagine that two os installed. Xen3.1 + Linux is installed in /dev/hda and windows xp is installed in /dev/hdb I don''t want to reboot to use windows. Is it possiable to boot the hdb windows in xen? i saw there are some threads about P2V in this mail list. will the P2V tools help? thanks