Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

VMWare Converter 6.2 does not migrate correctly multiple swap partitions

$
0
0

When the source server has multiple swap volumes on LVM, VMWare Converter  6.2 migrates them all but uses in /etc/fstab only the last volume's name, causing only one of the swap volumes to be used for swapping and the following kind of errors at boot:

 

systemd-fstab-generator[1460]: Failed to create swap unit file /run/systemd/generator/dev-vg_rhel7-lv_swap2.swap, as it already exists. Duplicate entry in /etc/fstab?

 

When the source server had following entries:

 

/dev/vg_rhel7/lv_swap swap swap defaults 0 0

/dev/vg_rhel7/lv_swap2 swap swap defaults 0 0

 

... then the Converter generated following entries to /etc/fstab in the resulting server:

 

/dev/vg_rhel7/lv_swap2 swap swap defaults 0 0

/dev/vg_rhel7/lv_swap2 swap swap defaults 0 0

 

Since the swap volumes themselves are correctly migrated the only change required is to fix the volume names in /etc/fstab for the swap entries.


Viewing all articles
Browse latest Browse all 179681

Trending Articles