免费注册 查看新帖 |

Chinaunix

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

suse linux10上ext2online问题 [复制链接]

论坛徽章:
1
双鱼座
日期:2014-03-04 09:43:16
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-10-09 14:22 |只看该作者 |倒序浏览
扩展lv后,使用ext2online扩展ext3文件系统,提示如下:
#ext2online /biaoq
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: group 0, block 41 not reserved

ext2online: unable to resize /dev/mapper/udptvg-udptlv

系统版本:
# uname -a
Linux JSNJ_HTYD_REPORT 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux

/biaoq挂载的lv大小为1.3T。

论坛徽章:
1
双鱼座
日期:2014-03-04 09:43:16
2 [报告]
发表于 2010-10-09 15:24 |只看该作者
在Novell官网找到如下说明:

Environment
Novell SUSE Linux Enterprise Server 10 Service Pack 1
Novell SUSE Linux Enterprise Server 10 Service Pack 2

Situation
Sles10sp1 server with 140 gig LVM volume configured with EXT3.  Customer added 100 gigs disk space to LVM group.  When customer executes ext2online to extend EXT3 file system, the console shows the following error:

slesserv:~ # ext2online /dev/vg01/lv_local
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: group 0, block 11 not reserved

ext2online: unable to resize /dev/mapper/vg01-lv_local




Resolution
Volume was created with shipping e2fsprogs 1.38-25.21.  Using dumpe2fs -h, we observe vol with following values:

Filesystem features:      has_journal filetype needs_recovery sparse_super

In order to perform on line resize the value of "resize_inode" needs to be present.  This will be added on volumes created with e2fsprogs 1.38-29.3 (or later).  A volume created with updated code shows the following default values:

Filesystem features:      has_journal resize_inode filetype needs_recovery sparse_super large_file

The value "resize_inode" is now present, which allows online resizing for this volume.  

It must be noted, that there is no way to add this value to an existing EXT3 volume.  The volume will need to be recreated, or perform resize with volume off line.  Other versions of SLES may also have this issue, depending on what code level was present when the volume was created.  I simple check of the device using dumpe2fs -h will tell you if online resizing is possible.

The e2fsprogs patch can be downloaded from:
http://support.novell.com/techce ... c1c86950949302.html

The ext3-online resizing support begins with SUSE Linux Enterprise 10 SP 2, but only for freshly created file systems.


Bug Number
279180
Additional Information
If servers are installed via autoyast, the install source will need to be updated with the new e2fsprogs 1.38-25.19.3.  Instructions can be found at:

ftp://ftp.suse.com/pub/people/hvogel/Update-Media-HOWTO


The following link has very good information on configuration details for adding new e2fsprogs to sles10 install:

http://opseast.wordpress.com/200 ... environment-source/






原文:http://www.novell.com/support/ph ... 04099&stateId=0 0 174687949
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP