How To Install f2fs-tools on CentOS 7
Introduction
In this tutorial we learn how to install f2fs-tools
on CentOS 7.
What is f2fs-tools
NAND flash memory-based storage devices, such as SSD, and SD cards, have been widely being used for ranging from mobile to server systems. Since they are known to have different characteristics from the conventional rotational disks,a file system, an upper layer to the storage device, should adapt to the changes from the sketch. F2FS is a new file system carefully designed for the NAND flash memory-based storage devices. We chose a log structure file system approach, but we tried to adapt it to the new form of storage. Also we remedy some known issues of the very old log structured file system, such as snowball effect of wandering tree and high cleaning overhead. Because a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme aka FTL, we add various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms.
We can use yum
or dnf
to install f2fs-tools
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install f2fs-tools.
Install f2fs-tools on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install f2fs-tools
using yum
by running the following command:
Install f2fs-tools on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install f2fs-tools
using dnf
by running the following command:
How To Uninstall f2fs-tools on CentOS 7
To uninstall only the f2fs-tools
package we can use the following command:
References
Summary
In this tutorial we learn how to install f2fs-tools
on CentOS 7 using yum
and dnf
.