filesystem.statfs

Return stats from the filesystem of a given path.

Raises: CallError(ENOENT) - Path not found

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: path

path

Type: string

Must be at least 1 characters long

FilesystemStatfsData

Type: object
No Additional Properties

Flags

Type: array

Combined per-mount options and per-superblock options for mounted filesystem.

No Additional Items
Each item of this array must be:

Type: enum (of string)
Must be one of:
  • "RW"
  • "RO"
  • "XATTR"
  • "NOACL"
  • "NFS4ACL"
  • "POSIXACL"
  • "CASESENSITIVE"
  • "CASEINSENSITIVE"
  • "NOATIME"
  • "RELATIME"
  • "NOSUID"
  • "NODEV"
  • "NOEXEC"
Type: object

Fsid

Type: string

Unique filesystem ID as returned by statvfs.

Must be at least 1 characters long

Fstype


String representation of filesystem type from mountinfo.

Type: enum (of string)
Must be one of:
  • "RW"
  • "RO"
  • "XATTR"
  • "NOACL"
  • "NFS4ACL"
  • "POSIXACL"
  • "CASESENSITIVE"
  • "CASEINSENSITIVE"
  • "NOATIME"
  • "RELATIME"
  • "NOSUID"
  • "NODEV"
  • "NOEXEC"
Type: object

Source

Type: string

Source for the mounted filesystem. For ZFS this will be dataset name.

Must be at least 1 characters long

Dest

Type: string

Local path on which filesystem is mounted.

Must be at least 1 characters long

Blocksize

Type: integer

Filesystem block size as reported by statvfs.

Total Blocks

Type: integer

Filesystem size as reported in blocksize blocks as reported by statvfs.

Free Blocks

Type: integer

Number of free blocks as reported by statvfs.

Avail Blocks

Type: integer

Number of available blocks as reported by statvfs.

Total Blocks Str

Type: string

Must be at least 1 characters long

Free Blocks Str

Type: string

Must be at least 1 characters long

Avail Blocks Str

Type: string

Must be at least 1 characters long

Files

Type: integer

Number of inodes in use as reported by statvfs.

Free Files

Type: integer

Number of free inodes as reported by statvfs.

Name Max

Type: integer

Maximum filename length as reported by statvfs.

Total Bytes

Type: integer

Free Bytes

Type: integer

Avail Bytes

Type: integer

Total Bytes Str

Type: string

Must be at least 1 characters long

Free Bytes Str

Type: string

Must be at least 1 characters long

Avail Bytes Str

Type: string

Must be at least 1 characters long



Required roles: FILESYSTEM_ATTRS_READ