Basic Volume Group Management Flashcards

(17 cards)

1
Q

What do Volume Groups (VGs) do?

A

Organize physical storage devices into flexible storage pools

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

Name key commands for VG management.

A

vgscan, vgcreate, vgdisplay, vgs

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

What does vgscan do?

A

Scans the system for existing volume groups

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

Syntax for vgscan?

A

vgscan

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

Purpose of vgscan?

A

Detects all available volume groups, especially after adding disks or restoring backups

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

What does vgcreate do?

A

Creates a new volume group from one or more physical volumes

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

Syntax for vgcreate?

A

vgcreate <volume_group_name> <physical_volume></physical_volume></volume_group_name>

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

Example of vgcreate?

A

vgcreate vg_projects /dev/sdb1

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

Purpose of vgcreate?

A

Sets up a new volume group for managing logical volumes

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

What does vgdisplay do?

A

Provides detailed information about a specific volume group

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

Syntax for vgdisplay?

A

vgdisplay <volume_group_name></volume_group_name>

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

Example of vgdisplay?

A

vgdisplay vg_projects

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

Key details shown by vgdisplay?

A

VG Name : Name of the Volume Group

VG Size: Total storage size

Cur PV: Number of current physical volumes

Act PV: Number of active physical volumes

Alloc PE/Size: Allocated physical extents and their size

Free PE/Size: Free physical extents and their size

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

What does vgs do?

A

Provides a summarized overview of all volume groups

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

Syntax for vgs?

A

vgs

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

Key columns in vgs output?

A

VG: Volume Group name

#PV: Number of physical volumes

#LV: Number of logical volumes

#SN: Number of snapshots

Attr: Attributes such as writable and resizable

Vsize: Total volume size

Vfree : Available free space

17
Q

Purpose of vgs?

A

Quick, comparative view of volume groups and their status