201-450 Exam QuestionsBrowse all questions from this exam

201-450 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.)

Show Answer
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

3 comments
Sign in to comment
milan92stankovic
Jan 18, 2021

fstrim - 100%

serlan
Oct 10, 2022

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

debloid
Jul 16, 2024

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.