Modifying and Removing Volume Groups Flashcards

(18 cards)

1
Q

What does volume group management allow?

A

Flexible adjustments to storage resources

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

Name key commands for modifying/removing VGs.

A

vgextend, vgchange, vgexport, vgimport, vgremove

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

What does vgextend do?

A

Adds a physical volume to an existing volume group

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

Syntax for vgextend?

A

vgextend <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
5
Q

Example of vgextend?

A

vgextend vg_projects /dev/sdc1

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

What does vgchange do?

A

Activates or deactivates a volume group

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

Syntax for vgchange?

A

vgchange [options] <volume_group_name></volume_group_name>

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

Example to activate VG?

A

vgchange -a y vg_data

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

Example to deactivate VG?

A

vgchange -a n vg_data

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

What does vgexport do?

A

Prepares a volume group for transfer to another system (marks inactive and exported)

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

Syntax for vgexport?

A

vgexport <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 vgexport?

A

vgexport vg_archive

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

What does vgimport do?

A

Imports an exported volume group on a new system

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

Syntax for vgimport?

A

vgimport <volume_group_name></volume_group_name>

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

Example of vgimport?

A

vgimport vg_archive

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

What does vgremove do?

A

Deletes a volume group with no remaining logical volumes

17
Q

Syntax for vgremove?

A

vgremove <volume_group_name></volume_group_name>

18
Q

Example of vgremove?

A

vgremove vg_temp