AIX里如何查看文件系统属于哪个VG?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AIX里如何查看文件系统属于哪个VG?相关的知识,希望对你有一定的参考价值。
[email protected]/oracle/script>df -kFilesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 5242880 5036024 4% 10173 1% /
/dev/hd2 2359296 195332 92% 45273 49% /usr
/dev/hd9var 458752 122540 74% 8244 23% /var
/dev/hd3 8388608 1993952 77% 84 1% /tmp
/dev/hd1 65536 65180 1% 5 1% /home
/dev/hd11admin 131072 130692 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 458752 206976 55% 8777 16% /opt
/dev/livedump 262144 261776 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20971520 16292728 23% 21414 1% /oracle
[email protected]/oracle/script>df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 5.00 4.80 4% 10173 1% /
/dev/hd2 2.25 0.19 92% 45273 49% /usr
/dev/hd9var 0.44 0.12 74% 8244 23% /var
/dev/hd3 8.00 1.90 77% 84 1% /tmp
/dev/hd1 0.06 0.06 1% 5 1% /home
/dev/hd11admin 0.12 0.12 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 0.44 0.20 55% 8777 16% /opt
/dev/livedump 0.25 0.25 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20.00 15.54 23% 21414 1% /oracle
[email protected]/oracle/script>
[email protected]/oracle/script>lslv -L fslv00
LOGICAL VOLUME: fslv00 VOLUME GROUP: oravg
LV IDENTIFIER: 00f681f900004c0000000139b9140287.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 640 PP SIZE: 32 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 640 PPs: 640
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 1024
MOUNT POINT: /oracle LABEL: /oracle
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
DEVICESUBTYPE : DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None
[email protected]/oracle/script>lslv -L hd3
LOGICAL VOLUME: hd3 VOLUME GROUP: rootvg
LV IDENTIFIER: 00f74ea000004c0000000137493c1224.7 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 64 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 128 PPs: 128
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: center UPPER BOUND: 32
MOUNT POINT: /tmp LABEL: /tmp
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
查看一个VG由哪些LV组成?
[email protected]/oracle/script>lsvg -l oravg
oravg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv00 jfs2 640 640 1 open/syncd /oracle
查看一个VG由哪些hdisk组成?
[email protected]/oracle/script>lsvg -p oravg
oravg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk9 active 957 317 192..00..00..00..125
以上是关于AIX里如何查看文件系统属于哪个VG?的主要内容,如果未能解决你的问题,请参考以下文章