Skip to content

MUSTFS Storage Service

MUSTFS is a Ceph-based distributed filesystem accessible from all the computing platform servers (including interactive servers).

The MUSTFS service provides disk-based storage that can be considered semi-permanent. It is designed to host large data volumes, such as non-critical experimental data that must be accessed regularly by several colleagues. This service does not provide backups.

The usage of this storage service and the allocation of additional capacity above the default quota are subject to financial conditions, which must be accepted by the laboratory management or by the group or project manager.

Group storage areas

Group data areas are shared by all users of the same UNIX group (a laboratory, project, experiment or collaboration), and are accessible from the interactive servers (lappui/lapthui or lappusmb) and from all compute nodes of the batch farm. Once created, this space can be managed equally by all users of the UNIX group. Users can also grant permissions to other users with Linux Access Control Lists (ACLs).

New users should check whether a group data area already exists for their laboratory, experiment or project:

  • /lapp_data/<mygroup> for LAPP and LAPTh users
  • /uds_data/<mygroup> for USMB users

The default quota is 1 TiB.

Overview of MUSTFS areas

The diagram below shows the storage areas and capacities provided by the MUSTFS service for local use (in blue), and which of them can be reached from each computing environment.

Note that the HOME directories of LAPP/LAPTh members (/home1 and /home3) are not provided by MUSTFS, but hosted on the Network-Attached Storage (NAS) filer of the LAPP/LAPTh infrastructure (in green).

flowchart TB
    subgraph access[" "]
        direction LR
        ilapp["Interactive computing<br>LAPP/LAPTh"]
        blapp["Batch computing<br>LAPP/LAPTh"]
        usmb["Interactive/Batch computing<br>USMB"]
    end

    subgraph nas["LAPP/LAPTh NAS (lappfiler) · 60 TB"]
        home["/home1<br>/home3"]:::nas
    end

    subgraph mustfs["MUSTFS · CephFS /mustfs · HDD 210 TB / SSD 13 TB"]
        lappdata["LAPP-DATA<br>/lapp_data"]:::mustfs
        sw["SOFTWARE (SSD)<br>/must_sw<br>/containers"]:::ssd
        udsdata["MUST-DATA<br>/uds_data"]:::mustfs
        univ["MUST-SHARE<br>/univ_home"]:::mustfs
    end

    ilapp --> home & lappdata & sw
    blapp --> lappdata & sw
    usmb --> sw & udsdata & univ

    classDef nas fill:#a9d18e,stroke:#548235,color:#000
    classDef mustfs fill:#5b8fc7,stroke:#2f5597,color:#fff
    classDef ssd fill:#b4c7e7,stroke:#2f5597,color:#000

MUSTFS Quotas

MUSTFS allows quotas to be set on any directory in the file system. The default quota is 1 TiB per group (laboratory or project).

All GROUP data areas under /lapp_data and /uds_data have a GROUP quota, shared among the users of the same group, project or laboratory. Processes writing to a GROUP area are stopped shortly after the GROUP quota is reached, so they will inevitably write some data beyond the configured limit. How far over the quota they can go depends mainly on time, not on the amount of data: generally speaking, writers are stopped within tens of seconds of crossing the limit.

To view the quota limit in bytes:

$ getfattr -n ceph.quota.max_bytes /lapp_data/some_dir
ceph.quota.max_bytes="1099511627776"

Additional space may be allocated upon request to support-must@lapp.in2p3.fr.

How to recover a recently deleted file

All MUSTFS group storage areas are snapshotted regularly. This comes in handy if you want to recover a recently deleted file or revert to an older version.

Danger

Snapshots are only kept for 4 days: you will not be able to recover your data after that. If you need assistance, please get in touch with us.

Snapshots are available through the .snap hidden folder inside every directory of your group area. Note that even ls -a WILL NOT show the .snap folder, so you need to access it by typing its path directly:

$ cd /<group_area>/<your_dir>/.snap

It contains one folder per available snapshot of this directory:

$ ls -alh
total 0
drwxr-xr-x 1 username group    0 Jun 30 09:32 .
drwxr-xr-x 1 username group 208K Jul  9 15:58 ..
drwxr-xr-x 1 username group 207K Jun 20 11:58 _daily_07_01_<id>
drwxr-xr-x 1 username group 207K Jun 20 11:58 _daily_07_02_<id>
drwxr-xr-x 1 username group 207K Jun 20 11:58 _daily_07_03_<id>
drwxr-xr-x 1 username group 207K Jun 20 11:58 _daily_07_04_<id>

You can then navigate into them and copy your data as usual.