linux7缩写LV大小,linux,能看到某个lv实际使用大小吗

[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 ~]$收起

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值