filesystem.statfs¶
Return stats from the filesystem of a given path.
Raises: CallError(ENOENT) - Path not found
No Additional Items
Tuple Validation
Parameter 1: path
path
Type: stringMust be at least 1
characters long
FilesystemStatfsData
Type: objectNo Additional Properties
Flags
Type: arrayCombined per-mount options and per-superblock options for mounted filesystem.
No Additional ItemsEach item of this array must be:
Must be one of:
- "RW"
- "RO"
- "XATTR"
- "NOACL"
- "NFS4ACL"
- "POSIXACL"
- "CASESENSITIVE"
- "CASEINSENSITIVE"
- "NOATIME"
- "RELATIME"
- "NOSUID"
- "NODEV"
- "NOEXEC"
Fsid
Type: stringUnique filesystem ID as returned by statvfs.
Must be at least 1
characters long
Fstype
String representation of filesystem type from mountinfo.
Must be one of:
- "RW"
- "RO"
- "XATTR"
- "NOACL"
- "NFS4ACL"
- "POSIXACL"
- "CASESENSITIVE"
- "CASEINSENSITIVE"
- "NOATIME"
- "RELATIME"
- "NOSUID"
- "NODEV"
- "NOEXEC"
Source
Type: stringSource for the mounted filesystem. For ZFS this will be dataset name.
Must be at least 1
characters long
Dest
Type: stringLocal path on which filesystem is mounted.
Must be at least 1
characters long
Blocksize
Type: integerFilesystem block size as reported by statvfs.
Total Blocks
Type: integerFilesystem size as reported in blocksize blocks as reported by statvfs.
Free Blocks
Type: integerNumber of free blocks as reported by statvfs.
Avail Blocks
Type: integerNumber of available blocks as reported by statvfs.
Total Blocks Str
Type: stringMust be at least 1
characters long
Free Blocks Str
Type: stringMust be at least 1
characters long
Avail Blocks Str
Type: stringMust be at least 1
characters long
Files
Type: integerNumber of inodes in use as reported by statvfs.
Free Files
Type: integerNumber of free inodes as reported by statvfs.
Name Max
Type: integerMaximum filename length as reported by statvfs.
Total Bytes
Type: integerFree Bytes
Type: integerAvail Bytes
Type: integerTotal Bytes Str
Type: stringMust be at least 1
characters long
Free Bytes Str
Type: stringMust be at least 1
characters long
Avail Bytes Str
Type: stringMust be at least 1
characters long
Required roles: FILESYSTEM_ATTRS_READ