Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed a Centos and partitioned it as: /root - 100MB / - rest of the disk.

I need to have a /log partition. is it possible to do it after the Linux was already installed?

Thanks!! Dotan.

share|improve this question
you should mention what filesystems these are. ext3? – stew Jul 16 '12 at 15:06
EXT3. Thanks!!! – edotan Jul 16 '12 at 20:08
up vote 1 down vote accepted

Yes, this is possible, however, not while CentOS is running. You will need to boot from a live cd or other live boot method, and then partition from there, so the system doesn't use the disk for other things.

This may be more difficult on a remote server, if your hosting company doesn't support live environments, then you will have to do more complicated (and potentially dangerous) things like booting your OS in RAM, or making Grub2 boot an ISO in RAM, where the ISO has to start a ssh session on boot, and set the right ip. If you do this incorrectly though, you may end up with an unbootable server, and have to wait for your hosting company's support.

If you want to know what programs to use to partition it, you could look into gparted for a non-headless system, or fdisk or parted for commandline tools. Resizing with the latter 2 tools is a bit harder though.

share|improve this answer
Thank you so much!!! – edotan Jul 16 '12 at 20:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.