Skip to content

Moosefs

services.moosefs.chunkserver.enable

Whether to enable Moosefs chunkserver daemon. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.chunkserver.hdds

Mount points to be used by chunkserver for storage (see mfshdd.cfg). Type: list of string

Default

null

Example

["/mnt/hdd1"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.chunkserver.openFirewall

Whether to automatically open the necessary ports in the firewall. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.chunkserver.settings

Contents of chunkserver config file (mfschunkserver.cfg). Type: attribute set of (Flat key-value file)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.chunkserver.settings.DATA_PATH

Directory for lock file. Type: string

Default

"/var/lib/mfs"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.client.enable

Whether to enable Moosefs client. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.master.enable

Enable Moosefs master daemon.

You need to run mfsmaster-init on a freshly installed master server to initialize the DATA_PATH directory.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.master.exports

Paths to export (see mfsexports.cfg). Type: list of string

Default

null

Example

["* / rw,alldirs,admin,maproot=0:0""* . rw"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.master.openFirewall

Whether to automatically open the necessary ports in the firewall. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.master.settings

Contents of config file (mfsmaster.cfg). Type: attribute set of (Flat key-value file)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.master.settings.DATA_PATH

Data storage directory. Type: string

Default

"/var/lib/mfs"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.masterHost

IP or DNS name of master host. Type: string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.metalogger.enable

Whether to enable Moosefs metalogger daemon. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.metalogger.settings

Contents of metalogger config file (mfsmetalogger.cfg). Type: attribute set of (Flat key-value file)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.metalogger.settings.DATA_PATH

Data storage directory Type: string

Default

"/var/lib/mfs"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix

services.moosefs.runAsUser

Run daemons as user moosefs instead of root. Type: boolean

Default

true

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/moosefs.nix