Professional Documents
Culture Documents
5.2
Unit objectives
IBM Power Systems
Physical storage
Logical storage
File systems
Directories
Files
Managed by
Logical Volume Manager (LVM)
Partition 1
Partition 2
Partition 4
Partition 5
Partition 3
Problems:
Fixed partitions
Expanding size of the partition
Limitation on size of a file system and a file
Contiguous data requirement
Time and effort required in planning ahead
Physical
partitions
(PPs)
Logical
partitions
(LPs)
1
2
3
4
5
6
x
y
z
Physical
volumes
(PVs)
Logical
volume (LVs)
Volume
group
write(data)
;
Application
Physical storage
IBM Power Systems
Volume
group A
PV1
Volume
group B
PV2
PP1
PP2
PP3
PP4
PP5
PP6
PV3
PV4
Physical
volume
/dev/hdiskn
PV5
PPn
-t factor
32
1016
128
2
4
16
8
2032
4064
64
32
2
4
8
16
N/A
N/A
4
2
N/A
N/A
8128
16256
32512
65024
16
8
4
2
8
16
32
64
Volume groups
IBM Power Systems
Original
Big
Scalable
Limits
Volume Group
Type
Max
PVs
Max LVs
Max PP
Size
Original
32
256
32512
(1016 * 32)
1 GB
Big
128
512
130048
(1016 * 128)
1 GB
Scalable
1024
4096
2097152
128 GB
rootvg
PV1
datavg
PV2
PV3
One-disk VG
VGDA
VGDA
Two-disk VG
VGDA
VGDA
Three-disk or more
VG
VGDA
VGDA
VGDA
VGDA
VGDA
Logical storage
IBM Power Systems
Physical volumes
1
7
13
19
25
31
35
41
47
2
8
14
20
26
32
36
42
48
3
9
15
21
27
33
37
43
49
4
10
16
22
28
34
38
44
50
1
7
13
19
25
31
35
41
47
2
8
14
20
26
32
36
42
48
3
9
15
21
27
33
37
43
49
Logical
volume
Logical
partitions
4
10
16
22
28
34
38
44
50
/admin
hd4
/ (root)
home
hd1
opt
sbin
lpp
proc
usr
mnt
etc tmp
hd10opt
hd2
hd9var
hd3
/
csm
freeware
bin
lib
sbin
/etc/filesystems
IBM Power Systems
/:
dev =
vol =
mount
check
vfs =
log =
type
/home:
dev =
vol =
mount
check
vfs =
log =
/dev/hd4
root
= automatic
= false
jfs2
/dev/hd8
= bootfs
/dev/hd1
/home
= true
= true
jfs2
/dev/hd8
/home/team01:
dev = /dev/fslv00
vfs = jfs2
log = /dev/loglv00
mount
= true
options
= rw
account
= false
Mount
IBM Power Systems
What to
mount
Where to
mount it
Before
After
home
home
liz
john
patsie
data
doc
liz
john
patsie
.profile
.exrc
myscript
.profile
.exrc
myscript
data
doc
Before
After
home
home
liz
john
reports
patsie
liz
john
patsie
.profile
.exrc
pgms
.profile
.exrc
myscript
.profile
.exrc
myscript
data
doc
data
doc
## lsfs
lsfs
Name
Name
/dev/hd4
/dev/hd4
/dev/hd1
/dev/hd1
/dev/hd2
/dev/hd2
/dev/hd9var
/dev/hd9var
/dev/hd3
/dev/hd3
/proc
/proc
/dev/hd10opt
/dev/hd10opt
/dev/hd11admin
/dev/hd11admin
/dev/fslv00
/dev/fslv00
Nodename
Nodename
-------------------
Mount
Mount Pt
Pt
//
/home
/home
/usr
/usr
/var
/var
/tmp
/tmp
/proc
/proc
/opt
/opt
/admin
/admin
/db2
/db2
VFS
Options
VFS Size
Size
Options
jfs2
jfs2 1966080
1966080 --jfs2
jfs2 131072
131072 --jfs2
jfs2 4587520
4587520 --jfs2
jfs2 655360
655360 --jfs2
jfs2 393216
393216 --procfs
-procfs ---jfs2
jfs2 524288
524288 --jfs2
jfs2 262144
262144 --jfs2
jfs2 262144
262144 rw
rw
Auto
Auto Accounting
Accounting
yes
yes no
no
yes
yes no
no
yes
yes no
no
yes
yes no
no
yes
yes no
no
yes
yes no
no
yes
yes no
no
yes
yes no
no
no
no no
no
## lsvg
lsvg -l
-l rootvg
rootvg
rootvg:
rootvg:
LV
LV NAME
NAME
hd5
hd5
hd6
hd6
hd8
hd8
hd4
hd4
hd2
hd2
hd9var
hd9var
hd3
hd3
hd1
hd1
loglv00
loglv00
hd11admin
hd11admin
fslv00
fslv00
TYPE
TYPE
boot
boot
paging
paging
jfs2log
jfs2log
jfs2
jfs2
jfs2
jfs2
jfs2
jfs2
jfs2
jfs2
jfs2
jfs2
jfs2log
jfs2log
jfs
jfs
jfs2
jfs2
LPs
LPs
11
88
11
15
15
35
35
55
33
11
11
22
22
PPs
PPs
22
16
16
22
30
30
70
70
10
10
66
22
22
44
44
PVs
PVs
22
22
22
22
22
22
22
22
22
22
22
LV
LV STATE
STATE
closed/syncd
closed/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
open/syncd
closed/syncd
closed/syncd
open/syncd
open/syncd
closed/syncd
closed/syncd
MOUNT
MOUNT POINT
POINT
N/A
N/A
N/A
N/A
N/A
N/A
//
/usr
/usr
/var
/var
/tmp
/tmp
/home
/home
N/A
N/A
/admin
/admin
/db2
/db2
Checkpoint (1 of 3)
IBM Power Systems
5. V______ G______
1. V______ G______
D ______ A______
VGDA
2. P______ P ______
3. L_____ P______
4. L______ V_______
6. P______ V______
Checkpoint solutions (1 of 3)
IBM Power Systems
5. Volume Group
1. Volume Group___
Descriptor Area__
VGDA
2. Physical Partition
3. Logical Partition
4. Logical Volume
6. Physical Volume
Checkpoint (2 of 3)
IBM Power Systems
Checkpoint solutions (2 of 3)
IBM Power Systems
Checkpoint (3 of 3)
IBM Power Systems
Size
Size Options
Options
294912
294912 --32768
-32768
-3309568
3309568 --65536
-65536
-131072
131072 --163840
163840 --ro
ro
32768
rw
32768
rw
262144
262144 ---
Auto
Auto
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
Accounting
Accounting
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
11. With which logical volume is the /home file system associated?
_____________________________________________________
12. What type of file systems are being displayed?
_____________________________________________________
13. What is the mount point for the file system located on the /dev/hd4 logical
volume? _____________________________________________
14. Which file system is used primarily to hold user data and home directories?
_____________________________________________________
Checkpoint solutions (3 of 3)
IBM Power Systems
Size
Size Options
Options
294912
294912 --32768
-32768
-3309568
3309568 --65536
-65536
-131072
131072 --163840
163840 --ro
ro
32768
rw
32768
rw
262144
262144 ---
Auto
Auto
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
Accounting
Accounting
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
no
11. With which logical volume is the /home file system associated?
/dev/hd1
12. What type of file systems are being displayed?
Enhanced journaled file systems (JFS2), and CD-ROM (CDRFS)
13. What is the mount point for the file system located on the /dev/hd4 logical
volume?
/
14. Which file system is used primarily to hold user data and home directories?
/home
Exercise 7
IBM Power Systems
System
storage
Unit summary
IBM Power Systems