User:Maffblaster/Drafts/NILFS
From Gentoo Wiki
< User:Maffblaster | Drafts
Jump to:navigation
Jump to:search
NILFS is a new implementation of a log structured filesystem for Linux. It supports versioning of all files created on the filesystem and continuous snapshotting.
Installation
Kernel
KERNEL Enable support for NILFS
File systems ---> <M> NILFS2 file system support Library routines ---> -*- CRC32/CRC32c functions
USE flags
USE flags for sys-fs/nilfs-utils A New Implementation of a Log-structured File System for Linux
static-libs
|
Build static versions of dynamic libraries as well |
Emerge
root #
emerge --ask sys-fs/nilfs-utils
Configuration
Files
NILFS includes the /etc/nilfs_cleanerd.conf file to provide configuration settings to the cleanup daemon. Details can be viewed via man 8 nilfs_cleanerd.
Usage
The nilfs package contains over a dozen management utilities. Each comes with its own man page. Upstream also hosts the pages on the project site.
Filesystem creation
root #
mkfs.nilfs2 -h
Usage: mkfs.nilfs2 [-b block-size] [-B blocks-per-segment] [-c] [-f] [-L volume-label] [-m reserved-segments-percentage] [-O feature[,...]] [-hnqvKV] device
Troubleshooting
Issue 1
Removal
Unmerge
root #
emerge --ask --depclean --verbose sys-fs/nilfs-utils
See also
- Filesystem — a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve, and update data as well as manage the available space on the device(s) which contain it.