Basic Logical Volume Management Flashcards

(18 cards)

1
Q

What are Logical Volumes (LVs)?

A

Customizable storage areas within Volume Groups (VGs)

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

Name key commands for LV management.

A

lvcreate, lvdisplay, lvs

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

What does lvcreate do?

A

Creates a logical volume from an existing volume group

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

Syntax for lvcreate?

A

lvcreate –name <logical_volume_name> --size <size> <volume_group_name></volume_group_name></size></logical_volume_name>

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

Example of lvcreate?

A

lvcreate –name lv_data –size 20G vg_projects

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

Purpose of lvcreate?

A

Allocates and reserves space for specific storage tasks

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

What does lvdisplay do?

A

Provides detailed information about a specific logical volume

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

Syntax for lvdisplay?

A

lvdisplay <logical_volume_path></logical_volume_path>

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

Example of lvdisplay?

A

lvdisplay /dev/vg_projects/lv_data

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

Purpose of lvdisplay?

A

Confirms properties and status of a logical volume

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

What does lvs do?

A

Displays a summary of all logical volumes in the system

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

Syntax for lvs?

A

lvs

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

Key columns in lvs output?

A

LV (Logical Volume name), VG (Volume Group name), Attr (attributes), Lsize (Logical volume size)

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

Purpose of lvs?

A

Provides a high-level view of logical volumes and their usage

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

What is the VG column in the lvs output?

A

Volume Group name

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

What is the LV column in the lvs output?

A

Logical Volume name

17
Q

What is the Attr column in the lvs output?

A

Volume attributes

			■ w: Writable

			■ i: Inherited permissions

                            ■ a: Active
18
Q

What is the Lsize column in the lvs output?

A

Logical volume size