?
Solved

VMWare Fusion 6 On Mac - Need To Increase Disk Size

Posted on 2016-09-22
17
Medium Priority
?
108 Views
Last Modified: 2016-09-23
I have ran out of space on my virtual disk.  I increased it to 50 GB but when I do df -h / in the Centos 6 Guest system it shows no free space.

I tried following this guide but still it doesn't show any increase in space.  

Please  help.
0
Comment
Question by:sharingsunshine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 4
  • 3
  • +1
17 Comments
 
LVL 97

Expert Comment

by:Experienced Member
ID: 41811660
If a modern guest machine, you can use VMware Converter (free) to read in the VM, and output to a bigger disk. I have done this with Windows guest machines.
0
 

Author Comment

by:sharingsunshine
ID: 41811667
what is the url?  All I see on vmware.com is a converter for vCenter.
0
 
LVL 97

Expert Comment

by:Experienced Member
ID: 41811674
This is the site you need.

https://my.vmware.com/en/web/vmware/evalcenter?p=converter

I have V 6.11 here and it came from the above. I need to check if there is a MAC version, and if not, you would have to enlarge the machine on a Windows Host.
0
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

 

Author Comment

by:sharingsunshine
ID: 41811772
It's only for Windows.  I only have 2 Macbooks and an iPad and no access to a Windows system.
0
 
LVL 97

Expert Comment

by:Experienced Member
ID: 41811780
I thought that. Might one of your friends or colleagues has a Windows system where you could do this?
0
 
LVL 53

Expert Comment

by:strung
ID: 41811791
Which guide were you referring to in your first post? Was it this one:  https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1020778  ?
0
 

Author Comment

by:sharingsunshine
ID: 41811794
no, I have already done that.  I am now on to https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006371

Seems I am down to
root@localhost ~]# pvcreate /dev/sda3
  Can't initialize physical volume "/dev/sda3" of volume group "vg_centos6" without -ff

Open in new window


When I start to use the -ff I get this message
[root@localhost ~]# pvcreate -ff /dev/sda3
Really INITIALIZE physical volume "/dev/sda3" of volume group "vg_centos6" [y/n]

Open in new window


I am not sure if I should do that or not.
0
 
LVL 53

Expert Comment

by:strung
ID: 41811800
I think that is telling you it will erase your volume, so you need a backup you can re-install from.

If that is the case, I wonder if it would not be simpler to make a new larger VM and copy the old one over to the new one.
0
 
LVL 97

Expert Comment

by:Experienced Member
ID: 41811805
I am not sure how you just bring a VM image into a newer, bigger VM. It is not one of the Make New Machine options.

You can add a disk to an existing VM, but then you do not have a single image.

Another (less palatable) option would be to just build a new machine, but that means installing software and setting up.
0
 

Author Comment

by:sharingsunshine
ID: 41811813
If there is a way to do this
If that is the case, I wonder if it would not be simpler to make a new larger VM and copy the old one over to the new one. 

Open in new window


that would certainly work
0
 

Author Comment

by:sharingsunshine
ID: 41811816
I think that is telling you it will erase your volume, so you need a backup you can re-install from.

Open in new window


I have not been able to come up with a way to backup other than snapshots.  Is there a preferred way?
0
 
LVL 53

Accepted Solution

by:
strung earned 2000 total points
ID: 41811828
0
 
LVL 30

Expert Comment

by:serialband
ID: 41811942
You need to be asking for linux help, not Windows or MacOS.

What does your fdisk -l show?
0
 

Author Comment

by:sharingsunshine
ID: 41812275
not sure if correct sda or not.  Following http://www.jordansphere.co.uk/extending-a-vmware-vmdk-and-lvm-in-centos-6/ item #4.

root@localhost ~]# fdisk -l

Disk /dev/sda: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00011f70

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64        2611    20458496   8e  Linux LVM
/dev/sda3            2611        5221    20966162+  8e  Linux LVM

Disk /dev/mapper/vg_centos6-lv_root: 18.9 GB, 18865979392 bytes
255 heads, 63 sectors/track, 2293 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_centos6-lv_swap: 23.5 GB, 23546822656 bytes
255 heads, 63 sectors/track, 2862 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

[root@localhost ~]# vgdisplay | grep Free
  Free  PE / Size       0 / 0   
[root@localhost ~]# 

Open in new window


As you can see partition 3 was created I have done all of #4 and fdisk -l shows sda3 exists.  However, the volume group shows 0 free.
0
 

Author Comment

by:sharingsunshine
ID: 41812276
John, regarding your comment about this being a Linux question.  I put in Linux distributions as a topic.  The reason I led with Mac is because many times options for Windows hosts aren't the same as for a Mac host.  Case in point, your VMConverter suggestion.
0
 

Author Comment

by:sharingsunshine
ID: 41812282
oops! I meant to direct my comments to serialband instead of John.
0
 

Author Closing Comment

by:sharingsunshine
ID: 41813080
the link to Jordansphere made it much more understandable.  Consequently, I was able to resize the disk.  Thanks for the link and help.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

752 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