EnglishFrenchSpanish

Ad


OnWorks favicon

mfssetquota - Online in the Cloud

Run mfssetquota in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mfssetquota that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mfsrepquota, mfssetquota - retrieves and sets quotas for specified users and groups

SYNOPSIS


mfsrepquota [-nhH] (-u UID | -g GID)+ MOUNTPOINT-ROOT-PATH

mfsrepquota [-nhH] -a MOUNTPOINT-ROOT-PATH

mfssetquota (-u UID | -g GID) SOFT-LIMIT-SIZE HARD-LIMIT-SIZE
SOFT-LIMIT-INODES HARD-LIMIT-INODES MOUNTPOINT-ROOT-PATH

OPTIONS


-u UID
Quota for the user with uid UID.

-g GID
Quota for the group with gid GID.

-a
Quota for all users and groups.

DESCRIPTION


Quota mechanism can be used to limit inodes usage and space usage for users and groups.
Once hard limit for inodes or space is reached, no new files can be created for specified
user (or group) as long as the quota is not raised or some data is deleted. Also, if hard
limit for size is reached, user cannot extend existing files by adding new chunks to them.

In general quotas can be set only by a superuser, but there is a workaround available -
one can set SESFLAG_ALLCANCHANGEQUOTA in mfsexports.cfg file. A user can only retrieve a
quota of his own (and of his primary group).

mfsrepquota prints a summary of the limits that were set and inode/space usage for
specified user/group (or all of them) in the following format:

# User/Group ID; Bytes: current usage, soft limit, hard limit; Inodes: current usage, soft limit, hard limit;
User/Group ID (+/-)(+/-) USED-BYTES SOFT-LIMIT-BYTES HARD-LIMIT-BYTES USED-INODES SOFT-LIMIT-INODES HARD-LIMIT-INODES

+ indicates that the soft was exceeded or the hard limit was reached. - indicates
otherwise. The first + or - corresponds to bytes limit, while the second one to inodes.

mfssetquota sets quotas for a user or a group on LizardFS. The quotas are not strict, i.e.
it is possible to exceed hard limits a bit, mostly by appending data to existing files,
but only to certain level (new chunks cannot be created).

COPYRIGHT


Copyright 2008-2009 Gemius SA, 2013-2015 Skytechnology sp. z o.o.

LizardFS 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.

LizardFS 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 LizardFS. If
not, see http://www.gnu.org/licenses/.

Use mfssetquota online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad