1. 运行命令smit chfs
---> Change/Show Characteristics of a Journaled File System
将光标移至需要修改的文件系统,并按下回车键,屏幕显示如下(下表中各字段值为示例):
*******************************************************
Change / Show Characteristics of a Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
File system name /
NEW mount point [/]
SIZE of file system (in 512-byte blocks) [98304]
Mount GROUP [bootfs]
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [/] +
Start Disk Accounting? no +
Fragment Size (bytes) 4096
Number of bytes per inode 2048
Compression algorithm no
Large File Enabled false
Allocation Group Size (MBytes) 8
**************************************************************
2. 将光标直接定位于“SIZE of file system (in 512-byte blocks) [98304]”,把此文件系统当前定义的总空间值(例中为98304)改为需要的大小(注意:这里填写的数值以512字节为单位),按下回车键,命令运行结束后修改后的文件系统空间值立即生效。此操作不需重启系统。
3. 使用命令
df -k
可以查看修改后的文件系统空间值。
---> Change/Show Characteristics of a Journaled File System
将光标移至需要修改的文件系统,并按下回车键,屏幕显示如下(下表中各字段值为示例):
*******************************************************
Change / Show Characteristics of a Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
File system name /
NEW mount point [/]
SIZE of file system (in 512-byte blocks) [98304]
Mount GROUP [bootfs]
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [/] +
Start Disk Accounting? no +
Fragment Size (bytes) 4096
Number of bytes per inode 2048
Compression algorithm no
Large File Enabled false
Allocation Group Size (MBytes) 8
**************************************************************
2. 将光标直接定位于“SIZE of file system (in 512-byte blocks) [98304]”,把此文件系统当前定义的总空间值(例中为98304)改为需要的大小(注意:这里填写的数值以512字节为单位),按下回车键,命令运行结束后修改后的文件系统空间值立即生效。此操作不需重启系统。
3. 使用命令
df -k
可以查看修改后的文件系统空间值。