Storage
Default installation on a single disk, which has only free space on you disk or you reclaimed all the occupied space during installation. Install Fedora Workstation 31 (Gnome GUI) needs at least 21G space for the default installation, so if you select a destination disk, which has less than 21G of space you should delete existing partitions to free up space or let Fedora Workstation 31 installer to do default installation asking you to reclaim the disk space. We used the whole disk for the installation.
By default Fedora Workstation 31 uses.
- ext4 – file system
- lvm – root, home and swap partitions
- boot, root and home on separate partitions
- vfat – efi partition.
Fedora Workstation 31 installation:
-
Disk layout
[root@srv ~]# 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 630MB 629MB fat32 EFI System Partition boot, esp 2 630MB 1704MB 1074MB ext4 3 1704MB 128GB 126GB lvm
- 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 16G 2.2M 16G 1% /run /dev/mapper/fedora_localhost--live-root 69G 6.9G 59G 11% / tmpfs 16G 80K 16G 1% /tmp /dev/sda2 976M 146M 764M 16% /boot /dev/sda1 599M 20M 580M 4% /boot/efi /dev/mapper/fedora_localhost--live-home 35G 178M 33G 1% /home tmpfs 3.2G 11M 3.2G 1% /run/user/1000
Partitions in configuration:
[root@srv ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Nov 15 16:28:11 2019 # # 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_localhost--live-root / ext4 defaults 1 1 UUID=6214c5d6-dd13-4c20-9fb5-5f6c473097b2 /boot ext4 defaults 1 2 UUID=67D7-EDDA /boot/efi vfat umask=0077,shortname=winnt 0 2 /dev/mapper/fedora_localhost--live-home /home ext4 defaults 1 2 /dev/mapper/fedora_localhost--live-swap none swap defaults 0 0
- File system layout
[root@srv ~]# ls -al / total 2116 dr-xr-xr-x. 18 root root 4096 Nov 17 12:57 . dr-xr-xr-x. 18 root root 4096 Nov 17 12:57 .. lrwxrwxrwx. 1 root root 7 Jul 25 03:35 bin -> usr/bin dr-xr-xr-x. 7 root root 4096 Nov 15 23:28 boot drwxr-xr-x. 21 root root 4440 Nov 17 17:59 dev drwxr-xr-x. 146 root root 12288 Nov 17 13:35 etc drwxr-xr-x. 4 root root 4096 Nov 15 18:36 home lrwxrwxrwx. 1 root root 7 Jul 25 03:35 lib -> usr/lib lrwxrwxrwx. 1 root root 9 Jul 25 03:35 lib64 -> usr/lib64 drwx------. 2 root root 16384 Oct 24 02:09 lost+found drwxr-xr-x. 2 root root 4096 Jul 25 03:35 media drwxr-xr-x. 2 root root 4096 Jul 25 03:35 mnt drwxr-xr-x. 2 root root 4096 Jul 25 03:35 opt dr-xr-xr-x. 462 root root 0 Nov 17 15:35 proc dr-xr-x---. 4 root root 4096 Nov 17 04:43 root drwxr-xr-x. 48 root root 1300 Nov 17 17:29 run lrwxrwxrwx. 1 root root 8 Jul 25 03:35 sbin -> usr/sbin drwxr-xr-x. 2 root root 4096 Jul 25 03:35 srv dr-xr-xr-x. 13 root root 0 Nov 17 13:35 sys -rw-r--r--. 1 root root 2092007 Nov 17 12:57 @System.solv drwxrwxrwt. 19 root root 420 Nov 17 17:58 tmp drwxr-xr-x. 12 root root 4096 Oct 24 02:12 usr drwxr-xr-x. 21 root root 4096 Oct 24 02:16 var
- LVM configuration
Partitions in configuration: [code lang="bash" highlight="18,19"] [root@srv ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Nov 15 16:28:11 2019 # # 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_localhost--live-root / ext4 defaults 1 1 UUID=6214c5d6-dd13-4c20-9fb5-5f6c473097b2 /boot ext4 defaults 1 2 UUID=67D7-EDDA /boot/efi vfat umask=0077,shortname=winnt 0 2 /dev/mapper/fedora_localhost--live-home /home ext4 defaults 1 2 /dev/mapper/fedora_localhost--live-swap none swap defaults 0 0
- File system layout
[root@srv ~]# ls -al / [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_localhost-live lvm2 [117.65 GiB / 0 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_localhost-live lvm2 a-- 117.65g 0 [root@srv ~]# pvdisplay -m --- Physical volume --- PV Name /dev/sda3 VG Name fedora_localhost-live PV Size <117.66 GiB / not usable 3.00 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 30119 Free PE 0 Allocated PE 30119 PV UUID 6louHZ-2NLq-5DNL-iNb3-1iyl-xrbU-tb4RJJ --- Physical Segments --- Physical extent 0 to 3052: Logical volume /dev/fedora_localhost-live/swap Logical extents 0 to 3052 Physical extent 3053 to 12198: Logical volume /dev/fedora_localhost-live/home Logical extents 0 to 9145 Physical extent 12199 to 30118: Logical volume /dev/fedora_localhost-live/root Logical extents 0 to 17919 [root@srv ~]# vgs -o +devices,lv_path VG #PV #LV #SN Attr VSize VFree Devices Path fedora_localhost-live 1 3 0 wz--n- 117.65g 0 /dev/sda3(0) /dev/fedora_localhost-live/swap fedora_localhost-live 1 3 0 wz--n- 117.65g 0 /dev/sda3(3053) /dev/fedora_localhost-live/home fedora_localhost-live 1 3 0 wz--n- 117.65g 0 /dev/sda3(12199) /dev/fedora_localhost-live/root [root@srv ~]# vgdisplay -v --- Volume group --- VG Name fedora_localhost-live 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 117.65 GiB PE Size 4.00 MiB Total PE 30119 Alloc PE / Size 30119 / 117.65 GiB Free PE / Size 0 / 0 VG UUID 6leZAI-EDDq-1kze-cm1i-k0sG-ugkK-u9WlTC --- Logical volume --- LV Path /dev/fedora_localhost-live/swap LV Name swap VG Name fedora_localhost-live LV UUID REQQKG-HpF4-vhAo-UZnD-hpAB-IueW-mxDDoL LV Write Access read/write LV Creation host, time localhost-live, 2019-11-15 23:19:51 +0200 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_localhost-live/home LV Name home VG Name fedora_localhost-live LV UUID UHnaEo-oObn-W66X-oDGT-2UmX-KZYf-muJXxC LV Write Access read/write LV Creation host, time localhost-live, 2019-11-15 23:19:52 +0200 LV Status available # open 1 LV Size <35.73 GiB Current LE 9146 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Logical volume --- LV Path /dev/fedora_localhost-live/root LV Name root VG Name fedora_localhost-live LV UUID Xo4pHd-YinQ-m4pk-VK1Z-sPDC-5Mbr-n2HW5f LV Write Access read/write LV Creation host, time localhost-live, 2019-11-15 23:19:54 +0200 LV Status available # open 1 LV Size 70.00 GiB Current LE 17920 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Physical volumes --- PV Name /dev/sda3 PV UUID 6louHZ-2NLq-5DNL-iNb3-1iyl-xrbU-tb4RJJ PV Status allocatable Total PE / Free PE 30119 / 0 [root@srv ~]# lvs --segments LV VG Attr #Str Type SSize home fedora_localhost-live -wi-ao---- 1 linear <35.73g root fedora_localhost-live -wi-ao---- 1 linear 70.00g swap fedora_localhost-live -wi-ao---- 1 linear <11.93g [root@srv ~]# lvdisplay -m --- Logical volume --- LV Path /dev/fedora_localhost-live/swap LV Name swap VG Name fedora_localhost-live LV UUID REQQKG-HpF4-vhAo-UZnD-hpAB-IueW-mxDDoL LV Write Access read/write LV Creation host, time localhost-live, 2019-11-15 23:19:51 +0200 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 <!--more Keep on reading!--> --- Logical volume --- LV Path /dev/fedora_localhost-live/home LV Name home VG Name fedora_localhost-live LV UUID UHnaEo-oObn-W66X-oDGT-2UmX-KZYf-muJXxC LV Write Access read/write LV Creation host, time localhost-live, 2019-11-15 23:19:52 +0200 LV Status available # open 1 LV Size <35.73 GiB Current LE 9146 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Segments --- Logical extents 0 to 9145: Type linear Physical volume /dev/sda3 Physical extents 3053 to 12198 --- Logical volume --- LV Path /dev/fedora_localhost-live/root LV Name root VG Name fedora_localhost-live LV UUID Xo4pHd-YinQ-m4pk-VK1Z-sPDC-5Mbr-n2HW5f LV Write Access read/write LV Creation host, time localhost-live, 2019-11-15 23:19:54 +0200 LV Status available # open 1 LV Size 70.00 GiB Current LE 17920 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Segments --- Logical extents 0 to 17919: Type linear Physical volume /dev/sda3 Physical extents 12199 to 30118