inode;
-c -l
,
, ;
-v
-u
(
,
).
lsfs . smit fs.
mount .
# mount
node | mounted | mounted over | vfs | date | options |
/dev/hd4 | / | jfs | Jul 11 20:14 | rw,log=/dev/hd8 | |
/dev/hd2 | /usr | jfs | Jul 11 20:15 | rw,log=/dev/hd8 | |
/dev/hd9var | /var | jfs | Jul 11 20:15 | rw,log=/dev/hd8 | |
/dev/hd3 | /tmp | jfs | Jul 11 20:15 | rw,log=/dev/hd8 | |
/dev/hd1 | /home | jfs | Jul 11 20:16 | rw,log=/dev/hd8 | |
/dev/lv00 | /home/john | jfs | Jul 11 20:16 | rw,log=/dev/hd8 |
SMIT :
SMIT -> File System -> List all Mounted File Systems
SMIT, .
.
# smit crjfslv
Add a File System on a Previously Defined Logical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name
* MOUNT POINT
[]
+
Mount AUTOMATICALLY at system
restart no
+
PERMISSIONS
read/write
+
Mount OPTIONS
[]
+
Start Disk Accounting?
no
+
Fragment Size (bytes) 4096
+
Number of bytes per inode
4096
+
Compression algorithm
no
+
F1=Help
F2=Refresh
F3=Cancel
F4=List
F5=Reset
F6=Command
F7=Edit
F8=Image
F9=Shell
F10=Exit
Enter=Do
# smit crjfs
Add a Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Volume group name
rootvg
* SIZE of file system (in 512-byte blocks)
[]
#
* MOUNT POINT
[]
Mount AUTOMATICALLY at system restart
no
+
PERMISSIONS
read/write
+
Mount OPTIONS
[]
+
Start Disk Accounting?
no
+
Fragment Size (bytes) 4096
Number of bytes per inode
4096
Compression algorithm
no
F1=Help
F2=Refresh
F3=Cancel
F4=List
F5=Reset
F6=Command
F7=Edit
F8=Image
F9=Shell
F10=Exit
Enter=Do
, SMIT, crfs .
crfs mkfs. mkfs, crfs , , mklv, , mkfs ODM /etc/filesytems .
crfs :
-g volgrp - ,
. ,
;
-a size=SIZE - 512-
;
-m mntpt -
(
).
;
-a yes|no -
.
(. )
.
mount=true /etc/filesystems.
-p rw|ro - .
/ (rw)
(ro).
(Mount Options)
setuid setgid ( nosuid)
( nodev).
-a fragment=size -
.
512, 1024, 2048 4096. - 4096
.
-a nbpl=value -
inode. inodes
.
512, 1024, 2048, 4096, 8192 16384.
- 4096 .
-a compress={no|LZ} -
.
- no.
# smit mountfs
Mount a File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
FILE SYSTEM name
[]
DIRECTORY over which to mount
[]
TYPE of file system
FORCE the mount?
no
REMOTE NODE containing the file system
to mount
[]
Mount as a REMOVABLE file system?
no
Mount as a READ-ONLY system?
no
Disallow DEVICE access via this mount?
no
Disallow execution of SUID and sgid programs
in this file system?
no
F1=Help
F2=Refresh
F3=Cancel
F4=List
F5=Reset
F6=Command
F7=Edit
F8=Image
F9=Shell
F10=Exit
Enter=Do
, system .
, /etc/filesystems.
root .
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
/home
NEW mount point
[/home]
SIZE of file system (in 512-byte blocks)[8192]
Mount GROUP
[]
Mount AUTOMATICALLY at system restart
yes
+
PERMISSIONS
read/write
+
Mount OPTIONS
[]
+
Fragment Size (bytes) 4096
Number of bytes per inode
4096
Compression algorithm
no
F1=Help
F2=Refresh
F3=Cancel
F4=List
F5=Reset
F6=Command
F7=Edit
F8=Image
F9=Shell
F10=Exit
Enter=Do
( ). .
.
, SMIT, rmfs. , , ODM /etc/filesystems. , , .
:
;
;
;
;
.
, AIX , . , .
df. -k.
.
, :
/var/adm/wtmp
/var/spool/*.*
/smit.log
/smit.script
/etc/security/failedlogin
/var/adm/sulog
/var/adm/wtmp /var/adm/failedlogin who -a _. .
() Berkeley Disk Quota System .
:
;
;
(, ).
:
Soft limits - 1KB , (grace period).
Hard limits - 1KB ,
Grace period - soft limits . - 7 .
: , root. quota .
1 - , , /etc/filesystems : : quota=userquota : quota=userquota,groupquota
2 - edquota. , .
edquota :
edquota [-u username|-g groupname] [-p prototype]
: -u username; -g groupname; -p ( , ), .
: edquota EDITOR ( , export EDITOR=/usr/bin/vi).
3 - Grace Period Grace Period edquota : -t - ; -tg - ; -tu - .
Grace Period , , . Grace Period 1- , Grace Period . 0 Grace Period .
quotaon : -u - ; -g - ; -a - . , . .
quotaoff. ( -a) ( ).
quotacheck . repquota .
defragfs:
/usr/sbin/defragfs [-q|-r] FILESYSTEM
-q ; -r , .
fsck. :
fsck [-p|-y|-n] [-f] [FILE SYSTEM]
-p . SMIT . -y -n yes no .
: , inodes, , , , , .
, , /etc/filesystems check true. /lost+found.
lsfs.
/etc/filesystem.
df
.
mount.