From nobody Wed May 14 19:39:50 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520889152190356.0549066068879; Mon, 12 Mar 2018 14:12:32 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D43482820C; Mon, 12 Mar 2018 21:12:30 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AB7E760474; Mon, 12 Mar 2018 21:12:30 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 44C534CAA6; Mon, 12 Mar 2018 21:12:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2CLCGec028800 for ; Mon, 12 Mar 2018 17:12:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id 658CE17CC2; Mon, 12 Mar 2018 21:12:16 +0000 (UTC) Received: from unknown54ee7586bd10.attlocal.net.com (ovpn-116-66.phx2.redhat.com [10.3.116.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id 23A9317AD6 for ; Mon, 12 Mar 2018 21:12:16 +0000 (UTC) From: John Ferlan To: libvir-list@redhat.com Date: Mon, 12 Mar 2018 17:11:58 -0400 Message-Id: <20180312211158.28343-12-jferlan@redhat.com> In-Reply-To: <20180312211158.28343-1-jferlan@redhat.com> References: <20180312211158.28343-1-jferlan@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 11/11] tools: Clean up the vol-resize man page X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 12 Mar 2018 21:12:31 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Instead of appearing as one long paragraph, split the output to list each command option on its own line for better readability. Signed-off-by: John Ferlan --- tools/virsh.pod | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 366a628f9..d3ae7bb5d 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -4264,17 +4264,29 @@ the first volume found by the path will be used. [I<--allocate>] [I<--delta>] [I<--shrink>] =20 Resize the capacity of the given volume, in bytes. + +I is the name or key or path of the volume +to resize. + +I is a scaled integer (see B above) for the volume, +which defaults to bytes if there is no suffix. + I<--pool> I is the name or UUID of the storage pool the volu= me -is in. I is the name or key or path of the volume -to resize. The new capacity might be sparse unless I<--allocate> is -specified. Normally, I is the new size, but if I<--delta> -is present, then it is added to the existing size. Attempts to shrink -the volume will fail unless I<--shrink> is present; I cannot -be negative unless I<--shrink> is provided, but a negative sign is not -necessary. I is a scaled integer (see B above), which -defaults to bytes if there is no suffix. This command is only safe -for storage volumes not in use by an active guest; see also -B for live resizing. +is in. If the volume name is provided instead of the key or path, then +providing the pool is necessary to find the volume to be uploaded into; +otherwise, the first volume found by the key or path will be used. + +The new I might be sparse unless I<--allocate> is specified. + +Normally, I is the new size, but if I<--delta> +is present, then it is added to the existing size. + +Attempts to shrink the volume will fail unless I<--shrink> is present. +The I cannot be negative unless I<--shrink> is provided, but +a negative sign is not necessary. + +This command is only safe for storage volumes not in use by an active +guest; see also B for live resizing. =20 =3Dback =20 --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list