1、创建
[tydic91:root:/]#smitty crfs
Add a File System
Move cursor to desired item and press Enter.
Add an Enhanced Journaled File System
Add a Journaled File System
Add a CDROM File System
按enter进入下一步:
[tydic91:root:/]#smitty crfs
Add an Enhanced Journaled File System
Move cursor to desired item and press Enter.
Add an Enhanced Journaled File System
Add an Enhanced Journaled File System on a Previously Defined Logical Volume
按enter进入下一步
Add an Enhanced Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name lv_data01 +
* MOUNT POINT [/u01/data]
Add an Enhanced Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name lv_data01 +
* MOUNT POINT [/u01/data]
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [] +
Block Size (bytes) 4096 +
Logical Volume for Log +
Inline Log size (MBytes) [] #
Extended Attribute Format Version 1 +
ENABLE Quota Management? no +
PERMISSIONS read/write +
Mount OPTIONS [] +
Block Size (bytes) 4096 +
Logical Volume for Log +
Inline Log size (MBytes) [] #
Extended Attribute Format Version 1 +
ENABLE Quota Management? no +
按ENTER完成
2、确认
[tydic91:root:/]#df -h
df: Not a recognized flag: h
Usage: df [-P] | [-IMitv] [-gkm] [-s] [filesystem ...] [file ...]
[tydic91:root:/]#df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.97 1.91 4% 5369 2% /
/dev/hd2 4.00 2.08 48% 37461 8% /usr
/dev/hd9var 1.00 0.93 7% 4395 2% /var
/dev/hd3 4.00 2.76 32% 2537 1% /tmp
/dev/hd1 4.00 4.00 1% 16 1% /home
/proc - - - - - /proc
/dev/hd10opt 0.12 0.02 87% 3441 44% /opt
[tydic91:root:/]#mgrcfg
ksh: mgrcfg: not found.
[tydic91:root:/]#cfgmgr
[tydic91:root:/]#df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.97 1.91 4% 5369 2% /
/dev/hd2 4.00 2.08 48% 37461 8% /usr
/dev/hd9var 1.00 0.93 7% 4395 2% /var
/dev/hd3 4.00 2.76 32% 2537 1% /tmp
/dev/hd1 4.00 4.00 1% 16 1% /home
/proc - - - - - /proc
/dev/hd10opt 0.12 0.02 87% 3441 44% /opt
[tydic91:root:/]#mount /u01/data
[tydic91:root:/]#df -h
df: Not a recognized flag: h
Usage: df [-P] | [-IMitv] [-gkm] [-s] [filesystem ...] [file ...]
[tydic91:root:/]#df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.97 1.91 4% 5369 2% /
/dev/hd2 4.00 2.08 48% 37461 8% /usr
/dev/hd9var 1.00 0.93 7% 4395 2% /var
/dev/hd3 4.00 2.76 32% 2537 1% /tmp
/dev/hd1 4.00 4.00 1% 16 1% /home
/proc - - - - - /proc
/dev/hd10opt 0.12 0.02 87% 3441 44% /opt
/dev/lv_data01 20.00 20.00 1% 4 1% /u01/data
OK,文件系统创建成功
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12350275/viewspace-689882/,如需转载,请注明出处,否则将追究法律责任。