extend root partition
Hi,
can you help me with root partition
here is the partition table
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 98G 97G 1G 98% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 7.4M 16G 1% /dev/shm
tmpfs 16G 2.0M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 976M 278M 648M 31% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/0
/dev/sda4 337G 39G 281G 13% /home1
/dev/sdb1 1.8T 110G 1.6T 7% /home2
/dev/sdc1 1.8T 185G 1.6T 11% /home3
tmpfs 3.2G 0 3.2G 0% /run/user/1137
tmpfs 3.2G 0 3.2G 0% /run/user/1189
tmpfs 3.2G 0 3.2G 0% /run/user/1008
tmpfs 3.2G 0 3.2G 0% /run/user/1199
tmpfs 3.2G 0 3.2G 0% /run/user/1254
hi can delete sda4 as i can move their accounts to home2 and delete sda4, is there an option to increase root sda3 size.
it was by mistake created while installing cpanel this is a dedicated server so can boot to rescue system if need
Thank you
-
As you are not set up with volume groups, this won't be possible. However, you could use sda4 for either /usr or /var which is probably a source of a lot of disk usage. You might want to check each of those to see which is bigger and then use sda4 for it. You also might just want to run though those two folders and see what is taking up so much space because that is pretty high usage for a root partition without home in it. Or if /home is in fact on the root partition, make sure you don't have any accounts in it. 0 -
thank you. /home does't have any accounts i think some files of cagefs and litepseed cache files and how can i movie that folders to sda4 0 -
Depends on the folders. What I would do is go into /var and run du -h --max=1|grep G and see what folders are the biggest and start drilling down. Then do the same thing for /usr. For exmaple, if /var/lib/mysql is 20+gb then that would be a good candidate to move to a different partition. However, some fodlers are moveable and some are not. And the ones that are may have different considerations as to how to best move them. Or, you can do as I initially suggested which would be to move the entire /var or /usr to sda4 after you clear it of accounts. 0 -
actually i f move manually do i need to change this in cpanel anywere that var is here at home1 ? 0 -
You canb't just move /var on a live system. You would need to boot in rescue mode and move them that way. Its a delicate procedure and if you make an error then your system won't boot, so if you are not comfortable doing it, you would be better off rearranging folders. 0 -
Yes thought in rescue only, thank you will hire a administrator for this to do 0 -
[QUOTE="asdcxz@1239, post: 2674995, member: 927957">Yes thought in rescue only, thank you will hire a administrator for this to do
Feel free to take a look at some of our SafeAdmin Certified system administration providers on the link below: System Administration Services | cPanel Forums Thanks!0
Please sign in to leave a comment.
Comments
7 comments