All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arshavir Grigorian <ag@m-cam.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] How to extend the file system online?
Date: Mon, 11 Oct 2004 09:56:15 -0400	[thread overview]
Message-ID: <416A90FE.5010504@m-cam.com> (raw)
In-Reply-To: <i1958990824043.04841@send4.inner-21cn.com>

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

  reply	other threads:[~2004-10-11 13:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-09  9:58 [linux-lvm] How to extend the file system online? Rocty Wang
2004-10-11 13:56 ` Arshavir Grigorian [this message]
2004-10-11 14:40   ` Rickard Olsson
2004-10-11 17:32     ` [linux-lvm] [Debian/Knoppix] LVM2 at boot time Laurent Bloch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=416A90FE.5010504@m-cam.com \
    --to=ag@m-cam.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.