Академический Документы
Профессиональный Документы
Культура Документы
00c0e90dce6c290a
rootvg
active
hdisk1
00cf405ea5c630a9
rootvg
active
hdisk3
00cf405ea25a9e70
vg0
active
hdisk4
00cf405ea25a9f84
None
hdisk5
00cf405ea5ce7f72
None
hdisk6
00cf405ea5ce8085
None
2. Create a Logical Volume with a JFS2 Filesystem that will be automatically mounted on the /store mountpoint.
# crfs -v jfs2 -A yes -g vg0 -m /store -a size=1G
File system created successfully.
1048340 kilobytes total disk space.
New File System size is 2097152
-v Filesystem type
-A Automount at boot
-g VG in which the LV will reside
-m mount point
# mount /store
# df -g /store
Filesystem
GB blocks
/dev/fslv07
1.00
Free %Used
1.00
1%
1% /store
512
PP SIZE:
64 megabyte(s)
LPs:
16
PPs:
32
vg0
hdisk3:1-7
hdisk3:8
loglv01:1:1
hdisk3:9
fslv07:1:1
hdisk3:10
fslv07:2:1
hdisk3:11
fslv07:3:1
hdisk3:12
fslv07:4:1
hdisk3:13
fslv07:5:1
hdisk3:14
fslv07:6:1
hdisk3:15
fslv07:7:1
hdisk3:16
fslv07:8:1
hdisk3:17
fslv07:9:1
hdisk3:18
fslv07:10:1
hdisk3:19
fslv07:11:1
hdisk3:20
fslv07:12:1
hdisk3:21
fslv07:13:1
hdisk3:22
fslv07:14:1
hdisk3:23
fslv07:15:1
hdisk3:24
fslv07:16:1
hdisk3:25-31
hdisk4:1-7
hdisk4:8
loglv01:1:2
hdisk4:9
fslv07:1:2
hdisk4:10
fslv07:2:2
hdisk4:11
fslv07:3:2
hdisk4:12
fslv07:4:2
hdisk4:13
fslv07:5:2
hdisk4:14
fslv07:6:2
hdisk4:15
fslv07:7:2
hdisk4:16
fslv07:8:2
hdisk4:17
fslv07:9:2
hdisk4:18
fslv07:10:2
hdisk4:19
fslv07:11:2
hdisk4:20
fslv07:12:2
hdisk4:21
fslv07:13:2
hdisk4:22
fslv07:14:2
hdisk4:23
fslv07:15:2
hdisk4:24
fslv07:16:2
hdisk4:25-31
The lsvg command shows the mapping (-M) of the hdisks Physical Partitions to the Logical Partitions of the Logical Volume fslv07 in the following format.
Disk Name.
LV Name
hdisk4:9
|
Physical Partition 9
|
|
Logical Partition 1
So we can see from this line, that the second copy of the Logical Partition no. 1 of the Logical Volume fslv07 resides on the Physical Partition no. 9 of hdisk4.
Another possibility is to display the mapping on a LV level using the lslv command.
# lslv -m fslv07
fslv07:/store
LP
PP1
PV1
PP2
PV2
0001
0009 hdisk3
0009 hdisk4
0002
0010 hdisk3
0010 hdisk4
0003
0011 hdisk3
0011 hdisk4
0004
0012 hdisk3
0012 hdisk4
0005
0013 hdisk3
0013 hdisk4
0006
0014 hdisk3
0014 hdisk4
0007
0015 hdisk3
0015 hdisk4
0008
0016 hdisk3
0016 hdisk4
0009
0017 hdisk3
0017 hdisk4
0010
0018 hdisk3
0018 hdisk4
0011
0019 hdisk3
0019 hdisk4
0012
0020 hdisk3
0020 hdisk4
0013
0021 hdisk3
0021 hdisk4
0014
0022 hdisk3
0022 hdisk4
0015
0023 hdisk3
0023 hdisk4
0016
0024 hdisk3
0024 hdisk4
PP3
PV3
= Mon Mar
5 17:30:29 2012
5 17:42:04 2012