All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] How to extend the file system online?
@ 2004-10-09  9:58 Rocty Wang
  2004-10-11 13:56 ` Arshavir Grigorian
  0 siblings, 1 reply; 4+ messages in thread
From: Rocty Wang @ 2004-10-09  9:58 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]

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

 

 

 


[-- Attachment #2: Type: text/html, Size: 12696 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-11 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-09  9:58 [linux-lvm] How to extend the file system online? Rocty Wang
2004-10-11 13:56 ` Arshavir Grigorian
2004-10-11 14:40   ` Rickard Olsson
2004-10-11 17:32     ` [linux-lvm] [Debian/Knoppix] LVM2 at boot time Laurent Bloch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.