免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4794 | 回复: 8
打印 上一主题 下一主题

文件系统扩不了的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-24 14:53 |只看该作者 |倒序浏览
# df -g\r\nFilesystem    GB blocks      Free %Used    Iused %Iused Mounted on\r\n/dev/hd4           0.22      0.20    8%     1997     5% /\r\n/dev/hd2           7.00      1.33   82%    35412    11% /usr\r\n/dev/hd9var        1.97      1.43   28%     1534     1% /var\r\n/dev/hd3           1.00      0.47   53%     3635     4% /tmp\r\n/dev/hd1           0.50      0.03   95%    36485    77% /home\r\n/proc                 -         -    -         -     -  /proc\r\n/dev/hd10opt       1.19      0.17   86%    20257    33% /opt\r\n/dev/sunlv         2.12      0.43   80%       29     1% /SUN_BAK\r\n/dev/lv02          8.00      4.32   46%    52769     3% /user\r\n/dev/fslv01      100.00     11.87   89%      748     1% /backuptmp\r\n/dev/fslv00       50.00     22.19   56%      683     1% /ftphome\r\n# lsvg rootvg\r\nVOLUME GROUP:       rootvg                   VG IDENTIFIER:  000c204f00004c000000010bbd437218\r\nVG STATE:           active                   PP SIZE:        32 megabyte(s)\r\nVG PERMISSION:      read/write               TOTAL PPs:      1084 (34688 megabytes)\r\nMAX LVs:            256                      FREE PPs:       32 (1024 megabytes)\r\nLVs:                10                       USED PPs:       1052 (33664 megabytes)\r\nOPEN LVs:           9                        QUORUM:         1\r\nTOTAL PVs:          2                        VG DESCRIPTORS: 3\r\nSTALE PVs:          0                        STALE PPs:      0\r\nACTIVE PVs:         2                        AUTO ON:        yes\r\nMAX PPs per VG:     32512                                     \r\nMAX PPs per PV:     1016                     MAX PVs:        32\r\nLTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no\r\nHOT SPARE:          no                       BB POLICY:      relocatable\r\n\r\n我的/home文件系统已经95% rootvg 还有1个G的空余空间\r\n但我扩/home去扩不了\r\n错误如下:\r\nCommand: failed        stdout: yes           stderr: no\r\n\r\nBefore command completion, additional instructions may appear below.\r\n\r\n0516-404 allocp: This system cannot fulfill the allocation request.\r\n        There are not enough free partitions or not enough physical volumes\r\n        to keep strictness and satisfy allocation requests.  The command\r\n        should be retried with different allocation characteristics.

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2007-09-05 13:16 |只看该作者
rootvg做了镜像\r\n所以文件系统扩容是两个磁盘上一起扩copies,而rootvg有free pps不代表两块盘上都有free pp

论坛徽章:
0
3 [报告]
发表于 2007-09-05 13:37 |只看该作者
rootvg是mirror的,所以你看到的free pps有1GB,但是如果要用的话需要除以2,可以用的应该是16个pps即512MB。最多可以给home扩512MB。\r\n你可以用的命令:extendlv hd1 16\r\n将HOME扩到1个GB

论坛徽章:
0
4 [报告]
发表于 2007-09-05 18:17 |只看该作者
看报错不就知道了吗 ?

论坛徽章:
0
5 [报告]
发表于 2007-09-06 22:16 |只看该作者
看你的dev/fslv00       50.00     22.19   56%      683     1% /ftphome不是有那么多空间吗,减少几个G给/HOME不就得了吗?

论坛徽章:
0
6 [报告]
发表于 2007-09-07 09:02 |只看该作者
三楼说的很正确!顶!\r\n你可以通过下面的命令查看一下你的每块磁盘上的free空间\r\nlsvg -p rootvg\n\n[ 本帖最后由 柴火棍 于 2007-9-7 09:04 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2007-10-17 16:56 |只看该作者
对rootvg进行镜像时,部分lv会被忽略,所以两个同样的pv并不一定有同样多的free pps

论坛徽章:
0
8 [报告]
发表于 2007-10-17 23:47 |只看该作者
不是做ROOTVG镜像有LV被忽略,而是做了镜像之后又建了其它的LV,新建的LV不会被自动镜像,所以两个盘的容量会不一致。

论坛徽章:
0
9 [报告]
发表于 2007-10-18 08:47 |只看该作者
dump设备会被忽略,默认情况下dump和page在一个卷,此卷被忽略。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP