From 078ee76f1d6f3ae3dc3d5311404f14d3345dcd23 Mon Sep 17 00:00:00 2001 From: puneetse <22071208+puneetse@users.noreply.github.com> Date: Thu, 21 Jun 2018 13:12:53 -0700 Subject: [PATCH] Reorder methods to find partition size The lsblk approach is more likely to be used on an already deployed system, while the config.json is more of a reference point. --- .../increase-virtual-disk-size.rst | 40 ++++++++++--------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/source/clear-linux/guides/maintenance/increase-virtual-disk-size.rst b/source/clear-linux/guides/maintenance/increase-virtual-disk-size.rst index 7b991faa..5c87482c 100644 --- a/source/clear-linux/guides/maintenance/increase-virtual-disk-size.rst +++ b/source/clear-linux/guides/maintenance/increase-virtual-disk-size.rst @@ -13,7 +13,28 @@ Determine the prebuilt image size There are two methods to find the virtual disk size of your prebuilt |CL| image. -The first method is to check the config.JSON file of the image, located in the +The first method is to boot up your :abbr:`VM (Virtual Machine)` and +execute the :command:`lsblk` command as shown below: + +.. code-block:: bash + + sudo lsblk + +An example output of the :command:`lsblk` command: + +.. code-block:: console + + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT + sda 8:0 0 8.5G 0 disk + ├─sdd1 8:1 0 512M 0 part + ├─sdd2 8:2 0 32M 0 part [SWAP] + └─sdd3 8:3 0 8G 0 part / + +In this example, both methods show the prebuilt Hyper-V image is about 8.5 GB. + + + +The second method is to check the config.JSON file of the image, located in the `releases`_ repository. For example, to find the size of the Hyper-V\* image version number 20450, follow these steps: @@ -39,24 +60,7 @@ version number 20450, follow these steps: "size" : "8G", "type" : "linux" } ], -The second method is to boot up your :abbr:`VM (Virtual Machine)` and -execute the :command:`lsblk` command as shown below: -.. code-block:: bash - - sudo lsblk - -An example output: - -.. code-block:: console - - NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT - sda 8:0 0 8.5G 0 disk - ├─sdd1 8:1 0 512M 0 part - ├─sdd2 8:2 0 32M 0 part [SWAP] - └─sdd3 8:3 0 8G 0 part / - -In this example, both methods show the prebuilt Hyper-V image is about 8.5 GB. Increase virtual disk size **************************