About this list Date view Thread view Subject view Author view Attachment view

From: Sam Vilain (sam_at_vilain.net)
Date: Tue 27 Aug 2002 - 13:53:04 BST


Guillaume Plessis <gui_at_moolfreet.com> wrote:
>
> I compiled my kernel with lvm, ext3 and reiserfs (and so on...) and when
> I have to install a new vserver, I create a new logical volume with a
> reiserfs filesystem. Reiserfs and lvm allow me to limit the disk usage
> and to resize the logical volume while I'm working on it. But I've never
> tried to resize it when the attached vserver was up...
>
> Is it possible to do such a thing whitout to crash the vserver? I don't
> know how the kernel manage the dedicaced-to-vserver disk space because
> of the pseudo fstab.

You need to apply the ext2resize patch, then you can use `ext2online'
to resize the filesystems without umounting them.

Beware, however, that you need to create filesystems with at least a
2k blocksize to avoid hitting some ext2 internal limits that will
prevent you from resizing past 256MB boundaries (without use of
`ext2prepare', which requires an unmount).

Ext2resize is at

  http://ext2resize.sourceforge.net/

The patch, merged for vserver, is at:

http://sam.vilain.net/vserver/linux-2.4.19-ctx13+ext2resize.patch

--
   Sam Vilain, sam_at_vilain.net     WWW: http://sam.vilain.net/
    7D74 2A09 B2D3 C30F F78E      GPG: http://sam.vilain.net/sam.asc
    278A A425 30A9 05B5 2F13

The best thing for being sad is to learn something. That is the only thing that never fails. T. H. WHITE


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:42 GMT by hypermail 2.1.3