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.

. () 4 (page frames). 4 . .

, , . , , .

. . (, , ), . .

IBM , RS/6000 Kingstone.

:

256

=2;

256

=+1.25(-256)

- ; - .

.

lsps -a 70% .

: , . :

# lsps -a
Page Space
Physical Volume
Volume Group
Size
%Used
Active
Auto 
Type
hd6 
hdisk0 
rootvg 
64MB
44%
yes 
yes 
lv 
paging00 
hdisk1 
uservg 
64MB 
 9%
yes 
yes 
lv 
paging01 
hdisk1 
uservg 
16MB 
86%
yes 
yes 
lv

paging01 ( ), , paging00 .

, . , .

. (hd6) hdisk0 ( ).

:

1. .
2. , .

SMIT lsps -a.

, , SMIT, :

# lsdev -Cc memory
# lsattr -I -l sys0

, , SMIT, /etc/swapspaces

# pg /etc/swapspaces
hd6:
    dev=/dev/hd6
paging00:
    dev=/dev/paging00

( ).

: .

: . ( ).

: ( , )

: 1. .
2. ( ).
3. .
4. .

: (hd6) .

1. lsps.
2. /etc/swapspaces.

, . , , ( ) , .

.

, , , - .

( ).

:

1. - ( rootvg).
2. - .
3. () - . , .

:

, . , -, -, , .

. , .

, , n , n - , .

. , . .

:

;
;
;
rootvg.

:

;
, .

, . AIX 3 1/2" ( 1.44 2.88) 5 1/4".

3 1/2" /dev/fd0. 3 1/2" 5 1/4" /dev/fd1.

format fdformat:

format /dev/fd0 .

( -d drive) ( -l).

fdformat /dev/fd0 . -h.

flcopy.

DOS dosdir, dosread doswrite.

.

:

1/4" QIC-120 (120), QIC-150 (150), QIC-525 (525) QIC-1000. - QIC-24 (44);
4 (2 4);
8 (2.3 5);
1/2" 9- 1600bpi 6250bpi.

/dev/rmtX, X - .

/dev/rmtX.1 /dev/rmtX.7. , :