newpersn Posted November 23, 2018 Posted November 23, 2018 I got an odd problem with a moodle DB server that its not seeing the full drive space. I have extended it in Vcenter. and Gparted can see the 60GB. Boot in to Ubuntu 16 lts and it is not showing. Its only showing me 7.0gb used and 0mb free? Any ideas?
jinnantonnixx Posted November 23, 2018 Posted November 23, 2018 (edited) The disk has increased in size, but the partitions and/or volumes as seen by your OS have not. If you are using regular partitions, you'll need to use something like parted to increase the partition sizes. If you're using logical volumes, this is a very good guide to altering volume sizes. You can build physical volumes in new partitions then add these physical volumes to your logical volume(s). https://www.tecmint.com/extend-and-reduce-lvms-in-linux/ Anything involving disk resizing can go disasterously wrong, so make sure you have backups! Edited November 23, 2018 by jinnantonnixx
powdarrmonkey Posted November 24, 2018 Posted November 24, 2018 OP already said gparted shows the resized volume. Sounds more like the missing step is resizing the filesystem, try resize2fs (or xfs_grow if it's an xfs filesystem).
newpersn Posted November 24, 2018 Author Posted November 24, 2018 I had a snapshot before messing around. I did use resize2fs and it worked a treat. Unsure why it didn’t grow with GParted.
powdarrmonkey Posted November 25, 2018 Posted November 25, 2018 Gparted doesn't presume to know what your plans for the space are.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now