Exam 201-450 All QuestionsBrowse all questions from this exam
Question 7

FILL BLANK -

What command discards unused blocks on a mounted file system in order to support SSD devices? (Specify ONLY the command without any path or parameters.)

    Correct Answer:

    The command used to discard unused blocks on a mounted file system to support SSD devices is 'fstrim'. fstrim is specifically designed for this purpose, ensuring that unused blocks are properly discarded, which is beneficial for the performance and longevity of SSDs.

Discussion
debloid

fstrim. fstrim is used on a mounted filesystem to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. By default, fstrim will discard all unused blocks in the filesystem. Options may be used to modify this behavior based on range or size, as explained below.

serlan

fstrim https://man7.org/linux/man-pages/man8/fstrim.8.html

milan92stankovic

fstrim - 100%