LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Recommended filesystem sizes using LVM ? (https://www.linuxquestions.org/questions/linux-software-2/recommended-filesystem-sizes-using-lvm-642316/)

Vilius 05-15-2008 02:47 AM

Recommended filesystem sizes using LVM ?
 
Hi,

I'm trying to install Red Hat enterprise linux as v4, my disk is 135Gb size, and I decided to create these filesystems using LVM:
/
/boot
/home
/opt
/tmp
/usr
/var

and swap.

What recommended sizes could be for these, except /boot and swap partitions(I already decided for those).

thanks
Vilius

edgjerp 05-15-2008 03:22 AM

why split your disk into so many partitions? separate /home is very wise, and /boot is sometimes good, but the others? I could understand it if you had several smaller (physical) disks, but with only one, this will likely work against you later. At least on debian, /opt and /var are not very big. no need to separate them out.

I would probably make a 40-50GiB /home (just to be sure not to run out of space), 1.5-2 times memory in swap and put the rest in /. possibly 100-300 MiB in /boot, but that is not critical unless you plan to use a strange filesystem.

Vilius 05-15-2008 03:51 AM

I'm making copy of another machine which is partitioned this way. It's server of course.

edgjerp 05-15-2008 06:48 AM

there is nothing forcing you to keep the partitioning scheme the same even if you copy another machine. just make your own scheme, copy files into the appropriate directories independent of partitions. then modify /etc/fstab. that should do the trick.

to make the system bootable, you will probably need to boot with some livecd and chroot to the new system and install the mbr. the simplest solution might be to do a clean install and just copy /home to the new disk.


All times are GMT -5. The time now is 04:37 AM.