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
Solved

VMWare Fusion 6 On Mac - Need To Increase Disk Size

Posted on 2016-09-22
17
75 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
  • 9
  • 4
  • 3
  • +1
17 Comments
 
LVL 93

Expert Comment

by:John Hurst
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 93

Expert Comment

by:John Hurst
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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 93

Expert Comment

by:John Hurst
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 93

Expert Comment

by:John Hurst
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 500 total points
ID: 41811828
0
 
LVL 29

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
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…

856 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