Re: copying lvm with the same name

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

 



Frank Cox wrote:
On Wed, 18 Mar 2009 17:07:28 -0700
Rick Stevens wrote:

We have a serious conflict here.  The df command shows you as on sda,
but LVM is reporting sdb.  My gut reaction is to have you do a:

	vgreduce --test VolGroup00 /dev/sdb2

and see if it would be successful.  If so, then remove the "--test" and
cross your fingers.

[root@mutt temp]# vgreduce --test VolGroup00 /dev/sdb2
  Test mode: Metadata will NOT be updated.
  Physical Volume "/dev/sdb2" not found in Volume Group "VolGroup00"

This is consistent with the fact that the "active" Volume Group that I'm using
is not on /dev/sdb2.  It's just the "lvdisplay -vm" command that shows it as
being in use.

This is truly screwey.  The pvscan shows sdb2 as part of VolGroup00,
lvdisplay shows the partition as in use, but vgreduce says sdb2 isn't
part of the VG.  Hoo, boy.

Frank, this is potentially dangerous, but you can try

	# pvremove /dev/sdb2

to wipe out sdb2's PV status.  Since you seem to be running on /dev/sda
and vgreduce claims that /dev/sdb2 isn't part of the active VG, you
should be able to do this without blowing things up.

Damn this makes me nervous!
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-      Cuteness can be overcome through sufficient bastardry         -
-                                         --Mark 'Kamikaze' Hughes   -
----------------------------------------------------------------------

--
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