[CentOS] Repartitioning issues - advice needed, and info.

Paul Norton pnorton3.14 at gmail.com
Tue Apr 2 09:04:30 UTC 2013


On 2 April 2013 01:59, John R Pierce <pierce at hogranch.com> wrote:

> On 4/1/2013 5:54 PM, Bruce Whealton wrote:
> > Not it is the /etc
> > partition that is full every other day.  It is a 10GB partition and most
> of
> > the data is in the mail spool directories.
>
> the /etc directory A) shouldn't be a separate partition, it should be on
> / and B) should just contain system configuration files, in no way
> should there be anything like mail spools in there.    the standard
> place for mail spools is /var/spool/mail
>
> the rest of your message was just a little too run on and too many
> different things jammed together for me to want to make sense of.
>
>
>

--
> john r pierce                                      37N 122W
> somewhere on the middle of the left coast
>
> Hello  Bruce
This is a great start ->
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54

What Database do you have on you server?  Where did you create the data dir?

Do you have wordpress running? under httpd (apache)?

Do you have a mail server running?

Please run the script(getinfo.sh) and paste to pastebin.

I'd use fdisk or parted to create a partition. Then set the id/type to 82
linux swap. Then mkswap on the new drive. Copy the contents of the old swap
using the dd command to the new drive. Then swapon and swapoff and update
/etc/fstab. Then free to check new swaps up.

man lvm

Read more about lvm here.
http://www.techotopia.com/index.php/Adding_a_New_Disk_to_a_CentOS_6_Volume_Group_and_Logical_Volume

All the best Paul

* "I know one thing: That I know nothing"* - Socrates
*"We're all explorers here"* - T S Eliot



More information about the CentOS mailing list