Professional Documents
Culture Documents
Aix LVM Intro 20130311
Aix LVM Intro 20130311
sina@
Agenda
LVM
Components of LVM Mirroring Striping Backup LV & VG How to mirror the rootvg
Components of LVM
Overview
Components of LVM
Physical volumes
Components of LVM
The structure of PV
Components of LVM
PVID
1. AIX ODM is used to attach an hdiskx name to PVID of a disk. 2. The PVID is the soft "serial number" of a disk that is created. 3. The PVID can be obtained by issuing: #chdev -l hdiskX -a pv=yes #lspv hdisk0 hdisk1 00c9c7c56ca27a2a 00c9c7c5018928b6 rootvg rootvg active active
Components of LVM
PV Layout
Starting Sector
0 1 2 7 8 22 64 70 71
Description
bootrecord Configuration MWC cache LVM bad block bad block length config backup LVM backup bad block backup
Starting Sector
120 128
Description
concurrent config VGDA / VGSA
Components of LVM
Volume Groups
Components of LVM
Logical Volumes
Components of LVM
FileSystem
inode
10
Agenda
LVM
Components of LVM Mirroring Striping Backup LV & VG How to mirror the rootvg
11
Mirroring
Mirror
1. Each logical volume may have two or three mirrored copies 2. Only logical volumes are mirrored
hdisk0 PP1 PP2 hdisk1 PP1 PP2 hdisk2 PP1 PP2
LP1 LP2
12
Agenda
LVM
Components of LVM Mirroring Striping Backup LV & VG How to mirror the rootvg
13
Striping
Stripe
As known as RAID 0, The Striping is a technology that was developed to achieve I/O performance gain.
14
Agenda
LVM
Components of LVM Mirroring Striping Backup LV & VG How to mirror the rootvg
15
Backup LV&VG
Backup LV
16
Backup LV&VG
Backup VG
17
Agenda
LVM
Components of LVM Mirroring Striping Backup LV & VG How to mirror the rootvg
18
Why ?
To provide the continuous operation of the AIX operating system in the event that a disk that is part of the operating system experiences failure, and there exists an active mirrored copy of the operating system on some other disk.
To provide the ability to boot more than one disk of the rootvg in the event that another boot disk has failed. In some cases, the ability to boot from an alternate disk may require some user intervention.
19
How to do it ?
1.# extendvg rootvg hdiskX 2.# chvg -Qn rootvg 3.# mirrorvg -s rootvg 4.# syncvg -v rootvg 5.# bosboot a 6.# bootlist -m normal hdisk0 hdiskX 7.# bootlist -m normal -o
20
Thank You
SINA@
Make Presentation much more fun