Logical volume Manager Flashcards

1
Q

LVM benefits

A

Let’s you create one file system across multiple storage devices

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

LVM lets you

A

Easily migrate data from one system to another

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

LVM mirroring

A

Lets you store data on two devices

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

Snapshots

A

Lets you get the state of your data at a specific moment

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

Physical volumes

A

Any devices that the linux operating system can access

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

Volume group

A

Groups of physical volumes

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

Logical volumes

A

Parts of a volume group

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

lvmdiskscan

A

Checks for all the devices that can be used with lvm

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

lsblk

A

Tells you more about disks

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

pv create path

A

Creates a physical volume

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

pvs

A

Lists physical volumes

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

vgcreate name physical volume path

A

Creates a volume group with a physical volume underneath

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

vgs

A

Tells you about a volume group

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

lvcreate -L 20G-n lv_data volumegrpup

A

Creates a 2gigogical volume

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

lvs

A

Prints your logical volumes

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

mkfs

A

Make file system. Needs an ext value and a path

17
Q

PE and LE size

A

4 MB

18
Q

lvextend -L +5G

A

Extend the size of a logical volume

19
Q

-r on lv extend

A

Resizes the file system on the logical volume

20
Q

lvcreate -m 1

A

Creates 1 mirror lv

21
Q

vgremove

A

Destroys a vg

22
Q

lgremove

A

Destroys an lg

23
Q

pgremove

A

Destroys a physical volume

24
Q

pgmove

A

Let’s you move a physical volume to a different volume group