Solved

VMWare Fusion 6 On Mac - Need To Increase Disk Size

Posted on 2016-09-22
17
70 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 92

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 92

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 92

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 92

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 28

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

808 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