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

leadtheway
leadtheway used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
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 Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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 ?

Author

Commented:
yeah I'd really like to backup first before doing anything..lol, but can't..   heres the Veeam error
Capture.PNG

Author

Commented:
i don't have active snapshots on that vm either

Commented:
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.
Commented:
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.

Author

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

Author

Commented:
this is a fresh veeam install
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
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

Commented:
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.

Commented:
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.

Author

Commented:
changing the snapshot location won't have any effect on veeam though right?

Commented:
No, Veeam uses the snapshots to backup the data then removes them, it doesn't care where they are stored.

Author

Commented:
wait..yeah veeam using vmware to create snap before backup
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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!

Author

Commented:
still have to power off though. so may as well migrate at that point lol

Commented:
Right
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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!)

Author

Commented:
just for clarification...this was an emergency deployment..I had no other recourse.  Forgot about the swap.

Commented:
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 Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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...

Commented:
I've been in the same boat and it's always fun, no worries though, there is always a way out of a mess.

Author

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

Commented:
Sounds like a good plan.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Ah, EDBs... PSTs - Rubbish!

if you want the stress and headache of recovery in that way.....

Author

Commented:
edbs work fine...copy, mount rehome, done
RAFAIT CONSULTANT
Distinguished Expert 2018

Commented:
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 Consultant
Fellow 2018
Expert of the Year 2017

Commented:
@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 CONSULTANT
Distinguished Expert 2018

Commented:
I know Andrew, but indicate what he wants to do
leadtheway

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial