All of lore.kernel.org
 help / color / mirror / Atom feed
From: jbrassow@sourceware.org <jbrassow@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/man pvmove.8.in
Date: 9 Feb 2011 22:24:55 -0000	[thread overview]
Message-ID: <20110209222455.30740.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	jbrassow at sourceware.org	2011-02-09 22:24:55

Modified files:
	man            : pvmove.8.in 

Log message:
	bug 659264: more examples for pvmove

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/man/pvmove.8.in.diff?cvsroot=lvm2&r1=1.4&r2=1.5

--- LVM2/man/pvmove.8.in	2011/02/09 17:42:15	1.4
+++ LVM2/man/pvmove.8.in	2011/02/09 22:24:55	1.5
@@ -95,12 +95,37 @@
 
 .SH EXAMPLES
 To move all logical extents of any logical volumes on
-.B /dev/hda4
-to free physical extents elsewhere in the volume group, giving verbose
-runtime information, use:
+.B /dev/sdb1
+to free physical extents elsewhere in the volume group, use:
 .sp
-\	pvmove -v /dev/hda4
+\	pvmove /dev/sdb1
+.P
+Additionally, the destination device can be specified.
 .sp
+\	pvmove /dev/sdb1 /dev/sdc1
+.P
+It is possible to perform the action on a single logical volume (instead of all
+the logical volumes that might be on the source device), like this:
+.sp
+\	pvmove -n lvol1 /dev/sdb1 /dev/sdc1
+.P
+Rather than moving the contents of the entire device, it is possible to
+move a range of extents.
+.sp
+\	pvmove /dev/sdb1:1000-1999
+.P
+It is possible to move the range of extents to a specific location (as long
+as the location has sufficent free extents) - even on the same device.
+.sp
+\	pvmove /dev/sdb1:1000-1999 /dev/sdc1
+.sp
+\	pvmove /dev/sdb1:1000-1999 /dev/sdb1:0-999
+.P
+A specific logical volume in a range of extents can also be picked out and
+moved.
+.sp
+\	pvmove -n lvol1 /dev/sdb1:1000-1999 /dev/sdc1
 .SH SEE ALSO
 .BR lvm (8),
 .BR vgconvert (8)
+.BR pvs (8)
\ No newline at end of file



             reply	other threads:[~2011-02-09 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 22:24 jbrassow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-28 16:22 LVM2/man pvmove.8.in agk
2011-02-09 17:42 mornfall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110209222455.30740.qmail@sourceware.org \
    --to=jbrassow@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.