Re: How to mount an LVM volume? (was lvm2 problem)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, 23 Sep 2008, Eric wrote:
> If I then go and physically reconnect the second drive (the old FC5  
> drive), there is no lvm command that will allow me to see both drives  
> AND see their UIDs... the only command that will let me see the UID is 
> vgscan, and that one will only see the boot drive (the first instance of 
> VolGroup00), not the old FC5 drive (the second instance of VolGroup00).

You _could_ boot a qemu/kvm/user-mode-linux which only has access (ro)
to /dev/sdb2 and run "vgs -v" inside that to get the UUID of the older
volume group.

Something like the following:
	blockdev --setro /dev/sdb2
	qemu -boot d -cdrom livcd.iso -hdb /dev/sdb2
		...wait for qemu to boot and then run "vgs -v"
		in a terminal and note down the UUID.
		exit from qemu
	blockdev --setrw /dev/sdb2
	vgrename the_uuid_you_found new_vg_name

I haven't tried this myself but it should work.

Kapil.
--

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux