Downloaded the EFA4 iso and it installs Centos and wants to know how to partition it. Not a big Linux guy so looking for the best way to do this for a Hyper-v 100gb VM.
Thanks!
Recommended partitioning of a vm for EFA 4
Re: Recommended partitioning of a vm for EFA 4
Good question!
I just did a default install the other day and it basically made 2 50GB partitions managed by lvm
I'm not actually happy about that, so I'm thinking of reinstalling.
My own preference is to just set it as a single 100GB partition mounted under / without using LVM.
Why? Well, it's a VM and I can increase the disk size or add disks as necessary. As long as I'm backing up my VM properly, I should be ok. Also, I'll have less of a problem filling one large partition rather than 2 smaller ones.
That's not the normal or recommended practice, but I find it convenient.
I just did a default install the other day and it basically made 2 50GB partitions managed by lvm
I'm not actually happy about that, so I'm thinking of reinstalling.
My own preference is to just set it as a single 100GB partition mounted under / without using LVM.
Why? Well, it's a VM and I can increase the disk size or add disks as necessary. As long as I'm backing up my VM properly, I should be ok. Also, I'll have less of a problem filling one large partition rather than 2 smaller ones.
That's not the normal or recommended practice, but I find it convenient.
Re: Recommended partitioning of a vm for EFA 4
I looked at eFa's v3 VM.
My v4 got a 100GB disc.
Partitioning:
1GB /boot (OS default)
200MB /boot/efi (OS default)
8GB Swap (OS default)
16GB / (double of v3)
75GB /var (all that's left)
My v4 got a 100GB disc.
Partitioning:
1GB /boot (OS default)
200MB /boot/efi (OS default)
8GB Swap (OS default)
16GB / (double of v3)
75GB /var (all that's left)
Re: Recommended partitioning of a vm for EFA 4
Code: Select all
[root@efa4 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 17M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/centos_efa4-root 50G 2.4G 48G 5% /
none 3.9G 0 3.9G 0% /var/spool/MailScanner/incoming
/dev/sda1 1014M 166M 849M 17% /boot
/dev/mapper/centos_efa4-home 42G 33M 42G 1% /home
tmpfs 799M 0 799M 0% /run/user/0
If space ever becomes an issue I'll just add a new disk and mount is appropriately which will be easy to do since I'm running efa as a virtual machine.
[edit] For what it is worth, this is the partitioning of my EFA v3 installation on a 40GB disk
Code: Select all
[root@efa ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_00-lv_root
7.8G 5.3G 2.2G 72% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 485M 275M 185M 60% /boot
/dev/mapper/vg_00-lv_tmp
976M 11M 914M 2% /tmp
/dev/mapper/vg_00-lv_var
30G 19G 11G 64% /var
none 3.9G 936K 3.9G 1% /var/spool/MailScanner/incoming
[root@efa ~]# fdisk -l
Code: Select all
[root@efa4 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 8.9M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda2 91G 1.2G 90G 2% /
/dev/sda1 2.0G 131M 1.9G 7% /boot
tmpfs 799M 0 799M 0% /run/user/0