[root@lg ~]# lvdisplay --- Logical volume --- LV Name /dev/VolGroup00/LogVol01 VG Name ...显示全部
[root@lg ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 9rXu9P-FhaV-Kr8X-8Uh3-rzbS-gs2p-uSrpIf
LV Write Access read/write
LV Status available
# open 1
LV Size 6.91 GB
Current LE 221
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID iuoaC6-8UMw-5SyI-iviN-gtPD-C53Q-26MtJw
LV Write Access read/write
LV Status available
# open 1
LV Size 992.00 MB
Current LE 31
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
[root@lg ~]#
-------------------------------------
LV的空间大小是可以使用 lvdisplay 查看。
至于LV划给informix作为数据空间后,可以用onstat -d查看其它已使用和剩于空间大小的。
[informix@lg ~]$ onstat -d
IBM Informix Dynamic Server Version 11.70.FC3 -- On-Line -- Up 16 days 03:29:47 -- 181984 Kbytes
Dbspaces
address number flags fchunk nchunks pgsize flags owner name
4b6f1028 1 0x70001 1 1 2048 N BA informix rootdbs
4b81d7f8 2 0x70001 2 1 2048 N BA informix plogdbs
4b81d9a0 3 0x60001 3 1 2048 N BA informix llogdbs
4b81db48 4 0x42001 4 1 2048 N TBA informix tempdbs
4b81dcf0 5 0x60001 5 1 2048 N BA informix datadbs
5 active, 2047 maximum
Chunks
address chunk/dbs offset size free bpages flags pathname
4b6f11d0 1 1 0 64000 54165 PO-B-- /informix.links/front/rootdbs
4b6f14a0 2 2 0 256000 447 PO-B-- /informix.links/front/plogdbs
4b6f16a0 3 3 0 512000 311947 PO-B-- /informix.links/front/llogdbs
4b6f18a0 4 4 0 512000 511947 PO-B-- /informix.links/front/tempdbs
4b6f1aa0 5 5 0 1024000 1014174 PO-B-- /informix.links/front/datadbs
5 active, 32766 maximum
NOTE: The values in the "size" and "free" columns for DBspace chunks are
displayed in terms of "pgsize" of the DBspace to which they belong.
Expanded chunk capacity mode: always
[informix@lg ~]$收起