ch5.3 Storage - Troubleshooting Storage, Storage Usage + Quotas Flashcards

(35 cards)

1
Q

ulimit

A

Bash command that limits the system resources for a user in a Linux-based server

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

df [options] [object names]

A

Bash command that displays the device’s storage space

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

du [options] [object names]

A

Bash command that displays how a device is used

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

I/O Scheduling

A

The process where the OS determines the order of input and output operations as they pertain to block storage devices

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

CFQ Scheduler

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

Deadline Scheduler

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

Noop Scheduler

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

What file to modify to set the scheduler used by each device?

A

/sys/block/queue/scheduler

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

rewatch the scheduler section of the training ->

Section 5: Storage
45. Troubleshooting Storage Issues
starting at 2:13

A

rewatch the scheduler section of the training ->

Section 5: Storage
45. Troubleshooting Storage Issues
starting at 2:13

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

iostat

A

Bash command that generates reports on CPU and device usage (input/output statistics)

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

IOPS

A

Acronym that stands for Input/Output Per Second

If there is a low IOPS on a system, you can use the iostat Bash command to identify what kind of input/output is being generated

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

tps (acronym)

A

Transfers (I/O requests) per second

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

kB_read/s (acronym)

A

Number of blocks read per second

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

kB_wrtn/s (acronym)

A

Number of blocks written per second

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

kB_read (acronym)

A

Total number of blocks read

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

kB_wrtn (acronym)

A

Total number of blocks written

17
Q

ioping

A

Generates a report of device I/O latency in real-time

18
Q

Storage Quota

A

The storage space allotted to a user for file storage on a computer

Used to prevent users from using up all of the storage space on a system, and either slowing the system down or crashing it.

19
Q

quotacheck -cug [mount point

A

Bash command to create quota database files for a file system and check for user and group quotas

20
Q

edquota -u [username]

A

Bash command to edit quotas for a specific user

21
Q

edquota -g [group name]

A

Bash command to edit quotas for a specific group

22
Q

setquota -u [username]

A

Bash command to edit quotas for a specific user

23
Q

setquota -g [group name]

A

Bash command to edit quotas for a specific group

24
Q

How to activate user and group quotas on the file system?

A

Edit the fstab file to add the options usrquota and grpquota to the relevant file system

(come back here and get the absolute path to the fstab file)

25
What Bash command can also be used to admin quotas on specifically xfs file systems?
xfs_admin
26
Quota Reports
Quota Reports are created by the system Contents of a Report: Name of the user/group Number of blocks (in kilobytes) being used User's/Group's storage soft limit User's/Group's storage hard limit Grace Period Number of inodes used Soft limit on inodes Hard limit on Inodes
27
repquota -a
Bash command to display the reports for all file systems indicated as read-write with quotas in the mtab file
28
repquota -u [username]
Bash command to display the report for a particular user
29
quota -ua [username]
Bash command to display the quota report for a particular user with verbose output
30
warnquota -u
Bash command to check if users are not exceeding the allotted quota limit
31
warnquota -g
Bash command to check if groups are not exceeding the allotted quota limit
32
2nd Stanza
And sweetest - in the Gale - is heard - And sore must be the storm - That could abash the little Bird That kept so many warm -
33
Go back to the trouble shooter section -> Section 5: Storage 45. Troubleshooting Storage Issues starting at 11:59
Go back to the trouble shooter section -> Section 5: Storage 45. Troubleshooting Storage Issues starting at 11:59
34
What tool should be used to create, manage, and monitor a RAID array?
mdadm
35
What tool allows a system admin to specify how read, write, and status requests are made to a file system?
fuse