search for: vgscan

Displaying 20 results from an estimated 109 matches for "vgscan".

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, but...
2018 Jul 18
0
[PATCH 2/3] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).
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, but without activating them....
2018 Jul 18
5
[PATCH 0/3] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).
[This email is either empty or too large to be displayed at this time]
2011 Dec 21
1
for a guest accessing host "full disk", how to prevent host vgscan
...it's "/dev/vdb". This works fine. Within the guest, we have created lvm PV on /dev/vdb (using the whole disk - no partitions) and created a volume group. The guest's hostname is "argo" and the vg is called "vg_argo_bkup". When I reboot the host, it does a vgscan and finds the volume group and activates it in the _host_, which I need to prevent (I think??). I have successfully done this by filtering "/dev/sdb" in /etc/lvm/lvm.conf (which does NOT work as advertised BTW), but referencing the extremely volatile SCSI "sd*" names seems a...
2018 Jul 25
4
[PATCH v2 0/4] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).
v2: - Changes as suggested by Pino in previous review.
2016 Jul 26
0
[PATCH 2/5] daemon: lvm-filter: start lvmetad better
...tad. Thus manually start lvmetad from the daemon, right after having setup the local lvm configuration, and still without failing if it cannot be executed. Additionally, since lvmetad now respects the right configuration, make sure to update its cache when rescanning the VGs by passing --cache to vgscan. --- appliance/init | 1 - daemon/lvm-filter.c | 13 ++++++++++++- daemon/lvm.c | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/appliance/init b/appliance/init index 3816dfd..d440007 100755 --- a/appliance/init +++ b/appliance/init @@ -131,7 +131,6 @@ mdadm -A...
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 __________________________________...
2011 Jul 22
4
VM backup problem
...-46c3-b2c3-a30cb71d83f8 lv_snapshot created* This command worked properly Then issue kpartx command kpartx -av */dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/lv_snapshot But this command not return any value. vgscan Reading all physical volumes. This may take a while... Found volume group "VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c" using metadata type lvm2 * _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com...
2011 Jul 22
4
VM backup problem
...-46c3-b2c3-a30cb71d83f8 lv_snapshot created* This command worked properly Then issue kpartx command kpartx -av */dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/lv_snapshot But this command not return any value. vgscan Reading all physical volumes. This may take a while... Found volume group "VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c" using metadata type lvm2 * _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com...
2016 Jul 26
8
[PATCH 0/5] Improve LVM handling in the appliance
Hi, this series improves the way LVM is used in the appliance: in particular, now lvmetad can eventually 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
2011 Jan 08
4
LiveCD System recovery - Mounting LVM?
Hi, I am trying to recover data from my old system which had LVM. The disk had two partitions - /dev/sda1 (boot, Linux) and /dev/sda2 (Linux LVM). I had taken a backup of both partitions using dd. Now I am booting of CentOS live cd for system restore. I recreated partitions like previous system using fdisk and then used dd to dump all the data onto it. I would like to mount sda2 as LVM, but I
2016 Jul 26
5
[PATCH v2 0/4] Improve LVM handling in the appliance
Hi, this series improves the way LVM is used in the appliance: in particular, now lvmetad can eventually run at all, and with the correct configuration. Also improve the listing strategies. Changes in v2: - dropped patch #5, will be sent separately - move lvmetad statup in own function (patch #2) Thanks, Pino Toscano (4): daemon: lvm-filter: set also global_filter daemon: lvm-filter:
2010 Oct 25
2
interesting kvm lvm collision issue
...e two lv's for one system: lv.sys1, and lv.sys1-data. I then build a new virtual machine called sys1, using lv.sys1 for the root filesystem, and lv.sys1-data for an independent data partition. Everything works great after installation, and vgdisplay on both systems looks great. If I then run vgscan, however, on the host system, it picks up the VolGroup01 I created _within_ the virtual machine, so I now have 2 VolGroup01's with different UUIDs showing up on dom0. Now I can see how vgscan would mistakenly see the VolGroup01 of sys1 on the block device lv.sys1-data, but why are the VolGroup...
2010 Jan 09
1
Moving LVM from one machine to another
...ied (CPU cooler failure, causing CPU to die). In this machine I had 5 Tbyte disks in a RAID5, and LVM structures on that. Now I've moved those 5 disks onto a CentOS5 machine and the RAID array is being rebuilt. However the LVM structures weren't detected at boot time. I was able to "vgscan" and 'vgchange -a y' to bring the volume online and then fsck the logical volumes. But I was concerned this didn't happen at boot time. Do I need to do anything else, or have the commands I've run done sufficient? FWIW, this machine has no other LVM (nor RAID) disks on it....
2009 Oct 16
0
Issue with LVM and iSCSI lun
...tandards installations define two VG VolGroup00 ... We didn't define LogicalVolume on the node and we attached directly the iSCSI lun to the VM without making partition or LV in Ovirt. On the node that run VM1 and VM2 you have lun0 and lun1 seen as /dev/sda and /dev/sdb, but when you run vgscan it hangs, because you have conflict and the local LVM try to manage "virtual LVM". When you refresh a iSCSI pool, Ovirt add a task to taskomatic that ask a node to launch a vgscan, vgscan hang and the pool is never refreshed. In fact the lun is seen as PV in the VM and for the nod...
2013 Mar 23
2
"Can't find root device" with lvm root after moving drive on CentOS 6.3
...m a rescue disc and reinstal GRUB, but that didn't change anything. Further Googling got me the rdshell kernel parameter, and that dropped me to a shell when it failed to find the root device. Reading https://fedoraproject.org/wiki/How_to_debug_Dracut_problems , I did the following: # lvm vgscan # lvm vgchange -ay And then # ln -s /dev/mapper/<volumegroup>-<root_volume> /dev/root # exit After this, the box boots up normally, and everything works as it should. However, when I reboot, it again fails to find the root device. So, after all this, my question is, how do I make D...
2001 May 04
1
LVM 0.9.1beta7 and ext3 0.0.6b
...the root filesystem. Possibly that is related to the fact that the lvm utility I'm using to reproduce this problem is modifying data in /etc. The easist reproduction case I've come across to generate the assertion is to load up lvm (insmod if necessary) and then run: while /bin/true; do vgscan -v; done Then wait a while and it will generate the assertion. You can speed it up a bit by running another instance of the above command. :) Again, it doesn't seem to generate the problem when using ext2 on the root filesystem even if I have ext3 in use on seperate filesystems. Also, you d...
2012 Sep 20
3
How do boot a xen domu into run level 1
.... Does anyone know how to do that? I tried adding single to the extras line in /etc/xen/machine_name but it still tries to start in level 3. To make things worse, the root partition is on LVM. Alternatively, does anyone know how to access the image from DomU? I tried to use kpartx but when I run VGscan, I do not get the lvm activated. Regards, -- Tom me at tdiehl.org Spamtrap address me123 at tdiehl.org
2012 Sep 20
3
How do boot a xen domu into run level 1
.... Does anyone know how to do that? I tried adding single to the extras line in /etc/xen/machine_name but it still tries to start in level 3. To make things worse, the root partition is on LVM. Alternatively, does anyone know how to access the image from DomU? I tried to use kpartx but when I run VGscan, I do not get the lvm activated. Regards, -- Tom me at tdiehl.org Spamtrap address me123 at tdiehl.org
2010 Mar 23
2
[PATCH] Remove initrd patching from oc-boot
...l-init ]; then - # Fedora 10 mkliveinitrd - init_script=sbin/real-init - fi - sed -i '/^\/sbin\/udev.*trigger/ a \ -echo SCSI wait for scans\ -/sbin/modprobe scsi_wait_scan\ -/sbin/modprobe -r scsi_wait_scan\ -set +e\ -while true; do\ - echo Scanning logical volumes\ - lvm vgscan --ignorelockingfailure\ - echo Activating logical volumes\ - if lvm vgchange -ay --ignorelockingfailure HostVG; then\ - break\ - fi\ - sleep 1\ -done\ -set -e\ -' $init_script - # fix emergency shell - sed -i 's/^ bash$/ bash < \/dev\/console/' $init_script - mk...