Chinaunix

标题: lvextend 无法扩容,但是vg里空间足够? [打印本页]

作者: cnchin    时间: 2008-12-03 13:39
标题: lvextend 无法扩容,但是vg里空间足够?
系统:RHEL4 Update7 32bit
Volume group:
  --- Volume group ---
  VG Name               datavg
  System ID            
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  15
  VG Access             read/write
  VG Status             resizable
  MAX LV                256
  Cur LV                11
  Open LV               11
  Max PV                256
  Cur PV                2
  Act PV                2
  VG Size               3.54 TB
  PE Size               4.00 MB
  Total PE              928165
  Alloc PE / Size       808960 / 3.09 TB
  Free  PE / Size       119205 / 465.64 GB
  VG UUID               DTOGkT-6J8k-4hyM-TSCD-FerN-znLD-Cx418V

Logical volume:
  LV Name                /dev/datavg/scorr
  VG Name                datavg
  LV UUID                i5cSPh-NGRJ-hTLw-RHuz-UgVr-WauN-0l7MZO
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.46 TB
  Current LE             384000
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     2048
  Block device           253:14

希望把datavg中的scorr扩容:
[root@a2 ~]# lvextend -t -L +300G /dev/datavg/sc
  Test mode: Metadata will NOT be updated.
  Using stripesize of last segment 512.00 KB
  Extending logical volume scorr to 1.76 TB
  Insufficient suitable allocatable extents for logical volume sc: 71858 more required

问题是:  datavg里面明明还有 Free  PE / Size       119205 / 465.64 GB 这么空间空余,为什么lvextend还报错?
对datavg里面的其他LV进行lvextend也是如此:
[root@a2 ~]# lvextend -t -L +300G /dev/datavg/hc
  Test mode: Metadata will NOT be updated.
  Using stripesize of last segment 512.00 KB
  Extending logical volume hcorr to 1.46 TB
  Insufficient suitable allocatable extents for logical volume hc: 71858 more required
作者: cnchin    时间: 2008-12-04 13:21
不知道是不是和PE Size  4.00 MB设得比较大有关系?
作者: bluenight_angel    时间: 2008-12-07 14:56
怎么没人来回答一下  楼主解决了的话能不能给下如何解决的办法?
作者: bluenight_angel    时间: 2008-12-07 14:57
还有  是不是RHEL4的问题呢?读了相关的文档了没  看看关于LVM有什么特别的地方。。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2