EnglishFrenchSpanish

OnWorks favicon

fs_setcachesize - Online in the Cloud

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

This is the command fs_setcachesize 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


fs_setcachesize - Sets the size of the disk cache

SYNOPSIS


fs setcachesize [-blocks <size (0 = reset)>>] [-reset] [-help]

fs setca [-b <size (0 = reset)>>] [-r] [-h]

fs cachesize [-b <size (0 = reset)>>] [-r] [-h]

fs ca [-b <size (0 = reset)>>] [-r] [-h]

DESCRIPTION


The fs setcachesize command changes the number of kilobyte blocks of local disk space
available to the Cache Manager for its data cache, on machines that use a disk cache. The
command is not operative on machines that use a memory cache.

To return the cache size to the default value specified in the third field of the local
/etc/openafs/cacheinfo file, provide a value of 0 to the -blocks argument.

To return the cache size to the value set when the machine was last rebooted, use the
-reset flag instead of the -blocks argument. This is normally the amount specified in the
cacheinfo file, unless the -blocks argument was included on the afsd command to override
the cacheinfo value.

To display the current cache size and amount of cache in use, for both disk and memory
caches, use the fs getcacheparms command.

CAUTIONS


This command is not operative on machines using a memory cache, and results in an error
message. To change memory cache size, edit the cacheinfo file and reboot, or reboot and
provide the -blocks argument to the afsd command.

On machines using a disk cache, do not set the cache size to exceed 85% to 90% of the
actual disk space available for the cache directory. The cache implementation itself
requires a small amount of space on the partition.

OPTIONS


-blocks <size>
Specifies the amount of disk space available for the Cache Manager to devote to the
cache. The size should be a positive integer followed by an optional suffix: "K" for
kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for
gibibytes (1024 mebibytes), and "T" for tebibytes (1024 gibibytes). Provide a value
of 0 to set cache size to the default specified in the cacheinfo file.

-reset
Returns the cache size to the value set when the machine was last booted. This agrees
with the value in the cacheinfo file unless the -blocks argument was used on the afsd
command.

-help
Prints the online help for this command. All other valid options are ignored.

EXAMPLES


The following command sets the disk cache size to 25000 kilobyte blocks.

% fs setcachesize -blocks 25000

Both of the following commands reset the disk cache size to the value in the cacheinfo
file, assuming that the -blocks argument to the afsd command was not used.

% fs setcachesize -blocks 0
% fs setcachesize -reset

PRIVILEGE REQUIRED


The issuer must be logged in as the local superuser root.

Use fs_setcachesize online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad