All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rocty Wang" <rocty@21cn.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] How to extend the file system online?
Date: Sat, 9 Oct 2004 17:58:12 +0800	[thread overview]
Message-ID: <i1958990824043.04841@send4.inner-21cn.com> (raw)

[-- 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 --]

             reply	other threads:[~2004-10-09  9:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-09  9:58 Rocty Wang [this message]
2004-10-11 13:56 ` [linux-lvm] How to extend the file system online? Arshavir Grigorian
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=i1958990824043.04841@send4.inner-21cn.com \
    --to=rocty@21cn.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.