span style="mso-tab-count: 2"> 3.5 inch +


F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do

1. , , , , lsdev -CH .
2. , , , part number , lscfg -v
3. lsattr -E -I sys0, .

, :

for DEV in $(lsdev -CF name)
do
ECHO $(lsdev -CI $DEV -F "NAME LOCATOR") >> /tmp/d.log
lsattr -EHI $DEV >> /tmp/d.log
done
lscfg -v >> /tmp/d.log

: PCI, ISA , .

cfgmrg , , MCA, PCI SCSI. . , , ASCII .

:

TTY (RS232 RS422)


(, , - - ...)
(dump, IBM 3151, DEC,...)

SMIT Add TTY TTY.

login:

disable ,
enable , , getty.
delay , ,
share ( ..)

/ SMIT

( )

) <Ctrl+D>;
) Setup;
) : <Ctrl+j>, stty sane, <Ctrl+j>, (log of/on).

stty -a < /dev/tty n
stty sane echo < /dev/tty n

,

kill -9 pid_of_login_shell

pid_of_login_shell ps -ef
login_shell - shell'.

1. .
2. Setup .
3. lscfg .

( , , ).

. , , ..

:

;
;
(, ) .

(qprt, lp lpr) /var/spool/lpd/qdir ( , /var/spool/qdaemon).

qdaemon, , .

, , qdaemon (piobe). , qdaemon .

qdaemon /etc/qconfig. (stanza) ( ) .

/etc/qconfig

lp0:                    * 1    1  
      device=lp0dev
      discipline=fcfs
lp0dev:
      file=/dev/lp0
      backend=/usr/lib/lpd/piobe
      header=group
      trailer=never
      feed=never
lpq:                    * 1    2- 
      device=lpqdev1, lpqdev2
lpqdev1:
      file=/dev/lp1
      backend=/usr/lib/lpd/piobe
lpqdev2:
      file=/dev/lp2
      backend=/usr/lib/lpd/piobe
ps:                     * 2    1 
      device=psdev
psdev:
      file=/dev/lp3
      backend=/usr/lib/lpd/piobe
asc:
      device=ascdev
ascdev:
      file=/dev/lp3
      backend=/usr/lib/lpd/piobe

( 20 ) . /etc/qconfig , . ().

, (discipline). :

fcfs - , , .
sjn , .

( 20 ), . backend, (, piobe).

:

access write both ( )
header never always, group
trailer never always, group
feed never Integer
aling FALSE TRUE

,

/var/spool/lpd/qdir .
/etc/qconfig , , .
/var/spool/qdaemon .
/var/spool .
/var/spool/lpd/stat qdaemon . SMIT.

.

UNIX . . AIX , UNIX System V, BSD AIX.

                     SYSTEM V     BSD     AIX
      lp           lpr     qprt
      lpstat       lpq     qchk 

.
on-line ready.
, .
/etc/qconfig.
qdaemon ( qdaemon). stopsrc -s qdaemon ( ), startsrc -s qdaemon.

smit chpq.

smit rmpq. , .

SMIT

( , , ) smit pqmanage.

DEV_BUSY . , . , , qdaemon . : , kill () , .
DEV_WAIT . , offline ( , , ..)
DOWN . , . .
OPR_WAIT . , (, ) .. .
QUEUED .
READY .
RUNNING .
UNKNOWN . , , DEV_WAIT.

AIX Version 4

" " AIX :

;
;
;
;
;
Logical Volume Manager (LVM).

. .

UNIX

(partition). . . . , , . , . , . .

LVM

AIX ( ) Logical Volume Manager (LVM).

:

;
;
;
;
;
.

( ). , . /dev /dev/hdiskn. , .

. . 4 . :

L = SV/1016,

L - ;
SV - ;
1016 - .

- AIX. (), . .

(, SCSI ) .

, root (rootvg) , . rootvg .

:

;
;
;
;
.

, .

.

varyoffvg , .

(VGDA)

(VGDA) - , . VGDA (+ ).

VGDA, (varyonvg), . 51% VGDA. .

: . .

. AIX .

. . . , SMIT.

, , .

/ 4 ( 1- 256- ).

(RAID 1)

. 2- 3- ( ) - ( ). IBM - 5 .

.

:

1. - . . - , . (mirror write consistency option).
2. - , . , , .

(RAID 0)

(striping) - , ( ) , -.

. .

:

1. .
2. , .
3. 2 .
4. SCSI ( SSA).
5. .

Logical Volume Manager / . - .

(Intra-physical volume allocation policy) , . : , . , - .

(Inter-physical volume allocation policy) , . ( ).

:

( , ) ( ).

255
32
1016 , 256
256
32512

:

;
;
;
;
(raw device).

, rootvg , ( , ). rootvg , , , .

- . () .

.

( ).

- , (boot image).

Raw device - . , , , raw device .

:

;
.

AIX :

jfs
cdrfs CD-ROM -
nfs

, , .

( ).
, , , , , .
.
, , .
.
.

AIX Version 4

AIX :

/ (root) = /dev/hd4 . , , ,
/usr = /dev/hd2 , . .
/var = /dev/hd9var .
/home = /dev/hd1 . .
/tmp = /dev/hd3 . .

/etc/filesystems

/etc/filesystems . (stanza). , .

:

check fsck . True .
dev , , , .
mount mount . :

automatic
true mount all.
false

type , mount -t.
vfs (, nfs)
vol mkfs (label) .
log ( JFS).

, , . .

, , ( nfs ). "" .

SMIT , .

, , /dev. .

, , , .

, system .

root .

AIX , 4. , UNIX, 512 .

() , (, , , inodes ( ), ) , .

. , 31 .

inodes, (, , , , (ID) / , // ). , .

: inodes , , .

, 4. , 2 2. .

- ( 512, 1024, 2048 4096 ). .

AIX . ( 2 ), , .

.

: root .

( ).

:

1. .
2. sync, . inodes jfslog (/dev/hd8) 4. . . .
3. COMMIT, jfslog inodes.
4. sync.

, .

lsfs. /etc/filesystems .

lsfs (NFS) CD-ROM.

# lsfs
Name Nodename Mount Pt VFS Size Options Auto
/dev/hd4 - / jfs 8192 - yes
/dev/hd1 - /home jfs 90112 - yes
/dev/hd2 - /usr jfs 507904 - yes
/dev/hd9var - /var jfs 8192 - yes
/dev/hd3 - /tmp jfs 16384 - yes
/dev/cd0 - /infocd cdrfs ro yes
/dev/lv00 - /home/john jfs 8192 rw yes

lsfs :

lsfs [-q][-c|-l][-v vfstype|-u mountgrp] file_system

, -q ,