Upgrade vCenter from 5.0 to 5.5


I followed the instructions here to upgrade vcenter from 5.0 to 5.5:


Everything went well until I had an error of lack of space for the embedded DB migration so followed this article:


Which basically told me to to the following at the source vcenter:

Create a new 20GB virtual disk and attach it to the source vCenter Server Appliance.
Log in to the console of the source vCenter Server Appliance, and format the new disk as follows:

At the command line, type echo "- - -" > /sys/class/scsi_host/host0/scan and press Enter.
Type parted -s /dev/sdc mklabel msdos and press Enter.
Type parted -s /dev/sdc mkpartfs primary ext2 0 22G and press Enter.

Mount the new partition under /storage/db/export:

Type mkdir -p /storage/db/export and press Enter.
Type mount /dev/sdc1 /storage/db/export and press Enter.

And the final result was:
vcenter:~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             9.8G  4.3G  5.0G  47% /
devtmpfs              4.0G  120K  4.0G   1% /dev
tmpfs                 4.0G  4.0K  4.0G   1% /dev/shm
/dev/sda1             130M   18M  105M  15% /boot
/dev/sdb1              20G   20G     0 100% /storage/core
/dev/sdb2              20G  629M   19G   4% /storage/log
/dev/sdb3              20G   15G  4.3G  78% /storage/db
/dev/sdc1              21G   52K   20G   1% /storage/db/export

But during the preupgrade check I got the follwoing error:

vcenter_ds2:~ # tail -f /var/log/vmware/vami/upgrade.log
Key not found: /config/vpxd/extensionsPath
2015-06-17 11:59:49+00:00 Executing '/etc/va/upgrade/pre-scripts/01_collect_ad.sh'...
VMware vCenter Server Appliance Build 472350
VMware vCenter Server Appliance Build 472350
2015-06-17 11:59:50+00:00 Executing '/etc/va/upgrade/pre-scripts/02_embedded_db.sh'...
VMware vCenter Server Appliance Build 472350
VMware vCenter Server Appliance Build 472350
rm: cannot remove directory `/storage/db/export': Device or resource busy

2015-06-17 11:59:52+00:00 *** ERROR: Failed to execute command '/etc/va/upgrade/pre-scripts/02_embedded_db.sh' 1 ***


I saw lots of ppl complaining about this as well but no concrete solution... Im tending to deploy the new vcenter and migrate the hosts across the old to the new one...

Any suggestion to the error?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
To be honest, with you, I would scrap the upgrade, re-install a new appliance.

All 5.0 to 5.5 upgrades are hit and miss, at roughly 50% success rate!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joaotellesAuthor Commented:
Did the "manual" migration and it worked!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.