系統管理
取消
顯示結果 
搜尋替代 
您的意思是: 

Enterprise Linux AS release 3上有ext2online嗎

Enterprise Linux AS release 3上有ext2online嗎



我的版本是

Enterprise Linux AS release 3 (Taroon Update 4)

On IA64

請問有ext2online這個東西嗎,還是需要另外裝
12 回覆

Enterprise Linux AS release 3上有ext2online嗎

use following to check,

#rpm -ql ext2resize



if don't have it, you can either install via rpm package or source tarball.



http://rpmfind.net/linux/rpm2html/search.php?query=ext2online&submit=Search+...



http://sourceforge.net/projects/ext2resize/

Enterprise Linux AS release 3上有ext2online嗎

你有使用 LVM 嗎 ? 有的話可以用 e2fsadm 來做 resize 的動作, 更方便哦

Enterprise Linux AS release 3上有ext2online嗎

e2fsadm跟ext2online可以不用umount 就直接resize了嗎

Enterprise Linux AS release 3上有ext2online嗎

ext2resize也是不用umount就resize嗎



Enterprise Linux AS release 3上有ext2online嗎

But online resize must be supported in your kernel, so, you must to have the kernel support first, then it's possible without umount.

Enterprise Linux AS release 3上有ext2online嗎

For mounted filesystems it can extend the

logical volume and grow the filesystem using

ext2online

Enterprise Linux AS release 3上有ext2online嗎

要怎知道我的kernel 是否有支援呢?

Enterprise Linux AS release 3上有ext2online嗎

首先必須先檢查是否目前的kernel版本已包含該有的模組



1. #cd /usr/src/linux-2.X

2. #make menuconfig

3. check "CONFIG_EXPERIMENTAL" under "Code maturity level options" and "CONFIG_EXT2_RESIZE" under "File systems" to see if it is build-in kernel or build as module. if the answer is yes, then your kernel is supported now. if don't or you didn't see the option in your kernel, then go though following,



4. you have to patch your kernel first,

5. go to official web to download the version which you would like to install, for example ext2resize-1.1.19 and download the tarball package onto your system.

6. # tar -jxvf ext2resize-1.1.19.tar.bz2

7. # cd /usr/local/src/ext2resize-1.1.19/patches

8. if your kernel is 2.4.8, then go to /usr/src/linux-2.4.8

9. # `patch -p1 < /path/to/patch/online-ext2-2.4.8.diff'

10. repeat step one to three, then activate the option in kernel configuration,

11. Build the kernel `make dep; make bzImage; make modules'

12. Install the kernel (as appropriate for your system). and reboot, after reboot, you have the supported kernel.



*Note: all patches are under /${EXTRACT_PATH}/patches/

Enterprise Linux AS release 3上有ext2online嗎

有錯誤....

ext2online: group 0, block 4 not reserved

ext2online: unable to resize /dev/Volume00/home

我的版本是RHEL3 LVM version is LVM 1

所以沒辦法用ext2online嗎?

Enterprise Linux AS release 3上有ext2online嗎

其實就跟HPUX一樣, ext2online相當於HPUX中的fsadm只對filesystem level有作用. 而底層的logical volume必須透過lvextend指令來擴大.



# lvextend -L+1G /dev/vg_test/vol01

lvextend -- extending logical volume "/dev/vg_test/vol01" to 2 GB

lvextend -- doing automatic backup of volume group "vg_test"

lvextend -- logical volume "/dev/vg_test/vol01" successfully extended



then you can use ext2online to online change your filesystem size.

Enterprise Linux AS release 3上有ext2online嗎

沒錯我是用lvextend 先extend logical volume

再用ext2online change filesystem size

but it have error

Enterprise Linux AS release 3上有ext2online嗎

在RHEL4上測試完全沒問題

但是在RHEL3上卻一直不work,是否真的不支援

不知有無實作過,請指導一下