Re: How to extend the file system online?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rocty Wang wrote:

Hi, all,

After I used LVM2 to create PV, VG, LV on the attached storage

disks, I want to format logical volume as a file system and

possibly extend the file system of LV online. But when I prefer to

âext3â file system, I find the tool âresize2fsâ only can resize

ext3 file system offline.

OS: Linux Fedora Core2(kernel 2.6.7-1.494.2.2smp)

LVM version: 2.00.15(2004-04-19)

Library version: 1.00.14-ioctl(2004-04-06)

Driver version: 4.1.0

Operations:

pvcreate /dev/sda

pvcreate /dev/sdb

vgcreate vg1 /dev/sda /dev/sdb

lvcreate âL 100G ân lv1 vg1

mke2fs /dev/vg1/lv1

mount /dev/vg1/lv1 /mnt

lvextend âL +50G /dev/vg1/lv1

Then I used âresize2fsâ tool to extend file system, but failed.

I know it must be done when âumountâ the lv1.

If another tool can finish that running under Linux?

Or if any other file system can be mounted and resized online under Linux?

XFS? I donât know.

Anyone can help me? Thanks!

Rocty Wang

2004-10-09

You can try ReiserFS, which does allow to be resized while mounted. --Arshavir

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux