免费注册 查看新帖 |

Chinaunix

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

[故障求助] 关于文件系统空间问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-03 14:15 |只看该作者 |倒序浏览
各位大哥们,我有个vg 里面包括2个pv,建了一个文件系统,是jfs的,而且还做了stripe,现在空间不够了,我在这个vg中增加了一个pv,能将这个pv的空间增加到这个fs中么?我试了好像不行啊。

论坛徽章:
0
2 [报告]
发表于 2006-08-03 14:27 |只看该作者
没有人帮帮我么?

论坛徽章:
0
3 [报告]
发表于 2006-08-03 14:28 |只看该作者
是啊,你试着把该文件系统对应的LV扩大看看,如果可以,你把fs扩大。否则你只能取消stripe

论坛徽章:
0
4 [报告]
发表于 2006-08-03 14:32 |只看该作者
取消stripe会影响fs的内容么?

论坛徽章:
0
5 [报告]
发表于 2006-08-03 14:37 |只看该作者
不能直接将新加的pv的空间加到文件系统中么?

论坛徽章:
0
6 [报告]
发表于 2006-08-03 15:21 |只看该作者
你怎么试的,把新的PV 加进VG,成功没?
扩fs大小,把错误提示贴出来看

论坛徽章:
0
7 [报告]
发表于 2006-08-03 15:33 |只看该作者
PV加到VG
然后扩FS
如果先建LV那先扩LV
smitty 进去做很简单

论坛徽章:
0
8 [报告]
发表于 2006-08-03 16:03 |只看该作者
我将pv加到vg中成功了,但是扩大fs的空间的时候不成功,然后我试着扩大lv的空间,也不成功,
命令:失败          stdout:是            stderr:否

在命令完成之前,附加指令可能出现在下面。

0516-1034 lquerypv:物理卷 hdisk0 中无足够物理分区。
0516-788 extendlv:不能扩充逻辑卷。


hdisk0是原来vg中的盘,我新加的hdisk4

论坛徽章:
0
9 [报告]
发表于 2006-08-03 17:23 |只看该作者
When extending a striped logical volume only the striping width (disks
         striped across) is used. If there is not enough partitions on the
         physical volumes, used for this striped logical volume, the extend of the logical volume fails.(man extendlv)
你可以重建文件系统或使用cplv(cplv后,当然要修改/etc/filesystems)来解决此问题。
If you are copying a striped logical volume and you have created the destination logical volume, with the mklv command using a different stripe block size and striping width, or the destination is not a striped logical volume, the new characteristics are maintained, and the data is copied from the source logical volume.(man cplv)

论坛徽章:
0
10 [报告]
发表于 2006-08-04 08:42 |只看该作者
多谢,不过问题是现在没有空间cplv了。真是麻烦,咳。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP