Enlarging the /home directory
Posted: 2019/03/18 22:53:41
I accepted the default partitioning when installing CentOS 7.6.1810 as a virtual machine (VM) under VMWare ESXi 6.5.
I want to use most of the disk for media, and find that I've twice put the media folder in a place which has too small a portion of the disk - first in a subdirectory of / which was allocated only 50GB, then in /home/john/plexmedia, which seems to be limited to just under 150GB out of a 1TB disk, of which I've allocated 800GB to the CentOS VM.
I used the df -h command to see what is in use, and can only see about 200GB reported for the VM file system in use. See image below (I can't copy the text itself from the console). Looking at the Datastore information, it seems I have 8 partitions numbered 1 - 3, then 5-9 (see image below). Four are Basic Data partitions, one of 4GB and three of almost 250GB each. Looks as if the /home directories are on one of these.
Any idea how I can merge these three large Basic Data partitions into one without losing data?
I have Webmin, if that helps, and it seems to have a partitioning tool - it can certainly view the partitions, but I'm not sure if it can edit them, let alone how to.
I'd be grateful for any help you can offer.
PS. Editing seems to keep dropping or doubling up images and losing later edits if I Preview them.
PPS. VMWare console shows confusing information about the virtual hard disk. Says there's 800 GB allocated, but only 118.3GB Maximum Size, and it's Thick provisioned, lazily zeroed.
As a new forum member, am I limited to one attachment per post? I seem to have got three when I preview the post, but only one attachment lists, and I can't add another.
I want to use most of the disk for media, and find that I've twice put the media folder in a place which has too small a portion of the disk - first in a subdirectory of / which was allocated only 50GB, then in /home/john/plexmedia, which seems to be limited to just under 150GB out of a 1TB disk, of which I've allocated 800GB to the CentOS VM.
I used the df -h command to see what is in use, and can only see about 200GB reported for the VM file system in use. See image below (I can't copy the text itself from the console). Looking at the Datastore information, it seems I have 8 partitions numbered 1 - 3, then 5-9 (see image below). Four are Basic Data partitions, one of 4GB and three of almost 250GB each. Looks as if the /home directories are on one of these.
Any idea how I can merge these three large Basic Data partitions into one without losing data?
I have Webmin, if that helps, and it seems to have a partitioning tool - it can certainly view the partitions, but I'm not sure if it can edit them, let alone how to.
I'd be grateful for any help you can offer.
PS. Editing seems to keep dropping or doubling up images and losing later edits if I Preview them.
PPS. VMWare console shows confusing information about the virtual hard disk. Says there's 800 GB allocated, but only 118.3GB Maximum Size, and it's Thick provisioned, lazily zeroed.
As a new forum member, am I limited to one attachment per post? I seem to have got three when I preview the post, but only one attachment lists, and I can't add another.