search for: vgcfgrestore

Displaying 11 results from an estimated 11 matches for "vgcfgrestore".

2011 Aug 03
0
can't recover LVM volume: Please specify a *single* volume group to restore
Hi everyone, I'm trying to recover a deleted LVM volume but can't see to get the syntax right. Running the following command gives me a list of backed up LVM volumes: root at usaxen02:[~]$ vgcfgrestore -l fluidVG_125094317679 ------- snip --------- File: /etc/lvm/archive/fluidVG_125094317679_00126-1479850541.vg VG name: fluidVG_125094317679 Description: Created *before* executing 'lvremove /dev/fluidVG_125094317679/mars.x.com_root_125152080771' Backup Time: Tue A...
2012 Jan 19
1
Wrong PV UUID
...sist of four disk (and four PV) somehow the UUID is changed. I try to restore with the last known good configuration and use pvcreate --uuid xxx --restorefile xxx but I think when I first time do it I did use wrong UUID for two device. but haven't only using command above and haven't used vgcfgrestore. After carefully read the configuration, using hdparm to know device serial number I think I have assign the right UUID for each device. I succesfully use vgcfgrestore, but I cannot mount the device (unknown filesystem, bad superblock, etc). My questions are, is my first attempt to assigning (wrong...
2015 Feb 28
1
Looking for a life-save LVM Guru
...disk. If you have another disk then you could try > adding it to the VG and then moving the extents. > > | 2. Replacing the broken PV: > | > | I was able to create a new PV and restore the VG Config/meta data: > | > | # pvcreate --restorefile ... --uuid ... /dev/sdc1 > | # vgcfgrestore --file ... vg_hosting > | > | However, vgchange would give this error: > | > | # vgchange -a y > | device-mapper: resume ioctl on failed: Invalid argument > | Unable to resume vg_hosting-lv_home (253:4) > | 0 logical volume(s) in volume group "vg_hosting" no...
2015 Feb 28
9
Looking for a life-save LVM Guru
...vgreduce --force vg_hosting /dev/sdc1 Physical volume "/dev/sdc1" still in use # pvmove /dev/sdc1 No extents available for allocation 2. Replacing the broken PV: I was able to create a new PV and restore the VG Config/meta data: # pvcreate --restorefile ... --uuid ... /dev/sdc1 # vgcfgrestore --file ... vg_hosting However, vgchange would give this error: # vgchange -a y device-mapper: resume ioctl on failed: Invalid argument Unable to resume vg_hosting-lv_home (253:4) 0 logical volume(s) in volume group "vg_hosting" now active Could someone help me please??? I'...
2006 Nov 15
0
System crashed & LVM1
...S 4.4 on a new hard disk. I want to know if it's possible to "import" the old LVM array into the fresh CentOS install. We have 1 volume group (LVM1) that contains 3 whole hard drives. I had the time to save some informations before the system hard drive crashed definitely: I have vgcfgrestore info, i have volgroups_001.conf, i have the full /etc directory and pvdata. Here is a part of the info i have: PVDATA: ======= --- Physical volume --- PV Name /dev/sda VG Name volgroup_001 PV Size 298.09 GB [625142448 secs] / NOT usable 32.19 MB [LVM: 1...
2015 Feb 28
0
Looking for a life-save LVM Guru
...extents to move the data off of this disk. If you have another disk then you could try adding it to the VG and then moving the extents. | 2. Replacing the broken PV: | | I was able to create a new PV and restore the VG Config/meta data: | | # pvcreate --restorefile ... --uuid ... /dev/sdc1 | # vgcfgrestore --file ... vg_hosting | | However, vgchange would give this error: | | # vgchange -a y | device-mapper: resume ioctl on failed: Invalid argument | Unable to resume vg_hosting-lv_home (253:4) | 0 logical volume(s) in volume group "vg_hosting" now active There should be no need...
2013 Dec 16
2
LVM recovery after pvcreate
Hi all, I had centos 5.9 installed with one of its volumes (non-root) on LVM: ... /dev/vgapps/lvapps /opt/apps ext3 defaults 1 2 ... Then installed centos 6.4 on this servers but without exporting this volume (I wanted to reuse it). After that instead importing it I did: # pvcreate /dev/sddlmac # vgcreate vgapps /dev/sddlmac And then realised that I should have
2006 Feb 07
1
mkinitrd trouble
...non-presence) theoretically shouldn't affect bootability of machine. However, booting still fails with root file system not mounted and of course kernel panic since it can't find init. I've attempted doing several things (vgchange -a y, vgcfgbackup, checking the files it created, vgcfgrestore, then recreating initrd images). But nothing helped. I guess all needed device driver are correctly loaded, since it was able to detect volume group (and both volume groups are on the same RAID controller). Running mkinitrd in verbose mode looks fine too. Any help would be greatly appriciat...
2007 Oct 19
2
Using raid 1 for rollback purposes
Hi All, For quite some time I've used raid 1 as a means of providing a rollback mechanism for an upgrade (which I learned from others long ago). So essentially, before an upgrade you split the mirrors and upgrade one side or the other. If your upgrade goes well you sync one way, if your upgrade does not you sync the other (much hand waving and chanting going on, as its more complicated than
2010 Mar 08
4
Error with clvm
Hi, I get this error when i try to start clvm (debian lenny) : This is a clvm version with openais # /etc/init.d/clvm restart Deactivating VG ::. Stopping Cluster LVM Daemon: clvm. Starting Cluster LVM Daemon: clvmCLVMD[86475770]: Mar 8 11:25:27 CLVMD started CLVMD[86475770]: Mar 8 11:25:27 Our local node id is -1062730132 CLVMD[86475770]: Mar 8 11:25:27 Add_internal_client, fd = 7
2009 Nov 12
24
How to Backup and Restore MBR within Logical Volumes?
Hi All, I have several Xen virtual machines within logical volumes using LVM2. I did not use disk images for performance reasons. Conventionally, if I want to clone my virtual machines, I have to dd the LV to an image file. But this consumes a lot of time and harddisk space. So, instead of doing that, I want to use losetup and kpartx with my logical volumes, which contain operating systems of