Low disk space on datastore/can't backup with Veeam

have an old 5.5 esxi host (same vcenter) Out of need due to resources on another host I had to build an exchange server on it.  It didnt' have much in the way of diskspace and because of the swap file taking up 50gb I only have 400mb left on the local storage, my mailbox databases reside on an iscsi volume. OS on local.  I can't even backup because of the low space on local. I want to move that OS drive to the Iscsi Volume. Is it as simple as turning VM off, migrate and powering on?
LVL 1
leadthewayAsked:
Who is Participating?
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.

Brian MCommented:
Yes, you can migrate to another datastore once the VM is off (it is that simple), unless you have storage Vmotion licensing, then you can do it when it is running.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Is it as simple as turning VM off, migrate and powering on?

Yes, if you have NO Storage vMotion.

Is the backup failing because of no storage space on the datastore, because of the snapshot ?
leadthewayAuthor Commented:
yeah I'd really like to backup first before doing anything..lol, but can't..   heres the Veeam error
Capture.PNG
leadthewayAuthor Commented:
i don't have active snapshots on that vm either
Brian MCommented:
Yeah, so there is not enough room for the snapshot that Veeam creates, you're best option is to turn it off and migrate it or find some more room on the volume (by deleting or moving something esle) to do a successful snapshot.
Brian MCommented:
Are there other snapshots from veeam leftover on the machine, you might want to check if there are additional snapshots that are not getting removed when the backup job is complete. This might free up some space as well.
leadthewayAuthor Commented:
yeah the volume is only 130 GB.  I gave the exchange server 48gb ram so the swap file is 50.  Rest is the OS drive
leadthewayAuthor Commented:
this is a fresh veeam install
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Okay as a rule of thumb you should leave 20% FREE on ALL Datastores for this purpose of snapshots, used for backups!!!! and swap files!

You could just change the snapshot location!

https://kb.vmware.com/s/article/1002929

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
Brian MCommented:
Yeah, that's why you generally you don't want to store and guest files on the local datastore. You're best option is probably just turning off and migrating.
Brian MCommented:
That would work to, changing the snapshot location to the new datastore you are migrating to, then migrate, then all would be good going forward, good idea.
leadthewayAuthor Commented:
changing the snapshot location won't have any effect on veeam though right?
Brian MCommented:
No, Veeam uses the snapshots to backup the data then removes them, it doesn't care where they are stored.
leadthewayAuthor Commented:
wait..yeah veeam using vmware to create snap before backup
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
changing the snapshot location won't have any effect on veeam though right

what do you mean by that ?

Backup will run, snapshot will be on different datastore, and you'll have a backup!

then freeup storage at least 20% on this datastore..

To use up all storage on a single datastore is just poor Admin!
leadthewayAuthor Commented:
still have to power off though. so may as well migrate at that point lol
Brian MCommented:
Right
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Your choice, yes still need to power off....

but a Migration could fail, and corrupt your lovely VM!

and no backup, who's fault is it then ?

VMware vSphere
Veeam
Exchange
Experts Exchange
or the Admin ?

before we would do anything would ensure we had a 100% Backup, at least three!!!! (belts and braces!)
leadthewayAuthor Commented:
just for clarification...this was an emergency deployment..I had no other recourse.  Forgot about the swap.
Brian MCommented:
It's always safest to take the snapshot, especially for an important box, so moving the snapshot location and performing that work would be the best bet.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Users love their email, high value when it's gone with no backup. Lots of users complaining.....

Grab a backup...

OR......as a last resort, you could use CLONE, and get a CLONE (BACKUP) to that new location, and then move...
Brian MCommented:
I've been in the same boat and it's always fun, no worries though, there is always a way out of a mess.
leadthewayAuthor Commented:
I have backups of the EDB in 3 different locations plus local PST.. at worst I'd just be rebuilding a server, but rather not..lol.. I'm going to rehome the snaps, backup and then move
Brian MCommented:
Sounds like a good plan.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Ah, EDBs... PSTs - Rubbish!

if you want the stress and headache of recovery in that way.....
leadthewayAuthor Commented:
edbs work fine...copy, mount rehome, done
RAFAIT CONSULTANTCommented:
Hello

Exactly, you can make a storage vmotion to another datastore, with the VM turned off, to free space in datastore that you mention.

Attached a reference link:

https://www.youtube.com/watch?v=oMQFH8dQGfA

then you turn on the virtual machine without problems.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
@RAFA there is no need to turn OFF a VM with Storage vMotion!

That's the function of vMotion, Live Migration of a VM!
RAFAIT CONSULTANTCommented:
I know Andrew, but indicate what he wants to do
leadtheway
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
Storage

From novice to tech pro — start learning today.