Re: Resizing LVM-formatted partitions

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

 



Once upon a time, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> said:
> So how can I be sure of the effect of lopping a bit
> off the end of the VG and moving the whole thing up a bit?

With LVM, a physical volume (PV) belongs to a volume group (VG) and is
divided up into physical extents (PEs).  PEs are then allocated to
logical volumes (LVs).  When you take space from one LV and add it to
another, the PEs are just reassigned, not physically moved.

You can run "lvdisplay --map" and/or "pvdisplay --map" to see which PEs
belong to which LV, so you can know which LV is at the end of the VG.

You can use pvmove to move PEs from one PV to another (in the same VG);
this is useful for replacing a drive with minimal downtime.  I don't
know of a tool to move PEs around on the same PV though.
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux