Software and technical details of Fedora Server 35 including cockpit screenshots

Author:

This article is for those of you who do not want to install a whole new operating system only to discover some technical details about the default installation like disk layout, packages included, software versions, and so on. Here we are going to review in several sections what is like to have a default installation of Fedora Server 35 using a real not virtual machine!
The kernel is 5.14.10 it detects successfully the Threadripper 1950X AMD and the system is stable (we booted in UEFI mode).
The installation procedure uses default options for all installation setups – Minimal network installation of Fedora 35 Server.
Installed packages are 604 occupying 1.7G space:. Note, this is Fedora Server Install, not minimal install. The server install includes the web console – cockpit version 254.

[root@srv ~]# dnf list installed|wc -l
604
[root@srv ~]# df -h /
Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/fedora_fedora-root   15G  1.4G   14G  10% /

Security

  1. Access control security policies – Selinux in Enforcing mode.
    [root@srv ~]# getenforce
    Enforcing
    
  2. Network firewall – Firewalld
    [root@srv ~]# firewall-cmd --list-all
    FedoraServer (active)
      target: default
      icmp-block-inversion: no
      interfaces: enp5s0
      sources: 
      services: cockpit dhcpv6-client ssh
      ports: 
      protocols: 
      forward: no
      masquerade: no
      forward-ports: 
      source-ports: 
      icmp-blocks: 
      rich rules:
    

Storage

Default installation on a single disk, which has only free space on your disk or you reclaimed all the occupied space during installation. Install Fedora Server 35 needs at least 1.6G of free space for the default installation, so if you select a destination disk, which has less than 20G of space you should delete existing partitions to free up space or let Fedora Server 35 installer to do default installation asking you to reclaim the disk space. We used the whole disk for the installation.
By default Fedora Server 35 uses.

  1. xfs – file system
  2. lvm – root, home and swap partitions
  3. boot, root and home on separate partitions
  4. vfat – efi partition.

Fedora Server 35 installation:

  1. Disk layout

    [root@srv ~]# parted -l /dev/sda
    Model: ATA KINGSTON SNV425S (scsi)
    Disk /dev/sda: 128GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End     Size    File system  Name                  Flags
     1      1049kB  630MB   629MB   fat32        EFI System Partition  boot, esp
     2      630MB   1704MB  1074MB  xfs
     3      1704MB  128GB   126GB                                      lvm
    
  2. Mounted Partitions
    [root@srv ~]# df -h
    Filesystem                      Size  Used Avail Use% Mounted on
    devtmpfs                         16G     0   16G   0% /dev
    tmpfs                            16G     0   16G   0% /dev/shm
    tmpfs                           6.3G  1.9M  6.3G   1% /run
    /dev/mapper/fedora_fedora-root   15G  1.4G   14G  10% /
    tmpfs                            16G  4.0K   16G   1% /tmp
    /dev/sda2                      1014M  189M  826M  19% /boot
    /dev/sda1                       599M  6.1M  593M   2% /boot/efi
    tmpfs                           3.2G     0  3.2G   0% /run/user/0
    

    Partitions in configuration:

    [root@srv ~]# cat /etc/fstab 
    
    #
    # /etc/fstab
    # Created by anaconda on Sun Apr 17 15:12:19 2022
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk/'.
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
    #
    # After editing this file, run 'systemctl daemon-reload' to update systemd
    # units generated from this file.
    #
    /dev/mapper/fedora_fedora-root /                       xfs     defaults        0 0
    UUID=860222d6-ced6-4cda-a19f-613a4119549f /boot                   xfs     defaults        0 0
    UUID=E4FA-5A57          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
    
  3. File system layout
    [root@srv ~]# ls -al /
    total 20
    dr-xr-xr-x.  17 root root  224 Apr 17 15:14 .
    dr-xr-xr-x.  17 root root  224 Apr 17 15:14 ..
    lrwxrwxrwx.   1 root root    7 Jul 21  2021 bin -> usr/bin
    dr-xr-xr-x.   5 root root 4096 Apr 17 15:16 boot
    drwxr-xr-x.  21 root root 4380 Apr 17 15:47 dev
    drwxr-xr-x. 100 root root 8192 Apr 17 15:43 etc
    drwxr-xr-x.   2 root root    6 Jul 21  2021 home
    lrwxrwxrwx.   1 root root    7 Jul 21  2021 lib -> usr/lib
    lrwxrwxrwx.   1 root root    9 Jul 21  2021 lib64 -> usr/lib64
    drwxr-xr-x.   2 root root    6 Jul 21  2021 media
    drwxr-xr-x.   2 root root    6 Jul 21  2021 mnt
    drwxr-xr-x.   2 root root    6 Jul 21  2021 opt
    dr-xr-xr-x. 441 root root    0 Apr 17 15:42 proc
    dr-xr-x---.   2 root root  114 Apr 17 15:18 root
    drwxr-xr-x.  35 root root  980 Apr 17 15:43 run
    lrwxrwxrwx.   1 root root    8 Jul 21  2021 sbin -> usr/sbin
    drwxr-xr-x.   2 root root    6 Jul 21  2021 srv
    dr-xr-xr-x.  13 root root    0 Apr 17 15:42 sys
    drwxrwxrwt.  14 root root  280 Apr 17 15:44 tmp
    drwxr-xr-x.  12 root root  144 Apr 17 15:14 usr
    drwxr-xr-x.  20 root root 4096 Apr 17 15:42 var
    
  4. LVM configuration
    [root@srv ~]# lvmdiskscan -l 
      WARNING: only considering LVM devices
      /dev/sda3      [    <117.66 GiB] LVM physical volume
      0 LVM physical volume whole disks
      1 LVM physical volume
    [root@srv ~]# pvscan
      PV /dev/sda3   VG fedora_fedora   lvm2 [117.65 GiB / 102.65 GiB free]
      Total: 1 [117.65 GiB] / in use: 1 [117.65 GiB] / in no VG: 0 [0   ]
    [root@srv ~]# pvs
      PV         VG            Fmt  Attr PSize   PFree  
      /dev/sda3  fedora_fedora lvm2 a--  117.65g 102.65g
    [root@srv ~]# pvdisplay -m
      --- Physical volume ---
      PV Name               /dev/sda3
      VG Name               fedora_fedora
      PV Size               <117.66 GiB / not usable 3.00 MiB
      Allocatable           yes 
      PE Size               4.00 MiB
      Total PE              30119
      Free PE               26279
      Allocated PE          3840
      PV UUID               LwQYeY-lw8l-iBvM-6fV5-9mdd-8Thx-1qhRJ2
       
      --- Physical Segments ---
      Physical extent 0 to 3839:
        Logical volume      /dev/fedora_fedora/root
        Logical extents     0 to 3839
      Physical extent 3840 to 30118:
        FREE
       
    [root@srv ~]# vgs -o +devices,lv_path
      VG            #PV #LV #SN Attr   VSize   VFree   Devices      Path                   
      fedora_fedora   1   1   0 wz--n- 117.65g 102.65g /dev/sda3(0) /dev/fedora_fedora/root
    [root@srv ~]# vgdisplay -v
      --- Volume group ---
      VG Name               fedora_fedora
      System ID             
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  2
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                1
      Open LV               1
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               117.65 GiB
      PE Size               4.00 MiB
      Total PE              30119
      Alloc PE / Size       3840 / 15.00 GiB
      Free  PE / Size       26279 / 102.65 GiB
      VG UUID               dtw50K-3DMl-lGQw-Ax6b-OFAP-5Rc3-D0SkmM
       
      --- Logical volume ---
      LV Path                /dev/fedora_fedora/root
      LV Name                root
      VG Name                fedora_fedora
      LV UUID                8iJKSa-vARC-uJ0C-YNeR-b5DL-v2pf-XbhHzS
      LV Write Access        read/write
      LV Creation host, time srv, 2022-04-17 15:12:15 +0000
      LV Status              available
      # open                 1
      LV Size                15.00 GiB
      Current LE             3840
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
       
      --- Physical volumes ---
      PV Name               /dev/sda3     
      PV UUID               LwQYeY-lw8l-iBvM-6fV5-9mdd-8Thx-1qhRJ2
      PV Status             allocatable
      Total PE / Free PE    30119 / 26279
    [root@srv ~]# lvs --segments
      LV   VG            Attr       #Str Type   SSize 
      root fedora_fedora -wi-ao----    1 linear 15.00g
    [root@srv ~]# lvdisplay -m
      --- Logical volume ---
      LV Path                /dev/fedora_fedora/root
      LV Name                root
      VG Name                fedora_fedora
      LV UUID                8iJKSa-vARC-uJ0C-YNeR-b5DL-v2pf-XbhHzS
      LV Write Access        read/write
      LV Creation host, time srv, 2022-04-17 15:12:15 +0000
      LV Status              available
      # open                 1
      LV Size                15.00 GiB
      Current LE             3840
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
       
      --- Segments ---
      Logical extents 0 to 3839:
        Type                linear
        Physical volume     /dev/sda3
        Physical extents    0 to 3839
       
       
    

Leave a Reply

Your email address will not be published. Required fields are marked *