Professional Documents
Culture Documents
. i<??7)
5 :(physical volumes)-(VG)-(PPartitions)-(LV)-
(LP) ??+ ?
?pt? 4u
(PV),( hdisk0); )* X
VG PV (PP); f ??
VG (LV),LV PV , LV
PV ?6O[
_g ?
LV (LP), LV PP, LV ,
PP LP . 2=d? E
LV (),/
LV (JFS), JFS (4K)
.AIX4.1 , 4k .,
VG(rootvg), LV VG. ?Z c|M
. ?/
// LV ,(LVM).LVM
. G0Q '
1.LVM L b ?
LMV . VG/LV/PV
. k?S X q
1)ODM <s cR
2)VG (VGDescriptorArea) -? Y
VGDA , VG LV PV .VGDA
LVM .VGDA VG .AIX VGDA,
VGDA , PV LV . VGDA,
,VGDA VGDA VG . VG
,VGDA , VGDA .
VGDA ,. $h 6H
2. quorum ?
VG VGDA/VGSA. VGDA VG
.: Nf:??
VG PV VGDA JI N.
VG PV VGDA , 0 ?_O
VG PV VGDA / H/
quorum , VG PV ,
VGDA/VGSA ,. lw
C?_ M
VG quorum . quorum VG
.,.
,,. r=B ?
3. ? n
PP LV LP . LV ,
LV LP PP ,.AIX LVM
LV ., LV . ?U ?
mklv LV . LV
, mklvcopy .:
; LP PV PV .,
PV . . T
mirrorvg VG LV. VG LV
mklvcopy . mklvcopy , VG
.: r? 0b
,mirrorvg LV VG .mirrorvg LV
LV., mklvcopy . #*
smitty mirrorvg VG : n uE
1.bosboot RAM .
. L j
2.bosboot , NVRAM ,
, bootlist. <?
b 7KE??
. 4?
:/ PV / PV 95 ?]
6.3.1PV : iS?0
yfNW
a).,cfgmgr
,., root , lspv,.
#?!?
hdisk1nonenone ?.
hdisk100005264d21adb2enone s
b). lspv ,
: ~h zX-?
hdisk0000005265ac63976rootvg ??a" B
hdisk1nonenone J B
hdisk100005264d21adb2enone jU? a
, 6.3.2 PV LVM . g M?
c) .:
(subclass)/(type)/(parent name)/(
).,, pv=yes
PV: I?-@??
6.3.2 PV 9 i?
PV . PVID
PV:chdev -l hdisk1 -a pv=yes. PV . 4 U+?)
6.3.3 PV n q v?
chpv PV : Oz m L|
PV : PV PV LV PP
. PV PP .
hdisk1 :chpv -a n hdisk1,, n y . ? V -
PV : PV PV .
PV . PV
:chpv -v r pvname, PV VGDA VGSA , PV
quorum vary. VG PV VGDA
., r a .:chpv /tmp
,,/tmp . # >Vqv2?
6.3.4 PV I
PV ,. rmdev hdisk1
available defined :rmdev -l hdisk1., PV
ODM ,-d , ODM . +-?
6.3.5 PV 9 ??
PV VG LV .
PP . lspv . ? Efn
a) PV:,: "}
# lspv ? ]?
# lsdev -C -c disk A D r
b) PV : lspv : %NI^9*>
PV , PV VG . X ?
T $?
? w
d) PV PP : lspv -p hdisk1 PP LV
PP .: Nr * 9??
my ??
: G??!
PP RANGE PP |
REGION ??
MOUNTPOINT mount 5 ;| .?
?l ?
e) PP : lspv -M LV , I/O .
,: ?lt;AL bf?
? {
PP(,),
LV LP PP. ?Ul?
f) PV : LV PPs PV
VG PV. migratepv .: VG
.6.5.5 VG . VG
: 2P+<9i
1) VG , PV VG . lsvg -p rootvg .
; ? o'G~
4) rootvg PV , 5 ..
bootLV(hd5):lspv -l SrcDiskNum|grep hd5,, 5 .
, migratepv -l hd5 SrcDiskNum DstDiskNum(: VG
vary on,migratepv , LV,
cplv , rmlv ; root .).
bosboot (: bootLV PV
,,,.
bosboot , mkboot -c); mkboot -c . ?
6) F4 PV, PV; _ B;
9); ? s?
n?
h $*?
8|
. O Fh?
VG . PV ,VG //.
VG.m jXR?W }
6.4.2 VG jS?7?
vary on ,: [B?Z
chvg -an newvg. Q
J|?lt;
VG LVM ,VG ,: iZ O?
chvg -u newvg u }
PV VG VG PV . PV extendvg,
PV : >L ?
PV LV VG PV, LV
PV. VG PV, VG . BNg wP?
PV reducevg,VGDA
, PV ., reducevg
PV PVID. PVID 000005265ac63976
:reducevg newvg 000005265ac63976. 8 # +#
6.4.3 VG ?? 5
VG , LV
. ODM VG , VG
exportvg . VG ODM
. , VG , VG .
importvg VG , ODM .: myvg
:exportvg myvg; myvg:importvg -y myvg hdisk12 smitty
exportvg smitty importvg . VG ,importvg
, VG .
VG .-y VG ,,
. ??
LV .importvg .
VG ,exportvg .
VG Y X exportvg. Y VG
PV , VG X, X ODM VG
,,. exportvg
importvg VG . :lspv PV,varyoffvg
vg00,exportvg vg00,importvg -y cadsvg hdisk1,lspv lspv .
: LV,importvg LV .
LV ,,,
mount /etc/filesystems . ?(f^?
VG ,,VG .
VG , , :chps -a n
page_space_name,. ZD6Kc
9W
Pk6-
6.4.4 VG%<Z?r %
VG , varyonvg .
: ?$
1. VG PV VGDA ;
3%? E?
3. VGDA( quorum),varyon ,;
?[-'I_
+
varyonvg VG : Wg1
varyoffvg VG LV. LV (
unmounted ).varyoffvg -s VG .
VG:varyoffvg myvg. smitty varyoffvg, VG
. tP
6.4.5 VG r?N ?
VG PV :lsvg -p VGNAME..
I0,?3[?N
~gq ??}
6.4.6 VG zH L?lt;?
reorgvg VG LV PP . Q 7 G
reorgvg VG vary on . LV
chlv -r y . LV .:reorgvg
LV PP . VG PP.
reorgvg VG ,, VG LV.
smitty reorgvg . l , z?<
-i PV . PV . &\
6.4.7 VG D 0{O wu
syncvg LV ,: ?;?
7?@?
. ??
PV VG ,. LV
. LV , LP . LP
1 /2 PP. 0 ?
6.5.1 LV _U"
mklv LV, LV , LP , LV
, 128 LP.mklv : ?5 ?F
: 2`?
-c copies ,, 1 b 5 ?T
-i PV , PV ? t ?
-L LV ,. 127 , JFS,JFS
LV JFS mount C
(
-P modes LV W?
logform /dev/logdev. ?
-y newlv LV ,, 1-15 . VG
varyon ,.
PdDv . s?H $ ?
3 oldlv LV LP newlvsplitlvcopy
y newlv oldlv 2 oldlv newlv ?
6.5.7 LV LV 51 h??
hd5 LV ?;
hd6 LV ?}s\G?
hd8 -sP4(
hd4 6
hd2/usr ; ?6t ??
hd9var/var ; $- K_??
hd3/tmp ; .??
hd1/home . ?[-
[?% z6
??
AF}?
. A Gqc R
/.,,
(allocation group). i .AIX
:JFS/NFS/CDFS. JFS LV ., mount
.NFS . m {?
6.6.1JFS :i ////
,. t u
i : .JFS
nbpi(Num of bytes per i-node), i .JFS nbpi
512/1024/2048/131072.32768 AIX4.2 .
8M , nbpi 4096, 4096 i .
2048 , 2048 .JFS
16M(2 24 ) i . w=?&
:JFS i .
8M/16M/32M/64M. nbpi .: k[ N
:JFS 4 :512,1024,2048,4096
.JFS i , 28 . 0
2^28 . =L 7?;
JFS : . 512,
5122^24=8G. JFS(nbpi/fragment size/)
.=nbpi*2^24=fragment size*2^28. y l x
6.6.2 ~=?
3. VG; + y?qC
4.(). 4M , 4 2048
; ?-@V
6.. c=C X?
6.6.3Mount ?(?-
mount .
., mount mount , mount
mount. pwd , mount
,pwd . mount 111
. ?wo?
X
, mount true,
chfs A yes FILESYSTEM . u%d ? ?
6.6.4 : ?/?
1. mount mount ; o kg V?
4. F4 ,; '~
6.6.5 .,. M ,h ?
1. df ; : mI?
2.; t |3;?
NewBlocks ,. =x @-
smit : FR {?
1. smitty chjfs; L F
2.,; g???
3. SIZE of filesystem ,. l?
6.6.6 : \`8 d ?
1. , /usr. 4 ,cpio/
backup/tar/savevg; ?- o\G9e
2. 6.6.4 ; J?;?
3.,,. !?Uw?g
:,, df -k
. f "?
4.. eUG L?
6.6.7 ? 7?
fsck .: ?:
-f , mount,.
fsck umount . fsck
mount. mount clear, umount,
. umount,.
umount,. D H
-p ,.(-y
),,.
..,. 3?
-tFile fsck ,
.-t , fsck ,
.-p ,fsck .,fsck
. >?lt;H4@
Fsck , mount .
. f ) F?
,,fsck ,,.
,fsck .,
. :3 ? dr
Mount .,fsck
check (/etc/filesystem check=TRUE). ;
logformLOGNAME
? W O
:, LV ;
., umount
logform.logform ,
. log :lsvg l VGNAME. J?
6.6.9JFS :JFS LV
PV ,,.
JFS ., JFS . R7>P ?t
6.6.10 : 2G ,64
.4.2 ., 4MB
4096 , 4M 128K
. 32 . 132M 1024 1024 128K
.,132M 33 ( 1024 4K
). 2 . wR|?a"]?
:lsfs q FILESYS. bf . T U?
xH-1V.
. !h
, fsck . ?ZC U
,,,. x;
6.7.2 umount m $ l
umount.
mount : =M
1., fuser ,
ID: 5'?#?
, umount . %yD o
2..fuser ,
. genkex . c?D??
3. mount , umount ,
mount mount umount. ,hq ?,
4. umount ,fuer c
ID,-u . find .: <NK?H '
??b ?
6.8.1PV : C ?-?
lsdev ODM rA
chdev 0,+p1 #
mkdev .;BmP ;?
chpv PV dl?
lspv VG PV /?
migratepv PV PP PV OCR??
6.8.2VG : x ?
mirrorvg VG $?j[vS
unmorrorvg o HU?
mkvg VG ?}??
extendvg VG PV &??
reducevg VG PV o" k Bw
chvg VG
???
lsvg VG 0T . ?
importvg VG &u
7
exportvg VG |Vo;C ??
syncvg VG ? s?
varyonvg VG grZHc
varyoffvg VG r ?
2.8.3LV
, j-?
mklv LV
+` f?Z
lslv LV L N
rmlv LV
=?
extendlv LV I X ?P
chlv LV (
mklvcopy LV ?ynd
rmlvcopy LV ? 7 lD
chfs FS ]?
crfs FS
lsfs FS ? S 1
rmfs FS Ob $5
mount B ?
fsck ?{ 7 ?
df
Q??
1. While using the SMIT install menus to install an LPP, the response yes has
been selected for the option: EXTEND file systems if space needed. After
successfully installing the LPP, the /usr file system appears to be
unnecessarily large. Which of the following actions can be performed to
reduce the size of the /usr file system? b3 ?
B. Unmount, run defragfs /usr and the reducefs -size XXX /usr commands. ??n
C. Boot from mksysb tape and follow the procedure to reduce the file system. ;?0
?{
D. Update /etc/filesystems with the desired size for /usr and reboot the IDN ?_?
system. zV ?r
# Z ?
4. A system has been recovered from a hard disk failure and the failed disk
has been replaced with a new unformatted one. When the system
administrator varies on the volume group, an error message about a missing
or unavailable disk matches the one the system administrator replaced. Which
of the following commands will eliminate this error message? ?~b?
A. cfgmgr 6# ?
C. mkdev -1 hdisk3 ?a $