“It’s created as part of the zram-swap service. The swapon (no options) will show swap details, the zramctl cmd (no options) will show you size, utiliation, compression ratios etc.”
Of course is the zram-swap service even in Centos or would we have to back-port it?
We have similar constraints inside our NethBOX (Nethesis appliances with NethServer). Our partition schema is:
vda1: boot 500MB (kernel_limit should be set to 2)
vda2: swap 1GB
vda3: grow to end of disk
About the RAM, I back @rgmhtt idea to go with ZRAM. Eventually, the user can switch to a SWAP file if needed. To start a 512MB zram should be fine.
First partition should be a simple boot partition. We use XFS both for root and boot, but I think you can choose everything you want. My advice is to choose the same FS type for both partitions.
We do not handle UEFI machines, so we do not need an extra boot partition.
Just copy what CentOS or Fedora do
Root partition at end is good
I’d like to publish a beta ARM image when 7.6 will be out!
Would a ZRAM of 512MB be acceptable with a 1GB ram arm board? Eventually I can test this on my Cubieboard2s.
The referenced howto is beyond my skills. I would need something much easier to set up. I am going to dig into what F29 is doing. I suspect they are running it as a systemd service.
As for Centos 7.6: Do you know of an anticipated availability date? Particularly for the arm image?
Oke, zram swap is the first option to pursuit. Do not know it and will investigate.
As said must get familiar with zram, but one of the motivating reasons to get rid of the swap partition is to be able to alter the swap size at will.
Oke we will keep the boot partition with a little bit of reluctance because still have found no arguments why it is preferred. Note most distributions do not use a boot partition in conjunction with u-boot.
I will be investigating what F29 is doing. Perhaps we can follow that, though of course they will be on a newer version.
Is you mention, F29 makes a strong case for it for booting UEFI. I seem to remember a thread with Peter Robinson on this early in the F29 (then rawhide) release when I asked about the vfat partition.
Learn from F29-arm.
Push Centos-arm to adopt directly what makes sense. (see my zram post there).
Add whatever else we need think works here.
And that does not work; I figured that I needed https. Wow is that default cert weird. I wonder if we can do better. If nothing else we need to move to ECDSA!
Set root’s password? What if I had already done this from the serial console, would I have to change it again?
I DO NOT APPRECIATE YOUR PASSWORD REQUIREMENTS. Fedora Initial Setup is very happy with my password of choice, giving it a good rating. And you don’t even give the password rules. Humph.
Set timezone? Why is not Detroit in the list here? It is in the tz file…
And I am in to the config…
I have two projects: Replace my ClearOS and my RSEL mailserver.
My Cubietruck should be up to replacing ClearOS for my 3 client systems. I will tackle that first as I decide which system to get for the mailserver replacement.
Get me what I need to convert to zram, and I will test switching to that as well…
Meanwhile I am going to figure out what I need to install to get the gnome DE and set up vncserver.