Solved

Vmware virtual disk and data store disk size

Posted on 2015-01-15
7
428 Views
Last Modified: 2015-02-07
Hi,

I have Vmware ver 4.1 with data store partionned into 2 with 2 terra bytes in each part.
The issues i am running out of space in 1st datastore so i want to move some big files to 2nd data store.

1st data store contains the virtual disk of file server datas ( excel, power point, word, pdf.. ). No file server logical partion. File server logical partition is located in different data store.

my question is :
=> If i move manually vmdk file ( which is actually extended disk (F:) in file server ) from datastore1 to datastore2, will me there any impacts ? i m not using vmotion.
=> Or, if i delete the extended disk of 250GB ( F:) of windows filerserver VM . Can i recover 250 gb in datastore1 ? i am not sure whether this can be done.
so VMDK file corresponds to virtual extended disk will get automatically deleted as well ? or we should deleted it manually by browsing to datastore location ? this will any have any impact such as data lost, vm's fail over ?

My point is to recover the disk space on datastore.

( PS. extended disk is used as share with folders and files set with permissions. before deleting virutal disk, i will move the datas to another virtual disk )
0
Comment
Question by:kriiis
  • 3
  • 3
7 Comments
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 100 total points
ID: 40552827
=> If i move manually vmdk file ( which is actually extended disk (F:) in file server ) from datastore1 to datastore2, will me there any impacts ? i m not using vmotion. That is one way but you will have to remove and re-add the vmdk to the virtual machine
=> Or, if i delete the extended disk of 250GB ( F:) of windows filerserver VM . Can i recover 250 gb in datastore1 ? i am not sure whether this can be done. You have to then compact the disk using vmware
0
 
LVL 118
ID: 40552965
=> If i move manually vmdk file ( which is actually extended disk (F:) in file server ) from datastore1 to datastore2, will me there any impacts ? i m not using vmotion.

The impact will be, that during the move of the VMDK, the VM will be offline, and not available. But once completed there will be no impact to the OS. You will need to Remove the Disk from the VM (but do not delete from disk!).

you can use my EE Article as a guide, to copy/moving the vmdk

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

Or, if i delete the extended disk of 250GB ( F:) of windows filerserver VM . Can i recover 250 gb in datastore1 ? i am not sure whether this can be done.
so VMDK file corresponds to virtual extended disk will get automatically deleted as well ? or we should deleted it manually by browsing to datastore location ? this will any have any impact such as data lost, vm's fail over ?

If a VMDK is removed from the datastore, you will get back 250GB of storage space. If the VMDK is removed and deleted from the datastore, the disk will disappear from the OS.

Provided that no data is being used on the disk you delete, there will be no impact.

Because completing any changes, please make sure you havea full backup, because accidents do happen.
0
 

Author Comment

by:kriiis
ID: 40553755
Hi guys thanks for your replies.

@Andrew Hancock : to clarify : probally i havent mentioned clearly in 2nd solution : If i delete 250 GB of virtual disk ( F: ) under windows, instead of deleting VMDK. Can i recover this 250 GB on datastore1 ? does VM has intelligence to recover this space ?
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 400 total points
ID: 40553806
@Andrew Hancock : to clarify : probally i havent mentioned clearly in 2nd solution : If i delete 250 GB of virtual disk ( F: ) under windows, instead of deleting VMDK. Can i recover this 250 GB on datastore1 ?

To recover the space on the datastore e.g. 250GB has to be found from somewhere.

Yes, but not quickly, you can do this two in two methods, first you will need to remove the 250GB from within the OS, e.g. DELETE IT!

Then you will need to SHRINK the VMDK!

see my EE Article

1.  HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes

or the other method would be to create a V2V

my other EE Article

HOW TO: Shrink or Reduce a VMware Virtual Machine Disk (VMDK) using VMware vCenter Converter Standalone v5.5.2

HOW TO: FAQ VMware P2V Troubleshooting
0
 

Author Comment

by:kriiis
ID: 40595482
Hi,

I havenet used shrink option or vmdk file move. I moved the datas on file server from disk1 to disk2 and deleted 250 gb from VM. Right click on VM client, delete the disk.
It recovered the space on datastore without using shrink.
0
 
LVL 118
ID: 40595486
Yes, that's one long winded "manual" method of doing it!
0
 

Author Closing Comment

by:kriiis
ID: 40595488
the issue has been resolved in easiest way. However the abouve comments are useful to gather knowledge.
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iscsi device with 0 LUN ID 2 54
File copy time stamp question 6 52
Renaming VMware ESXi Hosts 5 63
Problem to search 5 20
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now