similar to: Moving LVM from one machine to another

Displaying 20 results from an estimated 7000 matches similar to: "Moving LVM from one machine to another"

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
2013 Mar 23
2
"Can't find root device" with lvm root after moving drive on CentOS 6.3
I have an 8-core SuperMicro Xeon server with CentOS 6.3. The OS is installed on a 120 GB SSD connected by SATA, the machine also contains an Areca SAS controller with 24 drives connected. The motherboard is a SuperMicro X9DA7. When I installed the OS, I used the default options, which creates an LVM volume group to contain / and /home, and keeps /boot and /boot/efi outside the volume group.
2011 Apr 08
1
Kickstart and lvm
I've written some %pre code to grab a few files off a logical volume, if it exits, before the disk gets formatted, but can't get get it to work correctly. Essentially: %pre ... lvm vgscan lvm vgchange -a y ... if [ -d /dev/vol0 ]; then # do stuff fi lvm vgremove -f vol0 The problem is that /dev/vol0 does not exist after lvm vgchange. I added a few debug statements (lvm pvdisplay, lvm
2011 Apr 29
2
how to access lvm inside lvm
I have a centos 5.6 server that has xen domUs installed on their on logical volumes. These logical volumes contain their own volume groups and again their own logical volumes. I want to access the domU logical volumes and tried this: [root at kr ~]# fdisk -l /dev/VolGroup00/LogVol02 Disk /dev/VolGroup00/LogVol02: 274.8 GB, 274877906944 bytes 255 heads, 63 sectors/track, 33418 cylinders Units =
2006 Nov 06
1
Segmentation fault on LVM
Hi all, I have installed rhcs on a CentOS 4.4 server with clvmd. When server reboots display a segmentation fault on line 504 in /etc/rc.d/rc.sysinit file, here: if [ -x /sbin/lvm.static ]; then 500 if /sbin/lvm.static vgscan --mknodes --ignorelockingfailure > /dev/null 2>&1 ; then 501 action $"Setting up Logical Volume Management:"
2017 Sep 30
2
LVM not activating on reboot
Hi I've recently rebuilt my home server using centos 7, and transplanted over the main storage disks It's a 3 disk raid5, with an lvm storage group (vg03) on there Activating and mounting works fine: # vgscan ? Reading volume groups from cache. ? Found volume group "vg03" using metadata type lvm2 # vgchange -ay ? 1 logical volume(s) in volume group "vg03" now
2011 Jul 22
0
Strange problem with LVM, device-mapper, and software RAID...
Running on a up-to-date CentOS 5.6 x86_64 machine: [heller at ravel ~]$ uname -a Linux ravel.60villagedrive 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:31:24 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux with a TYAN Computer Corp S4881 motherboard, which has a nVidia 4 channel SATA controller. It also has a Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II (rev 02). This machine has a 120G
2010 Jan 27
7
CentOS 5.4 64-bit: Java web browser plugin for 64-bit FireFox?
Does there exist *anywhere* a Java web browser plugin for 64-bit FireFox? The SUN 1.6<mumble> JDK (jdk-6u18-linux-amd64.rpm) does NOT include the Java web browser plugin library. java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.x86_64.rpm does not have one either. Should I install the *32-bit* SUN 1.6<mumble> JDK and use the 32-64 bit wrapper? I've searched the web and read the wiki
2010 Mar 23
2
[PATCH] Remove initrd patching from oc-boot
Dracut includes what was being patched in Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 47 --------------------------------------------- 1 files changed, 0 insertions(+), 47 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d13dad2..28d1572 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@
2009 Dec 04
2
CentOS/RHEL's build of firefox hardwired to evolution -- how to change this
For some awful reason (can someone explain why?), the RHEL/CentOS build of firefox is hardwired to use evolution as its mailto client. With FF 2.<mumble> this was fixable with an about:config setting. With 3.0.<mumble>, it seems not. What is the proper way of fixing this? *I* ended up doing a 'sudo rpm -e evolution' and then doing a 'sudo ln -s
2007 Jun 13
1
lvm
Hello, I have a physical volume with no volume group. # /sbin/pvscan -n WARNING: only considering physical volumes in no volume group PV /dev/sdg2 lvm2 [148.95 GB] Total: 1 [148.95 GB] / in use: 0 [0 ] / in no VG: 1 [148.95 GB] Can I just create a volume group -- for example: # vgcreate my_volume_group /dev/sdg2 and then activate it: # vgchange -a y my_volume_group I
2010 Nov 09
1
lvm and /dev/cdrom: open failed: No medium found
Hi, every lvm command gives one line with: /dev/cdrom: open failed: No medium found I looked at https://bugzilla.redhat.com/show_bug.cgi?id=431901 and changed filter in /etc/lvm/lvm.conf to filter = [ "r|/dev/cdrom|", "a/.*/" ] then deleted cache /etc/lvm/cache/.cache This seems to help, but after a while the message reappears. Is there a way to get rid of it, because
2016 Jul 26
0
[PATCH 2/5] daemon: lvm-filter: start lvmetad better
Currently lvmetad is started in init, and thus using the system (= appliance) configuration of lvm. Later on, in the daemon, a local copy of the lvm configuration is setup, and set it for use using the LVM_SYSTEM_DIR environment variable: this means only the programmes executed by the daemon will use the local lvm configuration, and not lvmetad. Thus manually start lvmetad from the daemon, right
2011 Jan 09
5
replace x86 with x64 system and reuse existing LVM
I want to replace an existing 32bit with a 64bit installation (Centos 5). There's an existing LVM with lots of partitions. Most are used for Xen guests. The system itself uses only one of them plus a separate /boot partition that is not on LVM. What's the best course of action here? Should I do the reinstall with kickstart or better manually and reuse the existing filesystem? As I
2013 Dec 02
3
Moving/merging a filesystem back into /
Hello, I'm going to be moving a filesystem around, and was planning on using rsync to do it, so like to get some advice from those more experienced than I (both using rsync, and moving filesystems)... I currently have a system that has a separate /usr on an LVM partition. I want to merge this back into the / (root) filesystem. This is a production server (mail server, gentoo linux), so
2006 Oct 12
5
AoE LVM2 DRBD Xen Setup
Hello everybody, I am in the process of setting up a really cool xen serverfarm. Backend storage will be an LVMed AoE-device on top of DRBD. The goal is to have the backend storage completely redundant. Picture: |RAID| |RAID| |DRBD1| <----> |DRBD2| \ / |VMAC| | AoE | |global LVM VG| / | \ |Dom0a| |Dom0b| |Dom0c| | |
2009 Aug 13
2
rpm question
When I install some RPMS like openoffice 3 on centos x85_64 is there some command that will leave all the actual files alone (leave them installed) but just remove the RPM name from the RPM database so centos now things the packages are not installed? Reason is I was wanting to do this so a next yum update does not get all confused... and the yum update happens just like I never installed
2007 Jan 30
1
Mounting a LVM partition on a USB attached drive
I have one of those USB hard drive cases, and I have my old hard drive in it. Eventhough I have made the changes to mount multiple USB drives in one USB device (works fine for my media play with internal and SD drive), I am only getting the first partition (/Boot (2)) automounted. df does not show anything more about the drive, but the gnome hardware browser shows all three partitions on the
2007 Jun 18
2
mounting an lvm partition via a USB adapter
I am trying to mount this (my old hard drive) from my Centos 5 install as a USB drive so I can copy files over. I have made the change to max_luns so that I can have more than one drive on a USB drive. The first partition, /dev/sda1 mounts automatically as /boot_ The second partition, /dev/sda2 is the one I really want and it is an lvm partition. When I am booted from this drive (as the
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