SAUNAFS(7)
π SAUNAFS π
okay bestie, so this is the manual page for saunafs β also known as sfs β and it's sitting in section 7 of the man pages. it's a networking, distributed, highly available file system and honestly? iconic. let's get into it. β¨
πΈ NAME πΈ
saunafs, sfs β a networking, distributed, highly available file system π¦
β¨ DESCRIPTION β¨
SaunaFS is a networking, highly available, distributed file system. no cap. it spreads your data over several physical localisations (servers), and to a user all of that shows up as one single resource. π
for standard file operations, SaunaFS acts like any other Unix-alike file system. it has a hierarchical structure (a directory tree), it stores files' attributes (permissions, last access and modification times), and it can make:
- special files β block and character devices, pipes and sockets π
- symbolic links β file names pointing to another files accessible locally, not necessarily on SaunaFS
- hard links β different names of files which refer to the same data on SaunaFS
access to the file system can be limited basing on IP address and/or password. π
now the distinctive features of SaunaFS, aka the moment you'll be obsessed:
- higher reliability (data can be stored in several copies on separate computers) π«Ά
- dynamically expanding disk space by attaching new computers/disks π₯
- possibility of storing deleted files for a defined period of time (a "trash bin" service on a file system level)
- possibility of creating snapshot of a file, which means coherent copy of them whole file, even while the file is being written. β
π ARCHITECTURE π
a SaunaFS installation consists of five types of machines, bestie. five. count 'em:
- master metadata server (or βthe masterβ) a managing server β single computer managing the whole filesystem, storing metadata for every file (information on size, attributes and file localisation(s)), including all information about non-regular files, i.e. directories, sockets, pipes and devices. main character energy fr fr. π
- metadata server shadows (or βthe shadowβ) β almost identical to the master, there can be any number of those, they work as master metadata server backup and they are ready for immediate deployment as new master in case of current master failure. the understudy that's actually ready to go onstage. π
- data servers β any number of commodity servers storing files data and replicating it among themselves (if a certain file is supposed to exist in more than one copy). the way that they just replicate π
- metadata backup servers β any number of servers, all of which store metadata changelogs and periodically downloading base metadata file; itβs easy to run
sfsmasterprocess on such machine when primary master stops working. - client computers referring to SaunaFS stored files β any number of machines with working
sfsmountprocess that communicates with the managing server to receive and modify file information and with chunkservers to exchange actual file data. π¦
metadata is stored in memory of the managing server and simultaneously is being saved on disk (as a periodically updated binary file and immediately updated incremental logs). the main binary file as well as the logs are replicated to metaloggers (if present). β¨
file data is divided to fragments (chunks) of maximum size 64MB each which are stored as files on selected disks on data servers (chunkservers). each chunk is saved on different computers in a number of copies equal to a "goal" for the given file. π
π REPORTING BUGS π
found a bug? not the cute kind? report bugs to the GitHub repository https://github.com/leil-io/saunafs as an issue. π
π COPYRIGHT π
Copyright 2008-2009 Gemius SA
Copyright 2013-2019 Skytechnology sp. z o.o.
Copyright 2023-2024 Leil Storage OΓ
SaunaFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
SaunaFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SaunaFS. If not, see http://www.gnu.org/licenses/.
π«Ά SEE ALSO π«Ά
and that's the whole page, bestie π this one's from the SAUNAFS(7) manual, dated 2026-07-29 β go forth and slay your distributed file system, periodt. πβ¨
π¦ where this page comes from
- ubuntu stonking: saunafs-client 5.8.0-1ubuntu1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms