Chinaunix
标题:
扩fs报错,求助!!!
[打印本页]
作者:
whitecat_fah
时间:
2009-01-20 21:38
标题:
扩fs报错,求助!!!
目的扩大home fs。\r\n有一个rootvg,里面有两个pv hdisk0,hdisk1\r\n\r\nlsvg rootvg后看到\r\nPP SIZE: 128 megabyte(s)\r\nTOTAL PPs: 1092 (139776 megabytes)\r\n FREE PPs: 241 (30848 megabytes)\r\nUSED PPs: 851 (108928 megabytes)\r\n\r\n\r\nlspv hdisk0后:\r\nTOTAL PPs: 546 (69888 megabytes)\r\nFREE PPs: 239 (30592 megabytes)\r\nUSED PPs: 307 (39296 megabytes)\r\n\r\nlspv hdisk1后:\r\nTOTAL PPs: 546 (69888 megabytes)\r\nFREE PPs: 2 (256 megabytes)\r\nUSED PPs: 544 (69632 megabytes)\r\n\r\nrootvg做的mirrorvg\r\n\r\ndf -g后:\r\n/dev/hd1 2.12 0.42 81% 924 1% /home\r\n\r\n\r\nlslv -l hd1后:\r\nhd1:/home\r\nPV COPIES IN BAND DISTRIBUTION \r\nhdisk0 017:000:000 94% 000:001:016:000:000 \r\nhdisk1 017:000:000 0% 000:016:000:000:001 \r\n\r\n\r\n# lslv -L hd1\r\nLOGICAL VOLUME: hd1 VOLUME GROUP: rootvg\r\nLV IDENTIFIER: 00c647eb00004c000000010c4830799a.8 PERMISSION: read/write\r\nVG STATE: active/complete LV STATE: opened/syncd\r\nTYPE: jfs2 WRITE VERIFY: off\r\nMAX LPs: 512 PP SIZE: 128 megabyte(s)\r\nCOPIES: 2 SCHED POLICY: parallel\r\nLPs: 17 PPs: 34\r\nSTALE PPs: 0 BB POLICY: relocatable\r\nINTER-POLICY: minimum RELOCATABLE: yes\r\nINTRA-POLICY: center UPPER BOUND: 32\r\nMOUNT POINT: /home LABEL: /home\r\nMIRROR WRITE CONSISTENCY: on/ACTIVE \r\nEACH LP COPY ON A SEPARATE PV ?: yes \r\nSerialize IO ?: NO \r\n\r\nsmitty chfs扩大空间时提示:\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.\r\n为啥?\n\n[
本帖最后由 whitecat_fah 于 2009-1-20 21:41 编辑
]
作者:
whitecat_fah
时间:
2009-01-21 04:07
按照道理来说,如果做mirrorvg,应该hdisk0 hdiak1所使用的空间是一样的,但是现在一个多,一个少,也不知道hdisk1中到底有什么内容。我尝试过使用migratepv -l hd1 hdisk1 hdisk0 ,但是报错:\r\n0516-1244 migratepv: Destination physical volume hdisk0 contains\r\n partitions of the logical volume hd1.\r\n0516-812 migratepv: Warning, migratepv did not completely succeed;\r\n all physical partitions have not been moved off the PV.\r\n\r\n说hdisk0已经包含hd1了,该如何呢?
作者:
whitecat_fah
时间:
2009-01-21 09:07
呵呵,其实我问问题的时候已经贴出来了\r\n\r\n# lsvg -p rootvg\r\nrootvg:\r\nPV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION\r\nhdisk0 active 546 239 109..04..00..17..109\r\nhdisk1 active 546 2 00..00..00..00..02
作者:
onlywxw
时间:
2009-01-21 09:51
关注中。。。。。。\r\n我也有疑问,如果hdisk0和hdisk1确实做了mirror的话,那么两者的free空间为什么会差异这么大呢?
作者:
whitecat_fah
时间:
2009-01-21 09:57
谢谢大家了,问题找到了,是因为有个lv在建的时候全部使用的hdisk1,所以致使hdisk0和hdisk1没有平均使用
作者:
havent_bao
时间:
2009-01-22 14:59
其实是这样的,MIRRORVG应该不需要全做的。把你关心的东西做镜象就行了。有些对系统无碍又不关系数据的话,应该不需要镜象。
作者:
leikai
时间:
2009-01-22 17:00
很明显啊,hdisk1的空间不够
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2