increase /opt within Fedora28

asked 2018-05-13 08:47:19 -0600

Sandylex gravatar image

Need 27.32GB for application but only have availabe 8.57. Overall on the VirtualBox Fedora 28 system running within a macOS Sierra host I have a virtual size of 109.41GB on the Fedora 27.vdi with presently an actual size of 77.48GB. Any ideas for the best way forward?

edit retag flag offensive close merge delete


Please let us know your disk partition information

sudo fdisk -l
aeperezt gravatar imageaeperezt ( 2018-05-13 10:46:20 -0600 )edit

If you have space in the host the easiest way to me is to create a new virtual disk and in fedora create a physical volume out of it and then expand any existing logical volume as you like. As per comment above please post output of lsblkpvdisplylvdisplay and vgdisplay. I'm assuming your fedora is using LVM.

fcomida gravatar imagefcomida ( 2018-05-13 17:11:23 -0600 )edit

If you pland install a lot of thing in /opt, it might be a good idea to create a separate file system for that and mount it on /opt. You can then keep that file system if you ever need to do a clean install. Same as you would do for /home.

villykruse gravatar imagevillykruse ( 2018-05-13 17:27:10 -0600 )edit