fssync command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fssync: command not found
or when using sudo you get the following error message
sudo: fssync: command not found
Solutions to fssync: command not found
How To Fix fssync: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fssync is provided by fssync package.
fssync is:
fssync is a 1-way file-synchronization tool that tracks inodes and maintains a local database of files that are on the remote side, making it able to:
- handle efficiently a huge number of dirs/files
- detect renames/moves and hard-links
It aims at minimizing network traffic and synchronizing every detail of a file system:
- all types of inode: file, dir, block/character/fifo, socket, symlink
- preserve hard links
- modification time, ownership/permission/ACL, extended attributes
- sparse files
Other features:
- it can be configured to exclude files from synchronization
- fssync can be interrupted and resumed at any time, making it tolerant to random failures (e.g. network error)
- algorithm to synchronize file content is designed to handle big files like VM images efficiently, by updating fixed-size modified blocks in-place
Main usage of fssync is to prevent data loss in case of hardware failure, where RAID1 is not possible (e.g. in laptops).
On Btrfs file systems, fssync is an useful alternative to btrfs send
(and
receive
) commands, thanks to filtering capabilities. This can be combined
with Btrfs snapshotting at destination side for a full backup solution.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fssync
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fssync.
sudo apt -y install fssync
Or if you have aptitude installed you can use the following command.
sudo aptitude install fssync
Summary
In this tutorial we learn how to fix fssync command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.