Explore information related to migration errors

Unable to allow access for disk path in libvirtd - Fix it Now

This article covers tips to fix the error Unable to allow access for disk path in libvirtd. By default, migration only transfers the in-memory state of a running guest (such as memory or CPU state). Although disk images are not transferred during migration, they need to remain accessible at the same path by both hosts.


To fix Unable to allow access for disk path in libvirtd error:

Set up and mount shared storage at the same location on both hosts. The simplest way to do this is to use NFS:

1. Set up an NFS server on a host serving as shared storage. The NFS server can be one of the hosts involved in the migration, as long as all hosts involved are accessing the shared storage through NFS.

# mkdir -p /exports/images
# cat >>/etc/exports <<EOF
/exports/images    192.168.122.0/24(rw,no_root_squash)
EOF


2. Mount the exported directory at a common location on all hosts running libvirt. For example, if the IP address of the NFS server is 192.168.122.1, mount the directory with the following commands:

# cat >>/etc/fstab <<EOF
192.168.122.1:/exports/images  /var/lib/libvirt/images  nfs  auto  0 0
EOF
# mount /var/lib/libvirt/images

Read More


Manually Migrate Accounts to cPanel

This article covers how to manually #migrate accounts to cPanel/WHM, as well as the steps to fix common errors faced while migrating.


After you migrate your files to your new cPanel & WHM server, perform the following steps:

1. Confirm that all of the content and credentials migrated properly and that they function in the new environment.

2. Update your domain's nameservers to match the new nameservers on your cPanel & WHM server.

3. Create cPanel and reseller accounts. To do this, use WHM's Create a New Account interface (WHM >> Home >> Account Functions >> Create a New Account).


After you create the new #cPanel & #WHM account, migrate the old server’s files and directories to the appropriate locations on your new server.


Generally, you will migrate the following files and directories during this process:

1. The public_html directory contains all of your files, directories, subdirectories, and content. This directory may appear as the /home/user/www directory or the /home/user/vhost directory on some systems.

2. The /home/user/mail directory contains all of the email files for all of the cPanel account’s email accounts.

3. The /home/user/tmp directory contains the account’s temporary files and bandwidth and statistics data. For example, you can migrate your original server's AWStats data to the /home/user/tmp/awstats directory.

4. The /home/user/etc directory contains the email account password, shadow, and quota files for email accounts. For example, you can migrate your original server’s email account quota data to the /home/user/etc/quota directory.

5. The /home/user/ssl directory contains the SSL certificates for the domains on the account.

6. The mysql directory stores the MySQL databases for every account on the server.

7. The /var/lib/pgsql directory stores the PostgreSQL databases for every account on the server.

Read More