I'm pulling my hair out over this one. I am trying to set up a virtual server environment. ( I am using VirtualBox, but I think this is irrelevant to this problem.) I have downloaded a pre-packaged Linux virtual disk, with which I have successfully started a virtual instance of a Linux server. Now, my goal is (nevermind why for now) to use one virtual machine to modify the root disk of another (which is turned off during this process). Here are the steps I take:
Create and test a virtual linux server (as noted above), called vs-A
Clone the disk used by vs-A (while vs-A is stopped). Let's call the first disk vhd-A1 and the new clone, vhd-A2.
Create a new virtual linux server, vs-B which uses vhd-A2. This works. Power it off.
Now tell vs-A to use vhd-A1 at /dev/hda (as usual) and to use vhd-A2 as /dev/hdb.
Start vs-A
So now, vs-A is running with /dev/hda and /dev/hdb. But trying to do anything with hdb doesn't seem to work. I'd like to know why and to try to remedy that.
Is there a tool or a technique to deal with this situation? Is there a way to rename the uuid? If so, how do I specify that I want the uuid of /dev/hdb changed? Is there a way to associate an existing physical partition to a new group? How do admins do disaster recovery with LVM in these kinds of situations?
what is your ultimate goal for this disk. Do you care about the data on the disk? If so, have you thought about doing a vgchange and vgscan? It might even be better to, if you can, use the original machine to export the vg information and then import it on the other machine
well, preferably, i would like to keep it. the idea is to clone the disk, make some changes to it (using a "master" vm), and then use it in another vm.
I didn't see anything meaningful that I could with vgchange.
Thanks, mark54g. I read up on vgimport, and this didn't seem to be what I needed. Anyway, I decided to approach my problem differently: by using a Linux-recovery-DVD/ISO from which to boot the VM. This works and didn't cause configuration headaches.
Hi
I have created a new setup for VCS for doing some testing on virtual box. After creating 3 Solaris 10 machine (147148-26) with VCS. Here I have used one machine as ISCSI Storage.
VCS Version is
bash-3.2# /opt/VRTS/bin/haclus -value EngineVersion
6.0.10.0
bash-3.2#
bash-3.2# pkginfo... (4 Replies)
Hello friends,
We had to upgrade RHEL 4.x to 5.7 so we took complete backup. Since DIRECT UPGRADE not possible, we rebuilt 5.7 from scratch.
We had lvm configuration on DATA disks in previous OS and now we need to configure such that we should be able to have same old LVM configuration (like... (1 Reply)
I wanted to know how we can combine volumes over 2 physical drives.
# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 ... (16 Replies)
I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Can somebody kindly help me to determine which one i should choose to better manipulate OS volume.
RAID manager or veritas volume manager?
Any critical differences between those two?
Thanks in advance. (5 Replies)
Hi,
I have following set up on Open suse 11
vgdisplay
pvdisplay
lvdisplay
I would like to remove these disks /dev/sdb and /dev/sdc from LVM and do not use them for anything..
Can anyone please help me with this ? (1 Reply)
Hi all,
I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume.
Please find a sutable solutions.
Thanks and Regards
B. Nageswar... (0 Replies)
Hello,
I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB.
If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information
Regards
Himanshu (3 Replies)
Hi all,
I have a server running in RH ES4, the SCSI HD are running in RAID 1.
I backup the LVM config by using 'vgcfgbackup' and then remove all the HD.
I insert another HD (same size & branch but different model) into the machine and run linux rescue to recreate the... (0 Replies)