Hello dears , Please I need your support, I have CentOS server and I need to reduce root FS without lost any data to reduce the HD size on the VMware setting so could you please provide me with the steps I have tried many ways but no luck after finishing I found the vm is corrupted . Thanks
Do you want to make the root partition smaller? Of free up space in the root partition? For the first, I have used gparted https://gparted.org/ Get a boot disk that has gparted, for example https://gparted.org/livecd.php
Hello Taleman Yes I want to make root partition smaller . I have tried gparted but I faced edit issue when using it I founf that i can resize boot fs just the root / i i cant like idont have permission to edit it . Thanks
I have resized partitions with gparted. Maybe you do something wrong? Not knowing how you tried to do the resize I can not help.
You shouldn't resizing a file system, which is currently being worked on. Nasty things can happen. Boot from recovery and use gparted there. If it's a vserver: most companies offer to mount a gparted image: https://gparted.org/livecd.php Only defragmented pieces of your drive can be "shrinked", otherwise data would be lost. Consider defragmenting before. If it's vmware, this might help: https://www.vmware.com/support/ws5/doc/ws_disk_shrink.html
Is that from booting a live CD and then starting gparted from that CD? https://www.howtoforge.com/partitioning_with_gparted