Performance & Accessibility Mount Options Flashcards

(18 cards)

1
Q

What do Linux mount options control?

A

Filesystem access and system performance

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

Name common mount options.

A

ro, rw, remount, noatime, nodiratime

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

What does ro do?

A

Sets filesystem as read-only to prevent modifications

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

What does rw do?

A

Allows both read and write access

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

Syntax for ro or rw?

A

mount -o ro|rw <source></source> <TARGET></TARGET>

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

Example of ro?

A

mount -o ro /dev/sdb1 /mnt/mydrive

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

What does remount do?

A

Changes mount options without unmounting the filesystem

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

Why is remount useful?

A

Switch between read-write and read-only modes with minimal disruption

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

Syntax for remount?

A

mount -o remount,<OPTIONS> <TARGET></TARGET></OPTIONS>

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

Example of remount?

A

mount -o remount,ro /mnt/mydrive

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

What does noatime do?

A

Disables updates to file access time on reads

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

Why use noatime?

A

Improves performance by reducing disk writes during read-heavy operations

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

Syntax for noatime?

A

mount -o noatime <source></source> <TARGET></TARGET>

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

Example of noatime?

A

mount -o noatime /dev/sdb1 /mnt/mydrive

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

What does nodiratime do?

A

Disables access time updates for directories only

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

Why use nodiratime?

A

Reduces disk writes from frequent directory lookups

17
Q

Syntax for nodiratime?

A

mount -o nodiratime <source></source> <TARGET></TARGET>

18
Q

Example of nodiratime?

A

mount -o nodiratime /dev/sdb1 /mnt/mydrive