A user cannot save large files to a directory on a Linux server that was accepting smaller files a few minutes ago.
Which of the following commands should a technician use to identify the issue?
A.
pvdisplay B.
mount C.
df -h D.
fdisk -l.
C.
A user cannot save large files to a directory on a Linux server that was accepting smaller files a few minutes ago.
Which of the following commands should a technician use to identify the issue?
A.
pvdisplay
B.
mount
C.
df -h
D.
fdisk -l.
C.
The correct command to use in this scenario would be C. df -h
.
The df
command is used to display information about the file system usage on Linux-based systems. The -h
option will display the information in a human-readable format, making it easier to interpret.
If a user is unable to save large files to a directory on a Linux server that was accepting smaller files a few minutes ago, it's possible that the file system containing that directory is full or close to full. In this case, using the df -h
command will display information about the file systems and their usage, including the amount of free space available. If the file system is close to being full, the user will not be able to save large files.
Using the pvdisplay
command (A) will display information about physical volumes used by the Logical Volume Manager (LVM) on Linux-based systems. This command would not be useful for diagnosing a problem related to file system usage.
The mount
command (B) displays information about the mounted file systems on a Linux-based system. While this command may be useful in some cases, it would not necessarily provide information about the amount of free space available on a file system.
The fdisk -l
command (D) is used to display information about the partitions on a hard disk. This command would not be useful in diagnosing a problem related to file system usage.
Therefore, df -h
is the most appropriate command to use in this scenario.