I kind of remember this coming up in Centos6 release. Why was the boot partition still ext3? The answer was ext4 introduced overhead not needed for /boot. ext3 was perfectly adequate for /boot. As I think getting ext4 code loaded at this point in the boot process was an issue. May not be anymore.
Or something like that. Years ago that C6 came out.
I will need to test this image next week, but you ask about swap on an SSD. How is your SSD connected, sata or usb? In either case a swap partition is very nice to have. With uSD, you may have to throw some memory for a temp swap, but then you will need a lot of memoryā¦
That is the goal, we are close to it but as the name suggest (Devel) we are not completely there yet. Not due to know issues just a matter of testing and getting feedback.
ext4 landed in u-boot just a few years agoā¦
Why?.. x86_64 uses an LVM volume and not a partition
I just got this from the Fedora-arm list on what they are doing with swap as of F29:
āwe use zram for swap in F-29, it preserves the mSD card due to
wear, and is much faster, this isnāt the problem. Basically up to a
max of 50% of the RAM will be allocated to swap using lz4 compression and we generally see a 4-5 times compression ratio.ā
BTW, Itās likely good to know iām a hardware guy, not a sys admin or software developerā¦
Therefore have my doubts about partitioning non magnetical HDDās. Partition tables are just a convenient way to interact with a OS, on a hardware level all byteās are written all over the place to even-out wear.
As an matter of fact on SSDās and large SDās the data and allocation is encrypted to be able to wipe a drive. Due to the wear algorithms itās impossible to write the hole drive with random data; an simple update of the keyās completely wipes out the SSD / SD drive
First I would like to point to the 30MB FAT16 partition on the front of the uSD image. I would have to do some digging, but I think that is there for RPi, and is carried as an artifact for the generic image. But donāt quote me on that. Search back on the centos-arm list or ask.
I am not even a hardware guy. I am really a secure data communications standards guy. Check out my work in IETF and IEEE 802. I have tried to keep my hands in using Linux and running my own stuff. I canāt do a build consistantly and have gotten yelled at on a lot of mailing lists over the years. But I am use to that in standards meetings; got my Kevlar suit hanging in my closet.
So, to an extent, I will work with whatever you build your image as. I was thinking that I can install your image then yum groupinstall gnome-desktop, or whatever the exact group is.
The other advantage of partitions is you can put different partitions on different drives. Again with the drives we have these days, that is less an issue. And LVM is not used in the Centos-arm issue, so expanding across drives is not āout of the boxā.
Note itās a community effort, and therefore your feedback is appreciated and I will make what ever the community decides
I read / saw your work and been in some norm commissions myself; kind of know the drill⦠Just imagine to try getting the Britishās (BS) and Germans (DIN) to agree and translate the content to a Dutch NEN norm. Pretty sure at CEN they do not mourn about the Brexit.
iām sorry, the only one I have for armhfp (apart from old rpi) is an hc1 but I do not think there is the uboot-image (iāve tried with the one of xu3 but it didnāt work)
ā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.