I need 27.32GB to install an application in /opt but disc space available is 8.57: a bit of a discrepancy! Unfortunately (?) Fedora 28 uses lvm2 so 'gparted' isn't much good. NB: Fedora 28 is set up in a VirtualBox within an iMac host running macOS Sierra with the following 'virtual size' setting for the Fedora27.vdi of 109.41GB and actual size of 77.93GB.
Using lvdisplay can't find LV Path /dev/fedora_localhost/opt just swap, home and root.
However here's the clue: "Assuming you have /opt on your root partition the available space is exactly the same as available free space on your root partition".
sudo lvextend -l +100%FREE /dev/fedora_localhost-live/root
New size (12800 extents) matches existing size (12800 extents).
[15/05/2018] Now if only I can get this onto a cd!
sudo dnf install blivet-gui //use command: blivet-gui to interface
To make the file system recognize the increased volume size, you need to "expand" an existing file system itself. Depending on which file system you are using, there are different tools to expand an existing filesystem. For example, use resize2fs for EXT2/EXT3/EXT4, xfs_growfs for XFS, btrfs for Btrfs, etc.
Using lvdisplay can't find LV Path /dev/fedora_localhost/opt just swap, home and root.
However here's the clue: "Assuming you have /opt on your root partition the available space is exactly the same as available free space on your root partition".
sudo lvextend -l +100%FREE /dev/fedora_localhost-live/root
New size (12800 extents) matches existing size (12800 extents).
[15/05/2018] Now if only I can get this onto a cd!
sudo dnf install blivet-gui //use command: blivet-gui to interface
To make the file system recognize the increased volume size, you need to "expand" an existing file system itself. Depending on which file system you are using, there are different tools to expand an existing filesystem. For example, use resize2fs for EXT2/EXT3/EXT4, xfs_growfs for XFS, btrfs for Btrfs, etc.
Last edited: