technonick (technonick) wrote in linux,
technonick
technonick
linux

Remote mounted resize

Ah fun. So, I have a webserver that I have to do a remote reinstall for. That's a challenge. But, the real challenge is that the webserver has only one partition. Normally, I would think that I could unmount a /var partition or something, and then install the new OS in there via something like a chrooted environment and some post configuration. Then modify grub and we're off to the races.
But I've never done an online partition resize.

The documentation is unclear here. Some forum posts says that you can with resize2fs:

http://www.mail-archive.com/rhelv5-list@redhat.com/msg00095.html

But most posts say that you can't:

http://www.google.com/search?q=%2Bext3+%2B"resize+a+mounted+partition"

Does anyone have any experience in this?
Thanks.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 15 comments