[CentOS] Disk Partition questions

Thu Jan 5 21:34:28 UTC 2006
Robert Moskowitz <rgm at htt-consult.com>

At 03:48 PM 1/4/2006, Jay Leafey wrote:
>Robert Moskowitz wrote:
>>I selected the defaults in partitioning my drive and df -h shows:
> >
>>So what do I do?
>>leave things alone
>>Use a partition manager (whcih?) to adjust and create partitions
>>Reinstall and select manual partitioning
>First off, you are already using LVM, indicated by the presence of 
>'mapper' in the 'Filesystem' column of df.  Conditionally, if this 
>is for "kicking the tires" on Scalix, I would leave it alone and 
>install Scalix on the system as-is.

I just finished the rebuild.  Had to learn a bit about disk 
druid,  Hope I got it right.

Now all I need is that tar command and I can get started with the mail install.

>If you're installing Scalix for a production system,  I would 
>probably recommend that you reduce the size of the single logical 
>volume for root and create separate logical volumes for /usr, /var, 
>/tmp, /home, etc.  The sizing would depend on  just what the system 
>would be doing.  Having one big honking partition is simpler, true, 
>but backing it up can be a pain.  I usually size the partitions 
>initially to "reasonable" numbers and use lvresize and 
>ext2online/resize2fs to extend them as needed.  There are some 
>questions in my mind about logical volumes spread over multiple 
>extents, but this hasn't been an issue for me yet.
>It should be POSSIBLE to do this without a reload on your system.  I 
>have done it in the past by booting the distribution disk in rescue 
>mode and playing games with resize2fs and lvresize.  It's not 
>"simple", mostly because you have to keep track of the bits and 
>pieces you are moving.  (Have I moved /home yet?)  The devil lives 
>in the detals!
>My $.02, YMMV.
>Jay Leafey - Memphis, TN
>jay.leafey at mindless.com
>CentOS mailing list
>CentOS at centos.org