Re: how to remove HD from LVM on /

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

 




On 15 Aug 2007, at 17:05, michael wrote:


On 14 Aug 2007, at 17:52, Markku Kolkka wrote:

michael kirjoitti viestissään (lähetysaika tiistai, 14. elokuuta
2007):
Hi, I've just received a PC with 2 HDs with LVM. I wish to
remove one of the HDs (/dev/sdb or /dev/sda???) from the LVM

You must shrink the / filesystem enough to fit it on one physical
volume, see:
http://forums.fedoraforum.org/showthread.php?t=154874

cheers, that useful.

however, for some reason the 'rescue' ISO I've downloaded (sh-3.2) doesn't have lvm command

therefore i did the lvresize step within Fedora's X




Next, use pvmove to clear all used extents off the physical
volume you want to remove from LVM and then you can use
vgreduce.

maybe I've got something wrong/misunderstood, but I get an error with pvmove:

chris@veri:~$ sudo /usr/sbin/pvdisplay /dev/sdb1
Password:
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               VolGroup00
  PV Size               698.64 GB / not usable 10.34 MB
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              22356
  Free PE               19156
  Allocated PE          3200
  PV UUID               xDWUQB-wdEx-AtEs-YFkh-BKBR-7Jgd-9ik3p0


chris@veri:~$ sudo /usr/sbin/pvdisplay /dev/sda2
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               VolGroup00
  PV Size               465.66 GB / not usable 3.56 MB
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              14901
  Free PE               14839
  Allocated PE          62
  PV UUID               GLGcHf-b3Ga-M61f-okkW-HaAk-Al7P-leVK91


chris@veri:~$ sudo /usr/sbin/pvmove /dev/sdb1
  Failure parsing mirror status fraction: 1 core
  Failure parsing mirror status fraction: 1 core
  ABORTING: Mirror percentage check failed.



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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