I have installed ClearOS 7.4 community as a VM in VMWare ESXI 6.5. I have managed to add more drive space to the VM but I cannot seem to get ClearOS to see the drive space.
Is there no app in the market place that will allow you to do this process? Or can someone give me the line commands.
I see there might me a difference from using ClearOS 6
I have the XFS format
Thanks
Shaun.
Is there no app in the market place that will allow you to do this process? Or can someone give me the line commands.
I see there might me a difference from using ClearOS 6
I have the XFS format
Thanks
Shaun.
Share this post:
Responses (1)
-
Accepted Answer
It depends a bit on your set up. If you are using the default installation you are probably using the LVM and you /etc/fstab will look something like:
Note in particular the "/dev/mapper" entries.
#
# /etc/fstab
# Created by anaconda on Thu Jul 6 19:39:37 2017
#
# 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
#
/dev/mapper/main-root / ext4 defaults 1 1
UUID=0af5faa9-5b6b-43da-b78c-cf963d8f2cce /boot ext4 defaults 1 2
UUID=1E3D-D852 /boot/efi vfat defaults,uid=0,gid=0,umask=0077,shortname=winnt 0 0
UUID=1E4A-F81B /boot/utilities vfat umask=0077,shortname=winnt 0 0
/dev/mapper/main-swap swap swap defaults 0 0
/store/data0/live/server1/home /home none bind,rw 0 0
/store/data0/live/server1/root-support /root/support none bind,rw 0 0
In this guide and its link, they create a new partition, grow the logical volume by adding the new partition to the logical volume then extend the xfs partition and it looks like it can be done in a live environment. If you want to increase an existing partition you have to unmount the partition first which probably means taking ClearOS down or booting into rescue mode. RedHat's guide is here but again, once it refers to resize2fs you need to use the xfs_growfs command or, if using the LVM something like the pvextend command followed by lvextend. There is another Redhat Guide here. I've linked to the XFS bit but there is a whole lot more in it including the LVM.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »