lspvcfs Command
Purpose
Lists PowerVC file system information.
Syntax
lspvcfs list-filesystems [--json] [--filesystem FILESYSTEM]
Description
The lspvcfs command is used to retrieve and display file system details in a PowerVC environment. The lspvcfs command provides list-filesystems subcommand to list registered file systems. The mount points, capacities, usage, and status of the file systems are also displayed. All the users are permitted to run this command.
Subcommands
The list-filesystems subcommand lists file system details that include mount point, capacity, usage, and status. If a file system is specified by using the --filesystem parameter, information that is related to the specified file system is displayed. If no file system is specified, information about all the registered file systems are displayed.
Flags
| Item | Description |
|---|---|
| -h or --help | Displays help about the lspvcfs command or the subcommands. |
| --json | Redirects the results in a JSON format for scripting and automation. |
| --filesystem FILESYSTEM | Displays information about the specified file system. The following file systems are the
valid options:
|
Examples
- To list all the file systems in table format, enter the following command:
lspvcfs list-filesystems - To list details for a specific file system, enter the following command:
lspvcfs list-filesystems --filesystem /powervchome - To display the file system information in JSON format, enter the following
command:
lspvcfs list-filesystems --json - To display information of a specific file system in JSON, enter the following
command:
lspvcfs list-filesystems --filesystem /powervclog --json