Re: Where's ext2online?



Kirk Lowery wrote:

Reading the man page on resize2fs, it notes: "As of this writing, the
Linux 2.6 kernel supports on-line resize for filesystems mounted
using ext3 only." Yet when I used the LVM GUI app, it choked at this
step, saying it couldn't unmount the root filesystem. That's
understandable, but it raises the question: can one use resize2fs from
a commandline while running fedora with the root filesystem mounted?

In a similar situation, I booted from the DVD in "linux rescue" mode. I found that when it asked whether I wanted it to find and mount partitions, I needed to hit "skip". If I allowed it to mount the root partition, I could not unmount it.

In rescue mode, the vgscan, etc commands are not directly present, but
the executable lvm is, which can do all those things. When you run lvm,
you will get a new prompt, where you type lvm commands.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Wheres ext2online?
    ... saying it couldn't unmount the root filesystem. ... the executable lvm is, which can do all those things. ... you will get a new prompt, where you type lvm commands. ... I was able to resize the mounted filesystem without going into rescue mode. ...
    (Fedora)
  • Re: resizing swap
    ... Otherwise you wouldnt be able to fsck a filesystem without external boot. ... Write the FC rescue disk ISO onto a CD, and reboot the machine from it. ... Within LVM, run these commands: ... Now resize the filesystem with this command ...
    (RedHat)
  • Re: resizing swap
    ... You can't shrink a volume using resize2fs so rebooting into single user mode and mounting / as read-only won't work. ... Write the FC rescue disk ISO onto a CD, and reboot the machine from it. ... Within LVM, run these commands: ... Now resize the filesystem with this command (e.g., ...
    (RedHat)
  • RE: resizing swap
    ... At the prompt, type: ... Within LVM, run these commands: ... Now resize the filesystem with this command (e.g., ...
    (RedHat)
  • Re: Booting - Enterprise Volume Management System
    ... it seems that LVM combines the main ... disadvantage of separate partitions - having to manually unmount and resize when ... you run out of space - with the main disadvantage of one big partition - ... The main advantage appears being able to resize logical volumes and filesystems ...
    (Ubuntu)