lsfs命令参考

lsfs命令详解

lsfs Command

Purpose

       Displays the characteristics of file systems.

Syntax

       lsfs [ -q ] [ -c | -l ] [ -a | -v VfsType | -u MountGroup| [FileSystem...] ]

Description

       The lsfs command displays characteristics of file systems, such as mount points, automatic mounts, permissions, and file system
       size. The FileSystem parameter reports on a specific file system. The following subsets can be queried for a listing of
       characteristics:
       *    All file systems
       *    All file systems of a certain mount group
       *    All file systems of a certain virtual file system type
       *    One or more individual file systems

       The lsfs command displays additional Journaled File System (JFS) or Enhanced Journaled File System (JFS2) characteristics if
       the -q flag is specified.

       You can use a Web-based System Manager File Systems application (wsm fs fast path) to run this command. You could also use the
       System Management Interface Tool (SMIT) smit lsfs fast path to run this command.

Flags

       -a
            Lists all file systems (default).
       -c
            Specifies that the output should be in colon format.
       -l
            Specifies that the output should be in list format.
       -q
            Displays additional Journaled File System (JFS) or Enhanced Journaled File System (JFS2) characteristics specific to the
            file system type.

            This information is not reported for other virtual file system types. It is displayed in addition to other file system
            characteristics reported by the lsfs command.
       -u MountGroup
            Reports on all file systems of a specified mount group.
       -v VfsType
            Reports on all file systems of a specified type.

Examples
       1    To show all file systems in the /etc/filesystems file, enter:

            lsfs
       2    To show all file systems of vfs type jfs, enter: lsfs -v jfs

       3    To show the file system size, the fragment size, the compression algorithm (if any), and the number of bytes per i-node as
            recorded in the superblock of the root file system, enter: lsfs -q /

Files

       /etc/filesystems
            Lists the known file systems and defines their characteristics.

Related Information

       The chfs command, crfs command, rmfs command.

       File systems in Operating system and device management explains file system types, management, structure, and maintenance.

       Mounting in Operating system and device management explains mounting files and directories, mount points, and automatic mounts.

       For information on installing the Web-based System Manager, see Chapter 2: Installing Web-based System Manager in AIX 5L
       Version 5.3 Web-based System Manager Administration Guide.

       System management interface tool in Operating system and device management explains SMIT structure, main menus, and tasks.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值