mirror of
https://git.digitalstudium.com/digitalstudium/digitalstudium.com
synced 2023-12-29 08:06:35 +00:00
Fix code highlighting
This commit is contained in:
@@ -17,7 +17,7 @@ sudo fdisk -l
|
||||
|
||||
This is to make sure the drive is recognized by the operating system, and to identify the drive name. Output of the command will be something like this:
|
||||
|
||||
```plaintext
|
||||
```
|
||||
Disk /dev/vdc: 5 GiB, 5368709120 bytes, 10485760 sectors
|
||||
Units: sectors of 1 * 512 = 512 bytes
|
||||
Sector size (logical/physical): 512 bytes/512 bytes
|
||||
@@ -32,7 +32,7 @@ sudo pvcreate /dev/vdc
|
||||
|
||||
You will see output like this:
|
||||
|
||||
```plaintext
|
||||
```
|
||||
kostya@ubuntu-21-04:~$ sudo pvcreate /dev/vdc
|
||||
Physical volume "/dev/vdc" successfully created.
|
||||
kostya@ubuntu-21-04:~$
|
||||
@@ -42,7 +42,7 @@ You will see output like this:
|
||||
|
||||
To get a list of available volume groups run this command:
|
||||
|
||||
```shell
|
||||
```bash
|
||||
vgdisplay
|
||||
```
|
||||
|
||||
@@ -60,7 +60,7 @@ sudo vgextend vg-example /dev/vdc
|
||||
|
||||
You will see output like this:
|
||||
|
||||
```plaintext
|
||||
```
|
||||
kostya@ubuntu-21-04:~$ sudo vgextend vg-example /dev/vdc
|
||||
Physical volume "/dev/vdc" successfully created.
|
||||
Volume group "vg-example" successfully extended
|
||||
@@ -83,7 +83,7 @@ sudo lvextend --size +2G vg-example/lv-example
|
||||
|
||||
You will see output like this:
|
||||
|
||||
```plaintext
|
||||
```
|
||||
kostya@ubuntu-21-04:~$ sudo lvextend --size +2G vg-example/lv-example
|
||||
Size of logical volume vg-example/lv-example changed from 5.00 GiB (1280 extents) to 7.00 GiB (1792 extents).
|
||||
Logical volume vg-example/lv-example successfully resized.
|
||||
|
||||
Reference in New Issue
Block a user