Once upon a time, Nikolaus Rath <nikol...@rath.org> said:
> You can shrink a PV, but you will loose the extents that are stored in
> the space that you have truncated. I don't consider that resizing.

Changing the size of something is called resizing.

> Unfortunately, pvmove can only move extends to other PVs but not to a
> different location in the same PV.

Not true.  It isn't as straightforward; you have to know a map of the
PEs and specify them to the pvmove command like (assuming the
destination PEs are not in use):

pvmove /dev/sda2:1000-1100 /dev/sda2:100-200

IIRC you get a warning, and it is slow (obviously, reading and writing a
bunch of data on the same drive is slow).
-- 
Chris Adams <cmad...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to