How to make free space in Cpanel server.

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello Michael,

I am planning to move two accounts from /home to /home2. One is 71 GB and second is 29 GB.
So how much time these take to move and how long time these accounts are inaccessible.

Thanks,
Imran Khan.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
It depends on your server's specific hardware. I would not expect it to take very long (likely only a few minutes). I recommend backing up the account beforehand if that is an option.

Thank you.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello,

I have added the second partition and mount it on /home2 but getting below error while moving account. Please help me....
I am able create new account on /home2.

Error:- Sorry, there is only one drive in this machine


[email protected] [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 287G 280G 7.3G 98% /
/dev/hda1 99M 20M 75M 21% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm
/dev/mapper/vg01-logvol01
197G 188M 187G 1% /home2
/usr/tmpDSK 485M 11M 449M 3% /tmp
[email protected] [~]# mount
/dev/hda3 on / type ext3 (rw,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/vg01-logvol01 on /home2 type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

Thanks,
Imran Khan.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello,

If accidentally my browser closed or my internet connectivity down when rearrange process.
So how can I recover the same process or same whm screen?

Thanks,
Imran Khan.
 

Sys Admin

Well-Known Member
Apr 29, 2007
67
0
156
cPanel Access Level
Root Administrator
Last edited:

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello,

We have followed the below article method and starting moving process and after 6 hours suddenly get below message. Please suggest me on this. Is this account is successfully moved on /home2? Or anything need to be change in the server for this account?

Message/error:-

Results of move:
New homedir already exists, all actions canceled (was this account already moved?)

Article :- http://forums.cpanel.net/f34/rearrange-accounts-function-139309.html

This cpanel account's mails and web site are working fine but I am not sure about, this account is successfully moved or not.
Also in /home not showing account directory, only it is showing in /home2.

Also let me know is there any way to move account from /home to /home2 via SSH.

Thanks,
Imran.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello Triston,

I have getting below message/error while moving cpanel account xyz from /home to /home2 using Rearrange Account option from WHM.

---------------------------------
Results of move:
New homedir already exists, all actions canceled (was this account already moved?)
-----------------------

Now I have below queries.

1). Is this account transferred successfully from /home to /home2?
2). Rearrange Account option creating symlink in /home to /home2 but it is not created.
3). There is no xyz directory in /home.
4). In WHM, xyz account disk usage space is showing 4 MB but directory path is showing /home2/xyz.

Please as suggest/guide on the same.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello,

Can I create symlink manually using below command.

ln -s /home2/xyz /home/xyz

Where /home2/xyz is new path and /home/xyz is old path.


Please suggest/guide me on point 1 and 4.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello,

I have already raised this issue in cpanel support but they are not providing support/assistance to me because my cpanel version is old.
I am planning to upgrade it but for the time being, I want to resolve the above mentioned queries/issues. Please help me out on the same.

Thanks,
Imran Khan.
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Could you please provide the ID for the ticket you had open? You really should not have any live accounts on an out of date server.

I've just read thru this entire thread, it sounds to me like you're doing some experimenting to learn things. Have you read any of the docs on these actions your testing with?
Rearrange an Account - cPanel Documentation
How to: Manage your hard drive space - cPanel Documentation

Please suggest/guide me on point 1 and 4.
Those links should provide you with the knowledge needed to answer points 1 & 4 I believe.

Please stop bumping this thread, or any others you're taking part in.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello Infopro,

Thank you for your intervention.

My ticket id is 4362839. Please suggest/guide me on my last 4 queries. That will be really appreciate.

Thanks,
Imran Khan.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello Infopro,

I am planning to upgrade it but for the time being, I want to resolve the below mentioned queries/issues.
Please help me out on the same. I have already gone through mentioned document. Actually I want answer/suggestion on below queries.

-------------------------------------------------------
Queries.
1). Is this account transferred successfully from /home to /home2?
2). Rearrange Account option creating symlink in /home to /home2 but it is not created.
3). There is no xyz directory in /home.
4). In WHM, xyz account disk usage space is showing 4 MB but directory path is showing /home2/xyz.
------------------------------------------------------------

Can I create symlink manually using below command to resolve above issues?

ln -s /home2/xyz /home/xyz

Where /home2/xyz is new path and /home/xyz is old path.

Thanks,
Imran Khan.
 
Last edited:

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Due to your cPanel software being so far out of date, no support can be provided. This was mentioned to you in your ticket, and by me above.

1) No clue. You might look and verify manually to check. You can check disk space usage using the methods mentioned in the link I posted above.
2) I can't answer this, not sure what you're asking.
3) Same here, whats the question? If there's no directory in /home what would be the interest in symlinking to home2?
4) So the account was moved, or partially moved it seems.

You can create links anywhere you wish, it's your server. Is that the best way to go? Not sure you need to do this.

You should update that server proper to make sure everything is working as it should. It may be helpful in what you're hoping to do. Many changes, bug fixes and so on have be added to cPanel since the version you're running.

I know this, your version is not supported. Your ticket, and this thread has gone on for too long and you would surely benefit from the update. If that's not possible for you to update, there's a reason for that too. I'd like to know the real reason for that choice.

Your next stop should be to hire someone to assist you in attempting whatever it is you're hoping to do. You can find listings on the cPanel AppCat for that, here:
cPanel App Catalog

I hope that helps. Good luck.