Chapter 15 - Managing Advanced Storage Flashcards

1
Q

What is an important advantage of LVM (Logical Volume Manager)?

A

LVM offers a flexible solution for managing storage. Volumes are no longer bound to the restrictions of physical hard drives. If additional storage space is needed, the volume group can easily be extended by adding a new physical volume, so that disk
space can be added to the logical volumes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is another advantage of LVM besides flexible storage management?

A
  1. LVM supports snapshots
  2. If a hard disk is failing, data can be moved within the volume group (through the pvmove command), the failing disk can then be removed from the volume group, and a new hard disk can be added dynamically.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a snapshot in LVM?

A

A snapshot is a copy of the current state of the logical volume.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is a snapshot in LVM created?

A

LVM snapshots are created by copying the logical volume administrative data (the metadata) that describes the current state of files to a snapshot volume.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command is used to mode data between volume groups?

A

pvmove command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which command to create logical volumes?

A

pvcreate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In the fdisk an gdisk utilities what is the option to use to change the partition type from the menu?

A

“t” option

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the partition type code for a LVM partition in fdisk and gdisk?

A

in fdisk it is 8e

in gdisk it is 8e00

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which command to use to flag a LVM partition to be used as a physical volume?

A

pvcreate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which command to use to verify if the physical volume has been created?

A

pvs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which command to use to see a summary of the physical

volumes and their attributes?

A

pvs or pvdisplay

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which command to get a very compact overview of the current storage configuration on your server?

A

lsblk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to use the vgcreate command?

A

Type vgcreate followed by the name of the volume group you want to create and the name of the physical device you want to add to it.
Eg. vgcreate vgdata /dev/sdc1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a physical extent size in volume groups?

A

The physical extent size defines the size of the building blocks used to create logical volumes. A logical
volume always has a size that is a multiple of the physical extent size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command to use to specify the physical extent size you want to use?

A

vgcreate -s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What command to request details about the volume group?

A

vgs or vgdisplay?

17
Q

What is a device mapper?

A

Device mapper or dm is a generic interface that the Linux kernel uses to address storage devices.

18
Q

What is a disadvantage of using XFS filesystem?

A

If the XFS file system is used, a volume can be increased, but not decreased, in size.

19
Q

Which volume group command is used to extend a volume group or reduce a volume group?

A

vgextend and vgreduce

20
Q

What is VDO?

A

Virtual Data Optimizer

21
Q

What are the differnent scenarios where VDO can be useful?

A

host platforms for container
host platforms for virtual machines
cloud backup storage