Technical details of a default Fedora 29 Workstation installation

Storage

Default installation on a single disk, which has only free space on you disk or you reclaimed all the occupied space during installation. Fedora 29 needs at least 20G of free space, 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 installer to do default installation asking you to reclaim the disk space. We used the whole disk for the installation.
By default Fedora uses.

  1. ext4 – file system
  2. lvm – root and swap partitions
  3. boot, root and home on separate partitions

Fedora 29 installation:

  1. Disk layout

    [root@localhost myuser]# parted -l
    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  211MB   210MB   fat16        EFI System Partition  boot, esp
     2      211MB   1285MB  1074MB  ext4
     3      1285MB  128GB   127GB                                      lvm
    
  2. Mounted Partitions
    [myuser@localhost ~]$ df -h
    Filesystem               Size  Used Avail Use% Mounted on
    devtmpfs                  16G     0   16G   0% /dev
    tmpfs                     16G     0   16G   0% /dev/shm
    tmpfs                     16G  2.1M   16G   1% /run
    tmpfs                     16G     0   16G   0% /sys/fs/cgroup
    /dev/mapper/fedora-root   49G  5.7G   41G  13% /
    tmpfs                     16G   80K   16G   1% /tmp
    /dev/mapper/fedora-home   55G   64M   53G   1% /home
    /dev/sda2                976M  123M  786M  14% /boot
    /dev/sda1                200M   18M  182M   9% /boot/efi
    tmpfs                    3.2G  5.7M  3.2G   1% /run/user/1000
    

    Partitions in configuration:

    [root@localhost /]# cat /etc/fstab 
    
    #
    # /etc/fstab
    # Created by anaconda on Sun Nov  4 16:36:20 2018
    #
    # 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-root /                       ext4    defaults        1 1
    UUID=0d656156-d390-42a3-a62b-f1b3229f080a /boot                   ext4    defaults        1 2
    UUID=4307-25E4          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
    /dev/mapper/fedora-home /home                   ext4    defaults        1 2
    /dev/mapper/fedora-swap swap                    swap    defaults        0 0
    
  3. File system layout
    [root@localhost /]# ls -al /
    total 72
    dr-xr-xr-x.  18 root root  4096 24 Oct 23,58 .
    dr-xr-xr-x.  18 root root  4096 24 Oct 23,58 ..
    lrwxrwxrwx.   1 root root     7 13 Jul  4,48 bin -> usr/bin
    dr-xr-xr-x.   7 root root  4096  4 Nov 21,36 boot
    drwxr-xr-x.  21 root root  4300  6 Nov 11,25 dev
    drwxr-xr-x. 137 root root 12288  6 Nov 11,25 etc
    drwxr-xr-x.   4 root root  4096  6 Nov 11,19 home
    lrwxrwxrwx.   1 root root     7 13 Jul  4,48 lib -> usr/lib
    lrwxrwxrwx.   1 root root     9 13 Jul  4,48 lib64 -> usr/lib64
    drwx------.   2 root root 16384 24 Oct 23,56 lost+found
    drwxr-xr-x.   2 root root  4096 13 Jul  4,48 media
    drwxr-xr-x.   2 root root  4096 13 Jul  4,48 mnt
    drwxr-xr-x.   2 root root  4096 13 Jul  4,48 opt
    dr-xr-xr-x. 463 root root     0  6 Nov 11,25 proc
    dr-xr-x---.   3 root root  4096  6 Nov 12,31 root
    drwxr-xr-x.  45 root root  1240  6 Nov 12,20 run
    lrwxrwxrwx.   1 root root     8 13 Jul  4,48 sbin -> usr/sbin
    drwxr-xr-x.   2 root root  4096 13 Jul  4,48 srv
    dr-xr-xr-x.  13 root root     0  6 Nov 11,25 sys
    drwxrwxrwt.  18 root root   400  6 Nov 13,02 tmp
    drwxr-xr-x.  12 root root  4096 24 Oct 23,58 usr
    drwxr-xr-x.  22 root root  4096 25 Oct  0,03 var
    
  4. LVM configuration
    [root@localhost myuser]# lvmdiskscan -l 
      WARNING: only considering LVM devices
      /dev/sda3        [    <118.05 GiB] LVM physical volume
      0 LVM physical volume whole disks
      1 LVM physical volume
    [root@localhost myuser]# pvscan
      PV /dev/sda3   VG fedora          lvm2 [118.04 GiB / 0    free]
      Total: 1 [118.04 GiB] / in use: 1 [118.04 GiB] / in no VG: 0 [0   ]
    [root@localhost myuser]# pvs
      PV         VG     Fmt  Attr PSize   PFree
      /dev/sda3  fedora lvm2 a--  118.04g    0
    [root@localhost myuser]# pvdisplay -m
      --- Physical volume ---
      PV Name               /dev/sda3
      VG Name               fedora
      PV Size               <118.05 GiB / not usable 3.00 MiB
      Allocatable           yes (but full)
      PE Size               4.00 MiB
      Total PE              30219
      Free PE               0
      Allocated PE          30219
      PV UUID               65dXjZ-tvRK-m4vZ-O5P9-hZ1m-d4YZ-HCMFsH
       
      --- Physical Segments ---
      Physical extent 0 to 3052:
        Logical volume      /dev/fedora/swap
        Logical extents     0 to 3052
      Physical extent 3053 to 17418:
        Logical volume      /dev/fedora/home
        Logical extents     0 to 14365
      Physical extent 17419 to 30218:
        Logical volume      /dev/fedora/root
        Logical extents     0 to 12799
    [root@localhost myuser]# vgs -o +devices,lv_path
      VG     #PV #LV #SN Attr   VSize   VFree Devices          Path            
      fedora   1   3   0 wz--n- 118.04g    0  /dev/sda3(0)     /dev/fedora/swap
      fedora   1   3   0 wz--n- 118.04g    0  /dev/sda3(3053)  /dev/fedora/home
      fedora   1   3   0 wz--n- 118.04g    0  /dev/sda3(17419) /dev/fedora/root
    [root@localhost myuser]# vgdisplay -v
      --- Volume group ---
      VG Name               fedora
      System ID             
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  4
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                3
      Open LV               3
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               118.04 GiB
      PE Size               4.00 MiB
      Total PE              30219
      Alloc PE / Size       30219 / 118.04 GiB
      Free  PE / Size       0 / 0   
      VG UUID               X55kJV-2TFw-ndBR-YCwQ-xkT0-6csH-37y1z2
       
      --- Logical volume ---
      LV Path                /dev/fedora/swap
      LV Name                swap
      VG Name                fedora
      LV UUID                qwZnu2-yRci-doZO-lVf3-5DYy-h0Qy-fZndQt
      LV Write Access        read/write
      LV Creation host, time localhost-live, 2018-11-04 21:27:08 +0000
      LV Status              available
      # open                 2
      LV Size                <11.93 GiB
      Current LE             3053
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:1
       
      --- Logical volume ---
      LV Path                /dev/fedora/home
      LV Name                home
      VG Name                fedora
      LV UUID                rA4iYg-ChRw-EWcp-1Jgt-9tPE-BUwF-Ea5T3t
      LV Write Access        read/write
      LV Creation host, time localhost-live, 2018-11-04 21:27:08 +0000
      LV Status              available
      # open                 1
      LV Size                <56.12 GiB
      Current LE             14366
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:2
       
      --- Logical volume ---
      LV Path                /dev/fedora/root
      LV Name                root
      VG Name                fedora
      LV UUID                yZjMvH-W8Us-Tgv3-dpgU-3Mm3-I3Fh-KZLAjG
      LV Write Access        read/write
      LV Creation host, time localhost-live, 2018-11-04 21:27:10 +0000
      LV Status              available
      # open                 1
      LV Size                50.00 GiB
      Current LE             12800
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
       
      --- Physical volumes ---
      PV Name               /dev/sda3     
      PV UUID               65dXjZ-tvRK-m4vZ-O5P9-hZ1m-d4YZ-HCMFsH
      PV Status             allocatable
      Total PE / Free PE    30219 / 0
    [root@localhost myuser]# lvs --segments
      LV   VG     Attr       #Str Type   SSize  
      home fedora -wi-ao----    1 linear <56.12g
      root fedora -wi-ao----    1 linear  50.00g
      swap fedora -wi-ao----    1 linear <11.93g
    [root@localhost myuser]# lvdisplay -m
      --- Logical volume ---
      LV Path                /dev/fedora/swap
      LV Name                swap
      VG Name                fedora
      LV UUID                qwZnu2-yRci-doZO-lVf3-5DYy-h0Qy-fZndQt
      LV Write Access        read/write
      LV Creation host, time localhost-live, 2018-11-04 21:27:08 +0000
      LV Status              available
      # open                 2
      LV Size                <11.93 GiB
      Current LE             3053
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:1
       
      --- Segments ---
      Logical extents 0 to 3052:
        Type                linear
        Physical volume     /dev/sda3
        Physical extents    0 to 3052
       
       
      --- Logical volume ---
      LV Path                /dev/fedora/home
      LV Name                home
      VG Name                fedora
      LV UUID                rA4iYg-ChRw-EWcp-1Jgt-9tPE-BUwF-Ea5T3t
      LV Write Access        read/write
      LV Creation host, time localhost-live, 2018-11-04 21:27:08 +0000
      LV Status              available
      # open                 1
      LV Size                <56.12 GiB
      Current LE             14366
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:2
       
      --- Segments ---
      Logical extents 0 to 14365:
        Type                linear
        Physical volume     /dev/sda3
        Physical extents    3053 to 17418
       
       
      --- Logical volume ---
      LV Path                /dev/fedora/root
      LV Name                root
      VG Name                fedora
      LV UUID                yZjMvH-W8Us-Tgv3-dpgU-3Mm3-I3Fh-KZLAjG
      LV Write Access        read/write
      LV Creation host, time localhost-live, 2018-11-04 21:27:10 +0000
      LV Status              available
      # open                 1
      LV Size                50.00 GiB
      Current LE             12800
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
       
      --- Segments ---
      Logical extents 0 to 12799:
        Type                linear
        Physical volume     /dev/sda3
        Physical extents    17419 to 30218
    

One thought on “Technical details of a default Fedora 29 Workstation installation”

Leave a Reply

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