SOLVED Questions about Server Migration

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
VPS Servers it reached 98% Disk and now client want to upgrade as we are using KVM We are unable to upgrade the DISK

so we are installing new server with more disk but will the transfer tool works for the account migration to another server or as the source server disk is 98% full it will give errors
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
564
259
138
IN
cPanel Access Level
Root Administrator

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,285
2,434
363
cPanel Access Level
Root Administrator
With that little free space I would not expect any migration tools to work well. Even using the non-automated tools, such as manually using pkgacct without the homedir, and then syncing files manually, would not have enough space to work with those conditions.

It might be best to add another disk to the existing machine and then rearrange a few accounts so there is free space on the main disk. That would allow you to use the Transfer Tool normally to get the accounts moved.
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
With that little free space I would not expect any migration tools to work well. Even using the non-automated tools, such as manually using pkgacct without the homedir, and then syncing files manually, would not have enough space to work with those conditions.

It might be best to add another disk to the existing machine and then rearrange a few accounts so there is free space on the main disk. That would allow you to use the Transfer Tool normally to get the accounts moved.
It has only 1 account with that usage is there any other alternatives
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,285
2,434
363
cPanel Access Level
Root Administrator
If you're able to free up some disk space from the Source machine, that would be the most ideal way to make this process automated. If not, the only other option would be to do the following:

-see if you can free up any space on the machine
-manually use pkgacct with the "skiphomedir" flag to create the backup (more details on that here: The pkgacct Script | cPanel & WHM Documentation)
-copy over the packaged file to the Destination server and restore the account
-manually rsync the data between the Destination and Source machine

That's the best way we have to migrate accounts where disk space is tight and the package can't be created fully on the Source machine.
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
I had tried with transfer tool and i didn't get any error the accounts got Migrated !
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Awesome! You must have freed up just enough space to allow the tools to work. I'm glad that went smoothly!
No i didn't free up any space..Still it has 98% disk usage and the Transfer works fine
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Interesting - even though there is 98% usage, there could still be a lot of space if that is a large disk. The actual free space in Gigs or Megs may be more important than the percentage value.
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.4G 4.0K 1.4G 1% /dev/shm
tmpfs 1.4G 146M 1.3G 11% /run
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
/dev/vda1 97G 92G 1.7G 99% /
/dev/loop0 3.9G 8.7M 3.7G 1% /tmp
tmpfs 280M 0 280M 0% /run/user/0

See the Disk usage,It has 1.7G Available
 
  • Like
Reactions: cPRex

cPAdminsMichael

Well-Known Member
Dec 19, 2016
187
69
153
Denmark
cPanel Access Level
Root Administrator
I just need to comment on your
VPS Servers it reached 98% Disk and now client want to upgrade as we are using KVM We are unable to upgrade the DISK
:)

That's a false statement! You are indeed able to extend any disks assigned to a KVM/QEMU server instance. Depending on your setup, you may need to rescan disks or reboot the VM to see the extended disk though.
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Do
I just need to comment on your :)

That's a false statement! You are indeed able to extend any disks assigned to a KVM/QEMU server instance. Depending on your setup, you may need to rescan disks or reboot the VM to see the extended disk though.
Do you have any article about it ? We are using SolusVM So it does not have option to extend the disk
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
187
69
153
Denmark
cPanel Access Level
Root Administrator
If you just google "solusvm resize disk", then the first hit shows you how to resize in SolusVM :)
It might depend on your version - but else, you can just log in with SSH and resize by command line.