I selected the defaults in partitioning my drive and df -h shows: Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 18G 2.5G 15G 15% / /dev/hda1 99M 12M 82M 13% /boot none 126M 0 126M 0% /dev/shm Now I am getting ready to install Scalix CE and it is telling me a whole story about what my partitions should be. Note that I did the install with 256Mb memory, and I may upgrade to 512Mb. / (root) partition of 6Gb recommended. /boot partition of 75Mb (that seems to be met) /swap partition of x2 installed memory /var partition of at least 10Gb (well that is based on a 100 users and 100mb and that is enough for me) There is also the note: Some versions of Linux include the Logical Volume Manager (LVM). Scalix Corporation recommends using a LVM volume for the /var partition. This enables you to increase the size of the /var partition and back up the Scalix Server without having to shut down the system. So what do I do? leave things alone Use a partition manager (whcih?) to adjust and create partitions Reinstall and select manual partitioning -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060104/9cf71c3b/attachment.html>
Robert Moskowitz wrote:> I selected the defaults in partitioning my drive and df -h shows: > > <snip> > > / (root) partition of 6Gb recommended. > /boot partition of 75Mb (that seems to be met) > /swap partition of x2 installed memory > /var partition of at least 10Gb (well that is based on a 100 users and > 100mb and that is enough for me)>> <snip>>> 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. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5322 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.centos.org/pipermail/centos/attachments/20060104/21eacb54/attachment.bin>
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: >><snip> > >><snip> > > >>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 >http://lists.centos.org/mailman/listinfo/centos